1=== Before starting ===
2
3Access to the following accounts is necessary:
4    * xenbits.xen.org: xen, xendocs
5    * osstest.osstest-test-lab: osstest
6
7=== Check list ===
8
9v=4.1
10ov=4.0
11
12# make branches in xenbits.xen.org qemus
13    ssh xen@xenbits.xen.org
14    cd ~/git/qemu-xen.git
15    git branch staging-$v staging
16    git branch stable-$v master
17    cd ~/git/qemu-xen-traditional.git
18    git branch stable-$v master
19
20# make branch in libvirt
21    ssh xen@xenbits.xen.org
22    cd ~/git/libvirt.git/
23    git branch osstest/frozen/xen-$v-testing   xen-tested-master
24
25# make branches in xenbits.xen.org xen.git
26    ssh xen@xenbits.xen.org
27    cd ~/git/xen.git
28    git branch staging-$v staging
29    git branch stable-$v master
30
31# update xendocs@xenbits docs generator to generate new stable branch
32#  docs too. commit to git.
33* make 13:37 <ijc> https://xenbits.xen.org/docs/4.2-testing/ is now live true
34#14:17 <ijc> HOWTO: login to xenbits. become "xendocs" . cd cronjobs . edit
35#            xenbits-docs-all.sh in the obvious way. git commit
36    ssh xendocs@xenbits.xen.org
37    cd cronjobs
38    ed xenbits-docs-all.sh
39    /for branch
40    s/$/ 4.6-testing
41    # ^ OR SIMILAR
42    w
43    q
44    git add -p
45    git commit -m "Branch for $v"
46
47* make branches etc. in osstest
48    ssh osstest@osstest.test-lab
49    cd testing.git
50    OSSTEST_CONFIG=production-config ./mg-branch-setup xen-$v-testing bisect
51    OSSTEST_CONFIG=production-config ./mg-branch-setup qemu-upstream-$v-testing bisect
52
53* add branch to osstest
54    Add both qemu-upstream-$v-testing and xen-$v-testing to BRANCHES in cr-for-branches
55    git add -p
56    git commit -m "cr-for-branches: Add Xen and QEMU $v branch"
57
58* add to patchbot
59    ssh xen@xenbits.xen.org
60    cd ~/HG/patchbot/
61
62    cp xen--master.patchbot-reported-heads xen--stable-$v.patchbot-reported-heads
63    cp xen--staging.patchbot-reported-heads xen--staging-$v.patchbot-reported-heads
64    cp qemu-xen--master.patchbot-reported-heads  qemu-xen--stable-$v.patchbot-reported-heads
65    cp qemu-xen--staging.patchbot-reported-heads  qemu-xen--staging-$v.patchbot-reported-heads
66    cp qemu-xen-traditional--master.patchbot-reported-heads qemu-xen-traditional--stable-$v.patchbot-reported-heads
67
68    #emacs versions
69    perl -i~ -pe 'next unless m/\b\Q'$ov'\E\b/; $x=$_; $x=~ s/\b\Q'$ov'\E\b/'$v'/g; print $x;' versions
70    git diff
71    git add versions
72    git commit -m "Branch for $v"
73
74Ensure references to qemu trees and Mini-OS in xen.git's Config.mk are updated.
75The variables and there content should be:
76  * QEMU_UPSTREAM_REVISION: qemu-xen-X.Y.0
77  * QEMU_TRADITIONAL_REVISION: xen-X.Y.0
78  * MINIOS_UPSTREAM_REVISION: xen-RELEASE-X.Y.0
79Where X.Y is the release version (e.g. 4.17).
80
81Update newly diverging staging (unstable) according to
82release-technician-checklist.txt section re README etc.
83
84Update newly diverging staging-$v according to
85release-technician-checklist.txt section re README etc.,
86including turning off debug.
87
88Set off a manual osstest run, since the osstest cr-for-branches change
89will take a while to take effect:
90    ssh osstest@osstest.test-lab
91    cd testing.git
92    screen -S $v
93    BRANCHES=xen-$v-testing ./cr-for-branches branches -w "./cr-daily-branch --real"
94
95Send message to committers and RM.  Use previous mail as a template.
96