Files
xen/docs/process/branching-checklist.txt
T
Julien Grall 4e0e7a29d2 docs/process: branching-checklist: Clarify steps to add the branch in osstest
The steps to add the new branch in osstest doesn't mention the change
should be committed.

Update the steps to clarify that. Take the opportunity to switch to
use $v instead hardcoded version.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Henry Wang <Henry.Wang@arm.com>
2023-02-09 17:07:28 +00:00

93 lines
3.2 KiB
Plaintext

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
# make branches etc. in Cambridge osstest
ssh osstest@osstest.xs.citrite.net
cd testing.git
OSSTEST_CONFIG=production-config-cambridge ./mg-branch-setup xen-$v-testing bisect
OSSTEST_CONFIG=production-config-cambridge ./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
on xenbits
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 in xen.git's Config.mk are updated.
Check this with
grep unstable Config.mk
which should produce no output. Replace as necessary.
(There may well be none.)
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.