1
2s=master
3#b=unstable
4v=$v-rc1
5
6OR
7
8x=4.1
9m=1
10rc=-rc2
11
12r=$x.$m
13s=$x-testing
14#b=$x-testing
15v=$r$rc
16
17t=$r$rc
18OR
19t=RELEASE-$r
20
21
22# FIRSTLY
23#  - check (for point releases, but not RCs) all XSAs have been applied (Lars)
24#
25* check, even for point releases
26*  http://logs.test-lab.xenproject.org/osstest/results/all-branch-statuses.txt
27
28
29# QEMU
30
31  git checkout $s
32  git show # should show appropriate intended commit
33  git-tag -u 'Xen.org Xen tree code signing' -m "Xen $v" xen-$v
34
35  git-push xenbits.xen.org:/home/xen/git/qemu-xen-traditional.git $s:stable-$x xen-$v
36
37# consider making tag in minios, and updating xen.git Config.mk
38  git checkout SOMETHING
39  git show # should show appropriate intended commit
40  git-tag -u 'xen tree' -s -m "Xen $r$rc" xen-$t
41  git push xen@xenbits.xen.org:/home/xen/git/mini-os.git xen-$t
42
43* Also tag upstream qemu tree (Stefano)
44  git checkout SOMETHING
45  git show # should show appropriate intended commit
46  git tag -u 'xen tree' -s -m "Xen $r$rc" qemu-xen-$v
47  git push osstest@xenbits.xen.org:/home/xen/git/qemu-xen.git qemu-xen-$v
48
49* consider bumping sonames of shlibs
50
51* change xen-unstable README (should say "Xen 4.5" in releases and on stable branches, "Xen 4.5-unstable" on unstable)
52* change xen-unstable Config.mk (QEMU_UPSTREAM_REVISION, QEMU_TRADITIONAL_REVISION, MINIOS_UPSTREAM_REVISION)
53* change xen-unstable xen/Makefile XEN_EXTRAVERSION
54# if main version number has changed (eg 4.7 -> 4.8) rerun ./autogen.sh
55* rerun ./autogen.sh to update version number in configure
56#    - XEN_EXTRAVERSION should be `.0-rc$(XEN_VENDORVERSION)'
57#    - debug ?= n on stable branches
58#    - Kconfig.debug default n on stable branches
59* tag xen-unstable
60
61# In xen.git
62  git-fetch origin
63  git-checkout staging-$x
64  git-pull
65  git-show # should show commit updating version to right version
66  git-tag -u 'xen tree' -s -m "Xen $r$rc" $t
67  git-push origin $t
68##  hg tag <tag_name> ; hg sign -k "Xen tree" <tag_name>
69
70
71
72HANDLING TAG GENERATED BY RELEASE MANAGER
73
74   fetch the tag into my tree
75   make the tarball (RELEASE TARBALL, below)
76   test build (see below)
77   website (see below)
78   merge tag into staging and push to staging
79   maybe force push into master
80   definitely push tag to xenbits
81        git-push origin $t
82
83
84
85
86RELEASE TARBALL
87
88   for 4.5 and later, use tarball target
89       git checkout $t
90       git clean -xdff
91       # export http_proxy=http://localhost:3128/
92       ./configure
93       make src-tarball-release   # must be used for actual releases
94       make src-tarball           # uses git-describe (best for RCs)
95        # ^find some way to add git-cache-proxy to this (done in ~iwj/.gitconfig)
96       mkdir /volatile/iwj/website-thing/xen.org/oss-xen/release/$v
97       mv dist/xen-$v.tar.gz /volatile/iwj/website-thing/xen.org/oss-xen/release/$v/.
98
99       # website-thing/xen.org is cvs -d mail.xenproject.org:/home/downloads-cvs/cvs-repos co xen.org
100	cd /volatile/iwj/website-thing/xen.org
101
102# test build
103                cd /volatile/iwj/d
104                mkdir build
105                cd build
106                tar zxf /volatile/iwj/website-thing/xen.org/oss-xen/release/$v/xen-$v.tar.gz
107#                rsync -a --delete xen-$v build/
108                cd xen-$v
109                export http_proxy=http://localhost:3128/
110                (./configure && make -j4 KERNELS='' && echo ok.) 2>&1 | tee ../log.$v       # post 4.2
111
112# [[ test build amd64 ]]
113
114	cvs add -kb oss-xen/release/$v/
115
116        cd oss-xen/release/$v
117        gpg --digest-algo=SHA256 --detach-sign -u 'xen tree' xen-$v.tar.gz
118	cvs add -kb xen-$v.tar.gz
119        cvs add -kb xen-$v.tar.gz.sig
120        cd ../../..
121
122	cvs ci -m $v
123
124        ssh downloads-cvs@mail.xenproject.org
125	cd /data/downloads.xenproject.org/xen.org
126	cvs -q up -d
127	# should show something like
128	#   U oss-xen/release/4.8.0-rc2/xen-4.8.0-rc2.tar.gz
129	#   U oss-xen/release/4.8.0-rc2/xen-4.8.0-rc2.tar.gz.sig
130
131
132update xenbits front page to change references to old stable branch
133 into references to new stable branch
134
135Edit website
136
137