aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-04-17 11:03:02 -0700
committerMatt Turner <mattst88@gentoo.org>2020-04-17 12:51:32 -0700
commitbb21b8615e64cb31fa9aa9d533ef328dc1374e45 (patch)
tree406ca626a55c5506cdc1a84583787cb93eaccc2d /doc
parentcatalyst: Raise an exception on invalid digest (diff)
downloadcatalyst-bb21b8615e64cb31fa9aa9d533ef328dc1374e45.tar.gz
catalyst-bb21b8615e64cb31fa9aa9d533ef328dc1374e45.tar.bz2
catalyst-bb21b8615e64cb31fa9aa9d533ef328dc1374e45.zip
catalyst: gzip the .CONTENTS file
Other algorithms give better compression ratios, but the difference is not meaningful for a 2MiB text file. In my testing bzip2 gave a better compression ratio of 15:1 vs gzip's 11:1, but that ends up being only a size difference of 50KiB (136 vs 187) which is only an additional 2.5% savings from the uncompressed input. Choose gzip because transparent decompression is widely supported by web servers and clients. Closes: https://bugs.gentoo.org/630284 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/HOWTO.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/HOWTO.txt b/doc/HOWTO.txt
index 960b5761..7b759121 100644
--- a/doc/HOWTO.txt
+++ b/doc/HOWTO.txt
@@ -22,7 +22,7 @@ Create a snapshot of your current Portage tree (you may want to
# catalyst --snapshot 20130131
# ls /var/tmp/catalyst/snapshots/
portage-20130131.tar.bz2
- portage-20130131.tar.bz2.CONTENTS
+ portage-20130131.tar.bz2.CONTENTS.gz
portage-20130131.tar.bz2.DIGESTS
where the storage location is relative to the default
@@ -44,7 +44,7 @@ For example,
Grab the tarball and put it where catalyst will find it:
# wget http://…/stage3-amd64-20121213.tar.bz2
- # wget http://…/stage3-amd64-20121213.tar.bz2.CONTENTS
+ # wget http://…/stage3-amd64-20121213.tar.bz2.CONTENTS.gz
# wget http://…/stage3-amd64-20121213.tar.bz2.DIGESTS.asc
# sha512sum -c stage3-amd64-20121213.tar.bz2.DIGESTS.asc
# gpg --verify stage3-amd64-20121213.tar.bz2.DIGESTS.asc
@@ -89,7 +89,7 @@ which will build the target and install something like:
# ls /var/tmp/catalyst/builds/default/stage1-amd64-2013.1.*
/var/tmp/catalyst/builds/default/stage1-amd64-2013.1.tar.bz2
- /var/tmp/catalyst/builds/default/stage1-amd64-2013.1.tar.bz2.CONTENTS
+ /var/tmp/catalyst/builds/default/stage1-amd64-2013.1.tar.bz2.CONTENTS.gz
/var/tmp/catalyst/builds/default/stage1-amd64-2013.1.tar.bz2.DIGESTS
The name is an expansion of