blob: 554a6d25f9d3892c821f6a5f3504f1371503275f [file] [log] [blame] [view]
Benedikt Meurer52d9f112024-10-18 09:21:071# Release Management
2
3## Merges and Cherry-Picks
4
5The documentation on cherry-picks and merges (including backmerges and
6backports) can be found in the
7[Chromium DevTools Contribution Guidelines](../contributing/changes.md#Merges-and-cherry-picks).
8
9## Versioning
10
11There is no explicit versioning being done. At the time of writing no compelling
12use case was found that would require version numbers. Commits are identified by
13their commit hash, which should suffice for the projected future.
14
15## What happens when Chromium cuts a new Canary branch
16
17For each Chromium release branch, we create a mirror branch with the same name
18on our repo. Rough outline:
19
201. Chromium cuts a branch e.g. 3879
211. Bots create Chromium/3879 branch on the DevTools frontend repo
221. The end
23
24## Handling of Beta/Stable branches
25
26Generally speaking, beta/stable branches are the same as Canary branches. There
27is a special waterfall though, that runs tests on the beta/stable branches.
28
29When Chromium updates to a new major version we need to update the branch number
30in
31[infra/config](https://chromium.googlesource.com/devtools/devtools-frontend/+/refs/heads/infra/config)
32branch of devtools-frontend. Specifically, in file buckets/ci.start, promote the
33existing beta branch to stable section and modify beta section with the
34corresponding branch number for the new Chromium milestone.
35
36```python
37generate_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
51After editing the above mentioned file run `lucicfg generate main.star` to have
52the 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
57The
58[Skia autoroller](https://skia.googlesource.com/buildbot/+/main/autoroll/README.md)
59is used. The DevTools-Frontend auto-roller state can be seen and controlled
60[here](https://autoroll.skia.org/r/devtools-frontend-chromium?tab=status).