Skip to contentSkip to conversation

Release administrivia for 4.9.0-rc1*

PATCH New Ian Jackson 1 participant 6 messages Apr 12, 2017

lore
Share & tools
lore
#0 lore raw

cover Release administrivia for 4.9.0-rc1*

This series is being posted pro-format. I've pushed them already.

The first patch is routine administrivia. The next two are the result of me messing up. The final two are release checklist updates, including attempts to make this kind of mistake less likely.

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#1 lore raw

PATCH 1/5 Config.mk, etc.: Prepare 4.9.0-rc1

* Update Config.mk REVISION values to refer to relevant tags.
* Update README version number
* Update xen/Makefile version number

---
 Config.mk    |  6 +++---
 README       | 10 +++++-----
 xen/Makefile |  2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)
Config.mk +3 -3
index 7a0f94b..d01c832 100644
@@ -268,8 +268,8 @@ SEABIOS_UPSTREAM_URL ?= git://xenbits.xen.org/seabios.git
 MINIOS_UPSTREAM_URL ?= git://xenbits.xen.org/mini-os.git
 endif
 OVMF_UPSTREAM_REVISION ?= 5920a9d16b1ab887c2858224316a98e961d71b05
-QEMU_UPSTREAM_REVISION ?= master
-MINIOS_UPSTREAM_REVISION ?= ca013fa9baf92f47469ba1f2e1aaa31c41d8a0bb
+QEMU_UPSTREAM_REVISION ?= qemu-xen-4.9.0-rc1
+MINIOS_UPSTREAM_REVISION ?= xen-4.9.0-rc1
 # Tue Dec 13 15:02:02 2016 +0000
 # build: prepend OBJ_DIR to linker script
 
@@ -280,7 +280,7 @@ SEABIOS_UPSTREAM_REVISION ?= rel-1.10.0
 ETHERBOOT_NICS ?= rtl8139 8086100e
 
 
-QEMU_TRADITIONAL_REVISION ?= 8051789e982499050680a26febeada7467e18a8d
+QEMU_TRADITIONAL_REVISION ?= xen-4.9.0-rc1
 # Thu Mar 9 11:14:55 2017 +0000
 # cirrus/vnc: zap drop bitblit support from console code.
 
README +5 -5
index 76433a9..05e92d0 100644
@@ -1,9 +1,9 @@
 #################################
