Commit 764783a
koji: Add supported git branches (eg: {8.3, master} for v8.3-* tags)
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>1 parent 3ed14a3 commit 764783a
1 file changed
+31
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
52 | 53 | | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
63 | 73 | | |
64 | 74 | | |
65 | 75 | | |
| |||
152 | 162 | | |
153 | 163 | | |
154 | 164 | | |
| 165 | + | |
155 | 166 | | |
156 | | - | |
157 | | - | |
158 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
159 | 171 | | |
160 | 172 | | |
161 | 173 | | |
| |||
0 commit comments