-
Notifications
You must be signed in to change notification settings - Fork 92
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
build-commands: add: The build process fails when an individual entry… #601
build-commands: add: The build process fails when an individual entry… #601
Conversation
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.
Thanks, it would be good to document this behaviour.
The first line of the commit message is rather long (and Github is giving you a hint that this might be a problem by ellipsizing it). Maybe something like this?
flatpak-manifest(5): If one command fails, the whole build fails
Documenting this makes it more obvious that it's valid to write
- foo
- bar
- baz
and unnecessary to combine those commands into
`foo && bar && baz` to get sensible error behaviour.
This is good reasoning that ought to be captured in the commit message for the benefit of future maintainers. (For example see https://cbea.ms/git-commit/) |
Please squash your two commits into one, ideally with an explanatory commit message like the one I suggested in #601 (review) |
Yes, thanks. I was in a hurry and was just copy-pasting something relevant from the change itself. BTW, this commit originated from a similar hesitation that I had and a YAML pitfall that made me question the behaviour of |
Yeah, it's clearly a bug that flatpak-builder doesn't run
|
Documenting this makes it more obvious that it's valid to write - foo - bar - baz and unnecessary to combine those commands into `foo && bar && baz` to get sensible error behaviour. Co-authored-by: Simon McVittie <[email protected]>
68f99ac
to
45b225b
Compare
Your commit message looked fine, so I just reused it. |
@smcv Anything else to be done from my part? |
… in the array fails.
Just making it clear so that one won't be hesitant to break down a long '&&'-ed one-liner.