mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
releases: use newer compression methods for tarballs
Other projects have long switched to xz and/or lzip. Tidy things some as well: With the removal of qemu from the tarball, intermediately extracting the tarball again has become wasteful. Drop that. Invoke compressors using asynchronous lists, to reduce overall latency. Drop the -v option from the (previously implicit) gzip invocation. Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Julien Grall <jgrall@amazon.com> Tested-by: Julien Grall <jgrall@amazon.com>
This commit is contained in:
1 parent
b768b46ff1
commit
63ebd0e964
3 files changed
+23
-19
No files matched your search
@@ -119,7 +119,7 @@ RELEASE TARBALL
|
|||||||
make src-tarball # uses git-describe (best for RCs)
|
make src-tarball # uses git-describe (best for RCs)
|
||||||
# ^find some way to add git-cache-proxy to this (done in ~iwj/.gitconfig)
|
# ^find some way to add git-cache-proxy to this (done in ~iwj/.gitconfig)
|
||||||
mkdir /volatile/iwj/website-thing/xen.org/oss-xen/release/$v
|
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/.
|
mv dist/xen-$v.tar.[glx]z /volatile/iwj/website-thing/xen.org/oss-xen/release/$v/.
|
||||||
|
|
||||||
# website-thing/xen.org is cvs -d mail.xenproject.org:/home/downloads-cvs/cvs-repos 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
|
cd /volatile/iwj/website-thing/xen.org
|
||||||
@@ -139,9 +139,12 @@ RELEASE TARBALL
|
|||||||
cvs add -kb oss-xen/release/$v/
|
cvs add -kb oss-xen/release/$v/
|
||||||
|
|
||||||
cd oss-xen/release/$v
|
cd oss-xen/release/$v
|
||||||
gpg --digest-algo=SHA256 --detach-sign -u 'xen tree' xen-$v.tar.gz
|
for t in xen-$v.tar.[glx]z
|
||||||
cvs add -kb xen-$v.tar.gz
|
do
|
||||||
cvs add -kb xen-$v.tar.gz.sig
|
gpg --digest-algo=SHA256 --detach-sign -u 'xen tree' $t
|
||||||
|
cvs add -kb $t
|
||||||
|
cvs add -kb $t.sig
|
||||||
|
done
|
||||||
cd ../../..
|
cd ../../..
|
||||||
|
|
||||||
cvs ci -m $v
|
cvs ci -m $v
|
||||||
@@ -152,6 +155,10 @@ RELEASE TARBALL
|
|||||||
# should show something like
|
# 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
|
||||||
# U oss-xen/release/4.8.0-rc2/xen-4.8.0-rc2.tar.gz.sig
|
# U oss-xen/release/4.8.0-rc2/xen-4.8.0-rc2.tar.gz.sig
|
||||||
|
# U oss-xen/release/4.8.0-rc2/xen-4.8.0-rc2.tar.lz
|
||||||
|
# U oss-xen/release/4.8.0-rc2/xen-4.8.0-rc2.tar.lz.sig
|
||||||
|
# U oss-xen/release/4.8.0-rc2/xen-4.8.0-rc2.tar.xz
|
||||||
|
# U oss-xen/release/4.8.0-rc2/xen-4.8.0-rc2.tar.xz.sig
|
||||||
|
|
||||||
After a .0 release, update XEN_EXTRAVERSION again (to .1-pre, see above).
|
After a .0 release, update XEN_EXTRAVERSION again (to .1-pre, see above).
|
||||||
|
|
||||||
|
|||||||
@@ -274,10 +274,10 @@ Xen X.Y rcZ is tagged. You can check that out from xen.git:
|
|||||||
https://xenbits.xen.org/git-http/xen.git X.Y.0-rcZ
|
https://xenbits.xen.org/git-http/xen.git X.Y.0-rcZ
|
||||||
|
|
||||||
For your convenience there is also a tarball at:
|
For your convenience there is also a tarball at:
|
||||||
https://downloads.xenproject.org/release/xen/X.Y.0-rcZ/xen-X.Y.0-rcZ.tar.gz
|
https://downloads.xenproject.org/release/xen/X.Y.0-rcZ/xen-X.Y.0-rcZ.tar.[glx]z
|
||||||
|
|
||||||
And the signature is at:
|
And the signature is at:
|
||||||
https://downloads.xenproject.org/release/xen/X.Y.0-rcZ/xen-X.Y.0-rcZ.tar.gz.sig
|
https://downloads.xenproject.org/release/xen/X.Y.0-rcZ/xen-X.Y.0-rcZ.tar.[glx]z.sig
|
||||||
|
|
||||||
Please send bug reports and test reports to xen-devel@lists.xenproject.org.
|
Please send bug reports and test reports to xen-devel@lists.xenproject.org.
|
||||||
When sending bug reports, please CC relevant maintainers and me
|
When sending bug reports, please CC relevant maintainers and me
|
||||||
|
|||||||
+10
-13
@@ -5,14 +5,6 @@
|
|||||||
# Takes 2 arguments, the path to the dist directory and the version
|
# Takes 2 arguments, the path to the dist directory and the version
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
function git_archive_into {
|
|
||||||
mkdir -p "$2"
|
|
||||||
|
|
||||||
git --git-dir="$1"/.git \
|
|
||||||
archive --format=tar HEAD | \
|
|
||||||
tar Cxf "$2" -
|
|
||||||
}
|
|
||||||
|
|
||||||
if [[ -z "$1" || -z "$2" ]] ; then
|
if [[ -z "$1" || -z "$2" ]] ; then
|
||||||
echo "usage: $0 path-to-XEN_ROOT xen-version"
|
echo "usage: $0 path-to-XEN_ROOT xen-version"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -21,14 +13,19 @@ fi
|
|||||||
xen_root="$1"
|
xen_root="$1"
|
||||||
desc="$2"
|
desc="$2"
|
||||||
|
|
||||||
tdir="$xen_root/dist/tmp.src-tarball"
|
tdir="$xen_root/dist"
|
||||||
|
|
||||||
rm -rf $tdir
|
rm -f $tdir/xen-$desc.tar*
|
||||||
|
|
||||||
mkdir -p $tdir
|
mkdir -p $tdir
|
||||||
|
|
||||||
git_archive_into $xen_root $tdir/xen-$desc
|
git --git-dir="$xen_root/.git" archive --format=tar HEAD --prefix=xen-$desc/ \
|
||||||
|
>"$tdir/xen-$desc.tar"
|
||||||
|
|
||||||
GZIP=-9v tar cz -f $xen_root/dist/xen-$desc.tar.gz -C $tdir xen-$desc
|
gzip -9k "$tdir/xen-$desc.tar" &
|
||||||
|
xz -9k "$tdir/xen-$desc.tar" &
|
||||||
|
lzip -9k "$tdir/xen-$desc.tar" &
|
||||||
|
wait
|
||||||
|
|
||||||
echo "Source tarball in $xen_root/dist/xen-$desc.tar.gz"
|
echo "Source tarball(s):"
|
||||||
|
ls -lh $tdir/xen-$desc.tar*
|
||||||