summaryrefslogtreecommitdiff
path: root/docs/process/branching-checklist.txt
blob: 3dfa8ec2570bda17b51cf19ec2126e22f47cda36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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
89
90
91
92
93
94
95
=== Before starting ===

Access to the following accounts is necessary:
    * xenbits.xen.org: xen, xendocs
    * osstest.osstest-test-lab: osstest

=== Check list ===

v=4.1
ov=4.0

# make branches in xenbits.xen.org qemus
    ssh xen@xenbits.xen.org
    cd ~/git/qemu-xen.git
    git branch staging-$v staging
    git branch stable-$v master
    cd ~/git/qemu-xen-traditional.git
    git branch stable-$v master

# make branch in libvirt
    ssh xen@xenbits.xen.org
    cd ~/git/libvirt.git/
    git branch osstest/frozen/xen-$v-testing   xen-tested-master

# make branches in xenbits.xen.org xen.git
    ssh xen@xenbits.xen.org
    cd ~/git/xen.git
    git branch staging-$v staging
    git branch stable-$v master

# update xendocs@xenbits docs generator to generate new stable branch
#  docs too. commit to git.
* make 13:37 <ijc> https://xenbits.xen.org/docs/4.2-testing/ is now live true
#14:17 <ijc> HOWTO: login to xenbits. become "xendocs" . cd cronjobs . edit
#            xenbits-docs-all.sh in the obvious way. git commit
    ssh xendocs@xenbits.xen.org
    cd cronjobs
    ed xenbits-docs-all.sh
    /for branch
    s/$/ 4.6-testing
    # ^ OR SIMILAR
    w
    q
    git add -p
    git commit -m "Branch for $v"

* make branches etc. in osstest
    ssh osstest@osstest.test-lab
    cd testing.git
    OSSTEST_CONFIG=production-config ./mg-branch-setup xen-$v-testing bisect
    OSSTEST_CONFIG=production-config ./mg-branch-setup qemu-upstream-$v-testing bisect

* add branch to osstest
    Add both qemu-upstream-$v-testing and xen-$v-testing to BRANCHES in cr-for-branches
    git add -p
    git commit -m "cr-for-branches: Add Xen and QEMU $v branch"

* add to patchbot
    ssh xen@xenbits.xen.org
    cd ~/HG/patchbot/

    cp xen--master.patchbot-reported-heads xen--stable-$v.patchbot-reported-heads
    cp xen--staging.patchbot-reported-heads xen--staging-$v.patchbot-reported-heads
    cp qemu-xen--master.patchbot-reported-heads  qemu-xen--stable-$v.patchbot-reported-heads
    cp qemu-xen--staging.patchbot-reported-heads  qemu-xen--staging-$v.patchbot-reported-heads
    cp qemu-xen-traditional--master.patchbot-reported-heads qemu-xen-traditional--stable-$v.patchbot-reported-heads

    #emacs versions
    perl -i~ -pe 'next unless m/\b\Q'$ov'\E\b/; $x=$_; $x=~ s/\b\Q'$ov'\E\b/'$v'/g; print $x;' versions
    git diff
    git add versions
    git commit -m "Branch for $v"

Ensure references to qemu trees and Mini-OS in xen.git's Config.mk are updated.
The variables and there content should be:
  * QEMU_UPSTREAM_REVISION: qemu-xen-X.Y.0
  * QEMU_TRADITIONAL_REVISION: xen-X.Y.0
  * MINIOS_UPSTREAM_REVISION: xen-RELEASE-X.Y.0
Where X.Y is the release version (e.g. 4.17).

Update newly diverging staging (unstable) according to
release-technician-checklist.txt section re README etc.

Update newly diverging staging-$v according to
release-technician-checklist.txt section re README etc.,
including turning off debug.

Set off a manual osstest run, since the osstest cr-for-branches change
will take a while to take effect:
    ssh osstest@osstest.test-lab
    cd testing.git
    screen -S $v
    BRANCHES=xen-$v-testing ./cr-for-branches branches -w "./cr-daily-branch --real"

Send message to committers and RM.  Use previous mail as a template.