-
Notifications
You must be signed in to change notification settings - Fork 14
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
umpf: add new flag to insert 'Upstream-Status: Pending' lines to all patches #36
umpf: add new flag to insert 'Upstream-Status: Pending' lines to all patches #36
Conversation
4b1aeb5
to
35cc7a3
Compare
Looks quite nice already! For those wondering how to use it, call:
Maybe the flag usage still needs a bit more description? One thing that is still missing an "Upstream-Status" is the release version patch itself. This could safely be set to
but |
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.
Looks okay.
I'm not sure if we really want these flags as part of the umpf tag, since this effectively means that we will end up with two kinds of tags, one of which will not be (directly) usable with Yocto. Unless we declare the usage of an upstreamstatus-flag as a general principle (in that case, the flag might become an opt-out parameter): Wouldn't it make more sense to insert the upstream-status when running "format-patch --bb"? |
The Upstream-Status is inserted during And in practice, I've never seen a case where a tag is used for both Yocto and PTXdist so we just create patches Upstream-Status for Yocto and without for everything else. Maybe umpf should refuse to |
Agreed.
Using |
We have to keep in mind that an upstream status is only required for patches that touch core-recipes. At the time being this is presumably the minority of patchseries as umpf tags are mostly created for kernel or barebox recipes in a customer's meta-layer. Hence it should not error out but at most warn about the possibly missing upstream status. |
A developer noted that they ran into issues with upstream status check (QA check While it might still make sense to have this consistently in non-core layers (and the option to enable the QA check), I'd tend to agree that we should not enforce this at the moment. |
…patches Starting with the mickledore release, the upstream status is required for all patches in Yocto. Add a new flag "upstreamstatus" to handle this. If set to "insert", "Upstream-Status: Pending" is added to the commit message of all patches during "umpf tag". Signed-off-by: Michael Olbrich <[email protected]>
35cc7a3
to
e13c6c3
Compare
|
Starting with the mickledore release, the upstream status is required for all patches in Yocto.
Add a new flag "upstreamstatus" to handle this. If set to "insert", "Upstream-Status: Pending" is added to the commit message of all patches during "umpf tag".