-__  __            _  _   ___                        _        _     _
-\ \/ /___ _ __   | || | / _ \       _   _ _ __  ___| |_ __ _| |__ | | ___
- \  // _ \ '_ \  | || || (_) |_____| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
- /  \  __/ | | | |__   _\__, |_____| |_| | | | \__ \ || (_| | |_) | |  __/
-/_/\_\___|_| |_|    |_|(_)/_/       \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
+__  __            _  _   ___
+\ \/ /___ _ __   | || | / _ \       _ __ ___
+ \  // _ \ '_ \  | || || (_) |_____| '__/ __|
+ /  \  __/ | | | |__   _\__, |_____| | | (__
+/_/\_\___|_| |_|    |_|(_)/_/      |_|  \___|
 
 #################################
 
xen/Makefile +1 -1
index fcd5c7e..750bb8a 100644
@@ -2,7 +2,7 @@
 # All other places this is stored (eg. compile.h) should be autogenerated.
 export XEN_VERSION       = 4
 export XEN_SUBVERSION    = 9
-export XEN_EXTRAVERSION ?= -unstable$(XEN_VENDORVERSION)
+export XEN_EXTRAVERSION ?= -rc$(XEN_VENDORVERSION)
 export XEN_FULLVERSION   = $(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION)
 -include xen-version
 
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#2 lore raw

PATCH 2/5 Config.mk: Update for 4.9.0-rc1.1

In reply to Ian Jackson

In qemu-trad, I made xen-4.9.0-rc1 refer erroneously to the 4.8 branch. That doesn't build. So we are burning the version number 4.9.0-rc1 in xen.git and qemu-trad. (The other trees can remain as they are.)

---
 Config.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Config.mk +1 -1
index d01c832..c2e4e37 100644
@@ -280,7 +280,7 @@ SEABIOS_UPSTREAM_REVISION ?= rel-1.10.0
 ETHERBOOT_NICS ?= rtl8139 8086100e
 
 
-QEMU_TRADITIONAL_REVISION ?= xen-4.9.0-rc1
+QEMU_TRADITIONAL_REVISION ?= xen-4.9.0-rc1.1
 # Thu Mar 9 11:14:55 2017 +0000
 # cirrus/vnc: zap drop bitblit support from console code.
 
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#3 lore raw

PATCH 3/5 Config.mk: Update for 4.9.0-rc1.2

In reply to Ian Jackson

Contrary to what I wrote in d0db50ced1f7 "Config.mk: Update for 4.9.0-rc1.1", the build failure with 4.9.0-rc1 was not due to a wrong qemu tag, but a wrong mini-os tag. So burn 4.9.0-rc1.1 too :-(. (We can rewind the qemu-trad tag to 4.9.0-rc1; the -rc1 and -rc1.1 tags are identical.)

---
 Config.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Config.mk +2 -2
index c2e4e37..8642fec 100644
@@ -269,7 +269,7 @@ MINIOS_UPSTREAM_URL ?= git://xenbits.xen.org/mini-os.git
 endif
 OVMF_UPSTREAM_REVISION ?= 5920a9d16b1ab887c2858224316a98e961d71b05
 QEMU_UPSTREAM_REVISION ?= qemu-xen-4.9.0-rc1
-MINIOS_UPSTREAM_REVISION ?= xen-4.9.0-rc1
+MINIOS_UPSTREAM_REVISION ?= xen-4.9.0-rc1.2
 # Tue Dec 13 15:02:02 2016 +0000
 # build: prepend OBJ_DIR to linker script
 
@@ -280,7 +280,7 @@ SEABIOS_UPSTREAM_REVISION ?= rel-1.10.0
 ETHERBOOT_NICS ?= rtl8139 8086100e
 
 
-QEMU_TRADITIONAL_REVISION ?= xen-4.9.0-rc1.1
+QEMU_TRADITIONAL_REVISION ?= xen-4.9.0-rc1
 # Thu Mar 9 11:14:55 2017 +0000
 # cirrus/vnc: zap drop bitblit support from console code.
 
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#4 lore raw

PATCH 4/5 misc/release-checklist.txt: Preemptive updates

In reply to Ian Jackson

These are things I noticed should be fixed, while trying to make 4.9.0-rc1.

---
 misc/release-checklist.txt | 43 ++++++++++++++++++-------------------------
 1 file changed, 18 insertions(+), 25 deletions(-)
misc/release-checklist.txt +18 -25
index 4784256..f9e7e06 100644
@@ -1,14 +1,4 @@
 
-* check, even for point releases
-*  http://logs.test-lab.xenproject.org/osstest/results/all-branch-statuses.txt
-
-* check, even for point releases, advisory patch application status (Lars)
-
-* make tag in qemu-iwj.git
-
-* push qemu tag in xenbits.xen.org		git-update-server-info
-* push qemu tag in xenbits.xen.org staging	git-update-server-info
-
 s=master
 #b=unstable
 v=$v-rc1
@@ -28,8 +18,13 @@ t=$r$rc
 OR
 t=RELEASE-$r
 
+
 # FIRSTLY
-#  - check all XSAs have been applied
+#  - check (for point releases, but not RCs) all XSAs have been applied (Lars)
+#
+* check, even for point releases
+*  http://logs.test-lab.xenproject.org/osstest/results/all-branch-statuses.txt
+
 
 # QEMU
 
@@ -43,8 +38,8 @@ t=RELEASE-$r
   git push [email protected]:/home/xen/git/mini-os.git xen-$t
 
 * Also tag upstream qemu tree (Stefano)
-    git tag -u 'xen tree' -s -m "Xen $r$rc" qemu-xen-$r SOMETHING
-    git push [email protected]:/home/xen/git/qemu-xen.git qemu-xen-$r
+    git tag -u 'xen tree' -s -m "Xen $r$rc" qemu-xen-$v SOMETHING
+    git push [email protected]:/home/xen/git/qemu-xen.git qemu-xen-$v
 
 * consider bumping sonames of shlibs
 
@@ -82,6 +77,7 @@ HANDLING TAG GENERATED BY RELEASE MANAGER
 
 
 
+
 RELEASE TARBALL
 
    for 4.5 and later, use tarball target
@@ -95,9 +91,8 @@ RELEASE TARBALL
        mkdir /volatile/iwj/website-thing/xen.org/oss-xen/release/$v
        mv dist/xen-$v.tar.gz /volatile/iwj/website-thing/xen.org/oss-xen/release/$v/.
 
-        # website-thing is cvs -d hg.uk.xensource.com:/usr/groups/sources/cvs/akamai co xen.org
+       # website-thing/xen.org is cvs -d mail.xenproject.org:/home/downloads-cvs/cvs-repos co xen.org
 	cd /volatile/iwj/website-thing/xen.org
-	mkdir oss-xen/release/$v
 
 # test build
                 cd /volatile/iwj/d
@@ -114,21 +109,19 @@ RELEASE TARBALL
 	cvs add -kb oss-xen/release/$v/
 
         cd oss-xen/release/$v
-        gpg --detach-sign -u 'xen tree' xen-$v.tar.gz
+        gpg --digest-algo=SHA256 --detach-sign -u 'xen tree' xen-$v.tar.gz
 	cvs add -kb xen-$v.tar.gz
         cvs add -kb xen-$v.tar.gz.sig
         cd ../../..
 
 	cvs ci -m $v
-	./upload.sh
-
-        AND (can be done in parallel with ./upload.sh)
-           ssh [email protected]
-	   cd /data/downloads.xenproject.org/xen.org
-	   cvs -q up -d
-	   # should show something like
-	   #   U oss-xen/release/4.8.0-rc2/xen-4.8.0-rc2.tar.gz
-	   #   U oss-xen/release/4.8.0-rc2/xen-4.8.0-rc2.tar.gz.sig
+
+        ssh [email protected]
+	cd /data/downloads.xenproject.org/xen.org
+	cvs -q up -d
+	# should show something like
+	#   U oss-xen/release/4.8.0-rc2/xen-4.8.0-rc2.tar.gz
+	#   U oss-xen/release/4.8.0-rc2/xen-4.8.0-rc2.tar.gz.sig
 
 
 update xenbits front page to change references to old stable branch
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#5 lore raw

PATCH 5/5 misc/release-checklist.txt: Try to avoid wrong-tag mistakes

In reply to Ian Jackson

Add some better checking and make the runes a bit more robust.

---
 misc/release-checklist.txt | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
misc/release-checklist.txt +9 -4
index f9e7e06..b96964e 100644
@@ -28,18 +28,23 @@ t=RELEASE-$r
 
 # QEMU
 
-  git-checkout $s
-  git-tag -u 'Xen.org Xen tree code signing' -m "Xen $v" xen-$v $s
+  git checkout $s
+  git show # should show appropriate intended commit
+  git-tag -u 'Xen.org Xen tree code signing' -m "Xen $v" xen-$v
 
   git-push xenbits.xen.org:/home/xen/git/qemu-xen-traditional.git $s:stable-$x xen-$v
 
 # consider making tag in minios, and updating xen.git Config.mk
+  git checkout SOMETHING
+  git show # should show appropriate intended commit
   git-tag -u 'xen tree' -s -m "Xen $r$rc" xen-$t
   git push [email protected]:/home/xen/git/mini-os.git xen-$t
 
 * Also tag upstream qemu tree (Stefano)
-    git tag -u 'xen tree' -s -m "Xen $r$rc" qemu-xen-$v SOMETHING
-    git push [email protected]:/home/xen/git/qemu-xen.git qemu-xen-$v
+  git checkout SOMETHING
+  git show # should show appropriate intended commit
+  git tag -u 'xen tree' -s -m "Xen $r$rc" qemu-xen-$v 
+  git push [email protected]:/home/xen/git/qemu-xen.git qemu-xen-$v
 
 * consider bumping sonames of shlibs
 
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel