Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: SHA256 on Step 13 of the authoring guide #57

Closed
dturner opened this issue Oct 24, 2017 · 2 comments
Closed

Error: SHA256 on Step 13 of the authoring guide #57

dturner opened this issue Oct 24, 2017 · 2 comments

Comments

@dturner
Copy link
Contributor

dturner commented Oct 24, 2017

I'm following the authoring guide and at step 13 I run the following command:

./cdep fetch upload/cdep-manifest.yml

which generates the following error:

/Users/donturner/Code/workspace-android/oboe/upload/cdep-manifest.yml: error: SHA256 for file:/Users/donturner/Code/workspace-android/oboe/upload/oboe-headers.zip did not match constant from manifest [CDEP1c882e4] /Users/donturner/Code/workspace-android/oboe/upload/cdep-manifest.yml: error: SHA256 for file:/Users/donturner/Code/workspace-android/oboe/upload/oboe-armeabi.zip did not match constant from manifest [CDEP1c882e4] Fetch complete 2 errors, exiting

If I delete the folders shown by: cdep show folders then the original command completes successfully.

How can I force CDep to recalculate the sha256 values for the various zip files in the upload folder?

@dturner
Copy link
Contributor Author

dturner commented Oct 24, 2017

Thanks to jomof@ for confirming that the solution/workaround is to remove the CDep downloads folder which can be found by running cdep show folders

@dturner dturner closed this as completed Oct 24, 2017
@dturner
Copy link
Contributor Author

dturner commented Oct 24, 2017

Longer term it'd be good if cdep fetch had a flag which could force the redownload of files and recalculate the saved SHA256 values. Maybe -f or --redownload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant