Repository navigation
Commit d15fa7d
committed
feat: introduce deprecated_at + superseded_by, drop comment-out pattern
Replaces the fragile comment-out convention for disabling old minor
versions with two structured properties on each version entry:
- deprecated_at: ISO-8601 timestamp marking when the version was
taken out of the build matrix. Build tooling skips entries that
have this set.
- superseded_by: optional pointer to the replacement version, used
by the README generator and to inform users which tag to migrate to.
Why:
- Comment-text parsing in build-new-releases.yml's grep was treating
newly-commented-out version blocks as new versions and failing the
prepare-matrix step. Structural data is robust against this.
- YAML stays parseable and grep-friendly; tools handle disabled
entries as data, not text.
- Deprecation history is preserved (architecture, distribution, tags
stay intact) and rendered in the README for users.
Changes:
- asterisk/supported-asterisk-builds.yml: migrate all previously
commented-out blocks (18.9-cert17, 20.7-cert{7,8,9}, 20.17.0,
20.18.0, 20.18.2, 21.12.0, 21.12.1, 22.7.0, 22.8.0, 22.8.2,
22.8-cert1, 23.1.0, 23.2.0, 23.2.2) to active YAML structure with
deprecated_at and superseded_by. Migration timestamp is the
conversion day; exact original deprecation dates were not tracked.
18.9-cert17 also gets a 'reason' note documenting its compilation
issue.
- .github/actions/generate-build-matrix/action.yml: skip entries
with deprecated_at when generating the build matrix.
- .github/workflows/build-new-releases.yml: replace grep-based
detection with structural diff. Loads YAML at HEAD and HEAD^,
computes active_versions (has os_matrix, no deprecated_at) on
each side, reports the set difference. Also skips deprecated_at
in the matrix-generation step.
- .github/workflows/validate-generation.yml: skip deprecated entries
in consistency checks.
- scripts/regenerate-all-configs.sh, scripts/build-all.sh,
scripts/build-asterisk.sh: skip deprecated entries in matrix
enumeration. build-asterisk.sh also reports deprecated status when
a user asks for a deprecated version explicitly.
- scripts/update-readme-versions.py: emit a separate
'## Deprecated Versions' table in the README with version,
deprecated date, and superseded_by.
- README.md: regenerated with new tables and bumped example version
references from 22.8.2 (now deprecated) to 22.9.0 (current latest).
Active count drops from 31 to 25; 16 versions move to the new
deprecated section.
See issue #136.1 parent 107c87e commit d15fa7d
9 files changed
Lines changed: 385 additions & 170 deletions
File tree
- .github
- actions/generate-build-matrix
- workflows
- asterisk
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
33 | 41 | | |
34 | 42 | | |
35 | 43 | | |
36 | 44 | | |
37 | 45 | | |
38 | | - | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
43 | | - | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
54 | 89 | | |
55 | 90 | | |
56 | 91 | | |
| |||
139 | 174 | | |
140 | 175 | | |
141 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
142 | 181 | | |
143 | 182 | | |
144 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
79 | 103 | | |
80 | 104 | | |
81 | 105 | | |
82 | 106 | | |
83 | 107 | | |
84 | 108 | | |
85 | | - | |
| 109 | + | |
86 | 110 | | |
87 | 111 | | |
88 | 112 | | |
89 | | - | |
| 113 | + | |
90 | 114 | | |
91 | 115 | | |
92 | 116 | | |
93 | | - | |
| 117 | + | |
94 | 118 | | |
95 | 119 | | |
96 | 120 | | |
| |||
119 | 143 | | |
120 | 144 | | |
121 | 145 | | |
122 | | - | |
| 146 | + | |
123 | 147 | | |
124 | 148 | | |
125 | 149 | | |
126 | 150 | | |
127 | 151 | | |
128 | 152 | | |
129 | 153 | | |
130 | | - | |
| 154 | + | |
131 | 155 | | |
132 | 156 | | |
133 | 157 | | |
| |||
244 | 268 | | |
245 | 269 | | |
246 | 270 | | |
247 | | - | |
| 271 | + | |
248 | 272 | | |
249 | 273 | | |
250 | | - | |
| 274 | + | |
251 | 275 | | |
252 | 276 | | |
253 | | - | |
| 277 | + | |
254 | 278 | | |
255 | 279 | | |
256 | | - | |
257 | | - | |
258 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
259 | 283 | | |
260 | 284 | | |
261 | | - | |
| 285 | + | |
262 | 286 | | |
263 | 287 | | |
264 | 288 | | |
| |||
287 | 311 | | |
288 | 312 | | |
289 | 313 | | |
290 | | - | |
| 314 | + | |
291 | 315 | | |
292 | 316 | | |
293 | | - | |
| 317 | + | |
294 | 318 | | |
295 | 319 | | |
296 | | - | |
| 320 | + | |
297 | 321 | | |
298 | 322 | | |
299 | 323 | | |
| |||
0 commit comments