1v=4.1
2ov=4.0
3
4* make branch in qemu-iwj.git
5        git-branch $v-testing master
6
7# make branches in xenbits.xen.org qemus
8        ssh xen@xenbits.xen.org
9	cd ~/git/qemu-xen.git
10	git branch staging-$v staging
11	git branch stable-$v master
12	cd ~/git/qemu-xen-traditional.git
13	git branch stable-$v master
14
15# make branch in libvirt
16        ssh xen@xenbits.xen.org
17        cd ~/git/libvirt.git/
18	git branch osstest/frozen/xen-$v-testing   xen-tested-master
19
20# make branches in xenbits.xen.org xen.git
21        ssh xen@xenbits.xen.org
22        cd ~/git/xen.git
23	git branch staging-$v staging
24	git branch stable-$v master
25
26# update xendocs@xenbits docs generator to generate new stable branch
27#  docs too. commit to git.
28* make 13:37 <ijc> https://xenbits.xen.org/docs/4.2-testing/ is now live true
29#14:17 <ijc> HOWTO: login to xenbits. become "xendocs" . cd cronjobs . edit
30#            xenbits-docs-all.sh in the obvious way. git commit
31	ssh root@xenbits.xen.org
32	su - xendocs
33	cd cronjobs
34	ed xenbits-docs-all.sh
35	/for branch
36	s/$/ 4.6-testing
37	# ^ OR SIMILAR
38	w
39	q
40        git add -p
41	git commit -m "Branch for $v"
42
43* make branches etc. in osstest
44        ssh osstest@osstest.test-lab
45	cd testing.git
46	OSSTEST_CONFIG=production-config ./mg-branch-setup xen-$v-testing bisect
47	OSSTEST_CONFIG=production-config ./mg-branch-setup qemu-upstream-$v-testing bisect
48
49# make branches etc. in Cambridge osstest
50        ssh osstest@osstest.xs.citrite.net
51	cd testing.git
52	OSSTEST_CONFIG=production-config-cambridge ./mg-branch-setup xen-$v-testing bisect
53	OSSTEST_CONFIG=production-config-cambridge ./mg-branch-setup qemu-upstream-$v-testing bisect
54
55* add branch to osstest
56        ie add both eg qemu-upstream-4.2-testing and xen-4.2-testing to BRANCHES in cr-for-branches
57
58* add to patchbot
59        on xenbits
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 in xen.git's Config.mk are updated.
75Check this with
76        grep unstable Config.mk
77which should produce no output.  Replace as necessary.
78(There may well be none.)
79
80Update newly diverging staging (unstable) according to
81release-technician-checklist.txt section re README etc.
82
83Update newly diverging staging-$v according to
84release-technician-checklist.txt section re README etc.,
85including turning off debug.
86
87Set off a manual osstest run, since the osstest cr-for-branches change
88will take a while to take effect:
89  ssh osstest.test-lab
90  cd branches/for-xen-$v-testing.git
91  screen -S $v
92  BRANCHES=xen-$v-testing ./cr-for-branches branches -w "./cr-daily-branch --real"
93
94Send message to committers and RM.  Use previous mail as a template.
95