-
Notifications
You must be signed in to change notification settings - Fork 89
koji: Add supported git branches (eg: [8.3, master] for v8.3-* tags) #774
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
Conversation
05da6b2 to
e8eb4fb
Compare
e8eb4fb to
b07bb55
Compare
glehmann
left a comment
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.
Just a small remark, otherwise LGTM :)
b07bb55 to
4ba0323
Compare
ydirson
left a comment
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.
In the commit message:
- you can drop the "To my understanding," prefix of that paragraph, your understanding is actually correct :)
- maybe the paragraph about 9.1 and 10 could be dropped, as well as the last "what is unclear to me"?
Which is semantically different, as explained in review but from user perspective both will fail (but logs will be more accurate). Also relocate the smaller scope closer to test, for readability. Relate-to: #774 (comment) Co-authored-by: Yann Dirson <yann.dirson@vates.tech> Signed-off-by: Philippe Coval <philippe.coval@vates.tech>
2334a23 to
ecd5758
Compare
Which is semantically different, as explained in review but from user perspective both will fail (but logs will be more accurate). Also relocate the smaller scope closer to test, for readability. Relate-to: #774 (comment) Co-authored-by: Yann Dirson <yann.dirson@vates.tech> Signed-off-by: Philippe Coval <philippe.coval@vates.tech>
ecd5758 to
95d6f3f
Compare
ydirson
left a comment
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.
I'm not sure it is useful to keep separate commits here
sure I can squash them all , btw i have other commits that pylint the source, can they be part of this PR ? or later one |
Changing what pylint does or dealing with pylint reports is a different topic, let's keep them separate so we don't hold this PR with remarks targetting the other topic |
make `koji_build` accept builds for v8.3 and from both `master` and `8.3` Preparation for switch `master` to be "next" aka v9 The motivation of change is part of a bigger plan, to prepare a smooth transition to enable bleeding edge development on master branch. Of course maintenance will remain in v8.x branches. Once the master branch needs to be stabilized then a new 9.0 branch can be open (this mean declared in PROTECTED_TARGETS, and also move the `master` branch from `8.3` target to `9.0` for a future cycle) Note that `8.3` git branches are not created yet in repos, it would make sense to open them soon or later, ideally when master branches need to receive feature from next release. Coincidentaly thoses 8.3 branches will be used for maintenance of the LTS release and then developers/RE might consider back-porting fixes from master to 8.3. Extra remarks, from squashed changes About "Handle undeclared branches differently than empty set..." This was not obvious to me that non protected targets are granted. If target is not declared, and then branches name not checked, just presence of commits, more logs provided to users. About "Pylint source, fix redefined-builtin W0622" Fix redefined-builtin mistake on hash (BTW I noticed similar mistakes elsewhere to be fixed in later PR that pylint the script) About "Log exception on missing remote branches", I removed the tuple containing the results because it is useless and not working when there is no result. now it raises an exception (which will be ignored and attempt to look for commit in other branches, a log may be printed to help trouble shoot.) Relate-to: #774 (comment) Co-authored-by: Yann Dirson <yann.dirson@vates.tech> Signed-off-by: Philippe Coval <philippe.coval@vates.tech>
95d6f3f to
99d5ee5
Compare
make `koji_build` accept builds for v8.3 and from both `master` and `8.3` Preparation for switch `master` to be "next" aka v9 The motivation of change is part of a bigger plan, to prepare a smooth transition to enable bleeding edge development on master branch. Of course maintenance will remain in v8.x branches. Once the master branch needs to be stabilized then a new 9.0 branch can be open (this mean declared in PROTECTED_TARGETS, and also move the `master` branch from `8.3` target to `9.0` for a future cycle) Note that `8.3` git branches are not created yet in repos, it would make sense to open them soon or later, ideally when master branches need to receive feature from next release. Coincidentaly thoses 8.3 branches will be used for maintenance of the LTS release and then developers/RE might consider back-porting fixes from master to 8.3. Extra remarks, from squashed changes About "Handle undeclared branches differently than empty set..." This was not obvious to me that non protected targets are granted. If target is not declared, and then branches name not checked, just presence of commits, more logs provided to users. About "Pylint source, fix redefined-builtin W0622" Fix redefined-builtin mistake on hash (BTW I noticed similar mistakes elsewhere to be fixed in later PR that pylint the script) About "Log exception on missing remote branches", I removed the expression "()" containing the results because it is useless and not working when there is no result. now it raises an exception (which will be ignored and attempt to look for commit in other branches, a log may be printed to help trouble shoot.) Relate-to: #774 (comment) Co-authored-by: Yann Dirson <yann.dirson@vates.tech> Signed-off-by: Philippe Coval <philippe.coval@vates.tech>
99d5ee5 to
764783a
Compare
Prepares the switch to a future "8.3" branch in each rpms repo by allowing it in addition to "master" for a transitional period. Fix redefined-builtin mistake on hash (BTW I noticed similar mistakes elsewhere to be fixed in later PR that pylint the script) More checks and logs provided to help user Relate-to: #774 (comment) Co-authored-by: Yann Dirson <yann.dirson@vates.tech> Signed-off-by: Philippe Coval <philippe.coval@vates.tech>
764783a to
7fdb7d0
Compare
Prepares the switch to a future "8.3" branch in each rpms repo by allowing it in addition to "master" for a transitional period. Fix redefined-builtin mistake on hash (BTW I noticed similar mistakes elsewhere to be fixed in later PR that pylint the script) More checks and logs provided to help user Relate-to: #774 (comment) Co-authored-by: Yann Dirson <yann.dirson@vates.tech> Signed-off-by: Philippe Coval <philippe.coval@vates.tech>
7fdb7d0 to
b7376f8
Compare
Prepares the switch to a future "8.3" branch in each rpms repo by allowing it in addition to "master" for a transitional period. Fix redefined-builtin mistake on hash (BTW I noticed similar mistakes elsewhere to be fixed in later PR that pylint the script) More checks and logs provided to help user Relate-to: #774 (comment) Co-authored-by: Yann Dirson <yann.dirson@vates.tech> Signed-off-by: Philippe Coval <philippe.coval@vates.tech>
b7376f8 to
558290d
Compare
|
Thank you for your time involved in reviews. Should I merge it now to push more linter changes I have for next review ? |
|
Yes, you can merge. |
make
koji_buildaccept builds for v8.3 and from bothmasterand8.3Preparation for switch
masterto be "next" aka v9To my understanding, the motivation of change is part of a bigger plan, to prepare a smooth transition to enable bleeding edge development on master branch. Of course maintenance will remain in v8.x branches.
Once the master branch needs to be stabilized then a new 9.0 branch can be open (this mean declared in PROTECTED_TARGETS, and also move the
masterbranch from8.3target to9.0for a future cycle)Meanwhile the development on master is still open and might become the base for the next cycle (TBD 9.1 or 10).
Note that
8.3git branches are not created yet in repos, it would make sense to open them soon or later, ideally when master branches need to receive feature from next release. Coincidentaly thoses 8.3 branches will be used for maintenance of the LTS release and then developers/RE might consider back-porting fixes from master to 8.3.What is unclear to me in the plan is when the new koji target/tag v9 will be defined, or if an
unstabletarget will be added before, probably this will have to be coordinated with CI.