Benedikt Meurer | 52d9f11 | 2024-10-18 09:21:07 | [diff] [blame] | 1 | # Release Management |
| 2 | |
| 3 | ## Merges and Cherry-Picks |
| 4 | |
| 5 | The documentation on cherry-picks and merges (including backmerges and |
| 6 | backports) can be found in the |
| 7 | [Chromium DevTools Contribution Guidelines](../contributing/changes.md#Merges-and-cherry-picks). |
| 8 | |
| 9 | ## Versioning |
| 10 | |
| 11 | There is no explicit versioning being done. At the time of writing no compelling |
| 12 | use case was found that would require version numbers. Commits are identified by |
| 13 | their commit hash, which should suffice for the projected future. |
| 14 | |
| 15 | ## What happens when Chromium cuts a new Canary branch |
| 16 | |
| 17 | For each Chromium release branch, we create a mirror branch with the same name |
| 18 | on our repo. Rough outline: |
| 19 | |
| 20 | 1. Chromium cuts a branch e.g. 3879 |
| 21 | 1. Bots create Chromium/3879 branch on the DevTools frontend repo |
| 22 | 1. The end |
| 23 | |
| 24 | ## Handling of Beta/Stable branches |
| 25 | |
| 26 | Generally speaking, beta/stable branches are the same as Canary branches. There |
| 27 | is a special waterfall though, that runs tests on the beta/stable branches. |
| 28 | |
| 29 | When Chromium updates to a new major version we need to update the branch number |
| 30 | in |
| 31 | [infra/config](https://chromium.googlesource.com/devtools/devtools-frontend/+/refs/heads/infra/config) |
| 32 | branch of devtools-frontend. Specifically, in file buckets/ci.start, promote the |
| 33 | existing beta branch to stable section and modify beta section with the |
| 34 | corresponding branch number for the new Chromium milestone. |
| 35 | |
| 36 | ```python |
| 37 | generate_ci_configs( |
| 38 | configurations = [ |
| 39 | ... |
| 40 | config_section( |
| 41 | name="beta", |
| 42 | branch='refs/heads/chromium/4044', |
| 43 | ), |
| 44 | config_section( |
| 45 | name="stable", |
| 46 | branch='refs/heads/chromium/3987', |
| 47 | ), |
| 48 | ... |
| 49 | ``` |
| 50 | |
| 51 | After editing the above mentioned file run `lucicfg generate main.star` to have |
| 52 | the change propagated to the cfg files. Example: |
| 53 | [CL](https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2104476) |
| 54 | |
| 55 | ## Rolling/Integrating into Chromium |
| 56 | |
| 57 | The |
| 58 | [Skia autoroller](https://skia.googlesource.com/buildbot/+/main/autoroll/README.md) |
| 59 | is used. The DevTools-Frontend auto-roller state can be seen and controlled |
| 60 | [here](https://autoroll.skia.org/r/devtools-frontend-chromium?tab=status). |