Details
-
Story
-
Status: In Progress
-
Medium
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The current branch cutting script is an AWK script that makes a bunch of assumptions that often require additional tuning from the releng team to make work every time we perform branch cutting.
Rather than using an AWK script that does not understand the structure of YAML we should develop more specialized tools to handle YAML updates in a smarter fashion to minimize the amount of things that need to be tuned after the branch cutting script is complete.
We can use something like the python yaml libraries to handle this and "prettier" to auto-format the YAML files in the releng/builder repo.
Attachments
Gerrit Reviews
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 91957,6 | Auto-generated patches to resolve prettier / yamllint | master | releng/builder | Status: MERGED | +2 | +1 |
| 91958,7 | Add prettier for auto formatting | master | releng/builder | Status: MERGED | +2 | +1 |
| 91985,16 | Improve the branch cutting script | master | releng/builder | Status: MERGED | +2 | +1 |
| 92281,1 | Support the new cut-branch-jobs script | stable/magnesium | docs | Status: MERGED | +2 | +1 |
| 92282,1 | Support the new cut-branch-jobs script | stable/sodium | docs | Status: MERGED | +2 | +1 |
| 92454,2 | Support the new cut-branch-jobs script | master | docs | Status: MERGED | +2 | +1 |