-
Notifications
You must be signed in to change notification settings - Fork 203
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
move verifying of checksums from source
to fetch
step, to include it with --fetch
#4624
Conversation
After `--fetch` finishes it is reasonable to expect that the build won't fail due to missing or wrong sources. However putting the checksum-step into the source-step skips over the verification and one would need to use `--stop=source` which does a lot more than necessary, e.g. creating build dirs and environment variables. Move the checksums step into the fetch step and add a test for that.
--fetch
source
to fetch
step, to include it with --fetch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@Flamefire Not sure if we should, |
Well now we have this (
"source" is a bit ambiguous/too general: It could be related to anything: fetching, verifying, extracting, ... and other steps are named after their called methods too. The change is for a separate PR but IMO we can discuss/decide this here already where it becomes an "issue" due to the new logic. |
We use source because that step was about verifying checksums of sources (+ patches) + unpacking the sources. If we want come up with a way of deprecating the use of |
After
--fetch
finishes it is reasonable to expect that the build won't fail due to missing or wrong sources.However putting the checksum-step into the source-step skips over the verification and one would need to use
--stop=source
which does a lot more than necessary, e.g. creating build dirs and environment variables.Move the checksum step into the fetch step and add a test for that.
TODO: We should rename
SOURCE_STEP
toEXTRACT_STEP
, do that here too?