Skip to content

Conversation

@rzr
Copy link
Contributor

@rzr rzr commented Nov 21, 2025

make koji_build accept builds for v8.3 and from both master and 8.3

Preparation for switch master to be "next" aka v9

To 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 master branch from 8.3 target to 9.0 for 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.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.

What is unclear to me in the plan is when the new koji target/tag v9 will be defined, or if an unstable target will be added before, probably this will have to be coordinated with CI.

Copy link
Member

@glehmann glehmann left a 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 :)

@glehmann glehmann requested a review from a team November 25, 2025 09:16
@rzr rzr force-pushed the phcoval/review/master branch from b07bb55 to 4ba0323 Compare November 25, 2025 10:27
@rzr rzr requested a review from gduperrey November 25, 2025 15:07
Copy link
Contributor

@ydirson ydirson left a 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"?

rzr added a commit that referenced this pull request Nov 26, 2025
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>
@rzr rzr force-pushed the phcoval/review/master branch from 2334a23 to ecd5758 Compare November 26, 2025 17:33
rzr added a commit that referenced this pull request Nov 27, 2025
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>
@rzr rzr force-pushed the phcoval/review/master branch from ecd5758 to 95d6f3f Compare November 27, 2025 09:16
Copy link
Contributor

@ydirson ydirson left a 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

@rzr
Copy link
Contributor Author

rzr commented Nov 27, 2025

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

@ydirson
Copy link
Contributor

ydirson commented Nov 27, 2025

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

rzr added a commit that referenced this pull request Nov 27, 2025
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>
@rzr rzr force-pushed the phcoval/review/master branch from 95d6f3f to 99d5ee5 Compare November 27, 2025 11:07
rzr added a commit that referenced this pull request Nov 27, 2025
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>
@rzr rzr force-pushed the phcoval/review/master branch from 99d5ee5 to 764783a Compare November 27, 2025 12:26
@rzr rzr requested a review from a team November 28, 2025 13:31
rzr added a commit that referenced this pull request Nov 28, 2025
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>
@rzr rzr force-pushed the phcoval/review/master branch from 764783a to 7fdb7d0 Compare November 28, 2025 14:49
rzr added a commit that referenced this pull request Nov 28, 2025
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>
@rzr rzr force-pushed the phcoval/review/master branch from 7fdb7d0 to b7376f8 Compare November 28, 2025 14:54
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>
@rzr rzr force-pushed the phcoval/review/master branch from b7376f8 to 558290d Compare November 28, 2025 15:25
@gduperrey gduperrey requested review from stormi and removed request for gduperrey November 28, 2025 16:17
@rzr
Copy link
Contributor Author

rzr commented Nov 28, 2025

Thank you for your time involved in reviews.

Should I merge it now to push more linter changes I have for next review ?

@stormi
Copy link
Member

stormi commented Nov 28, 2025

Yes, you can merge.

@rzr rzr merged commit 951d5da into master Nov 28, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

5 participants