From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BE09F158041 for ; Sun, 31 Mar 2024 10:26:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05B4BE29BC; Sun, 31 Mar 2024 10:26:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC6F2E29BC for ; Sun, 31 Mar 2024 10:26:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CBC2C34317B for ; Sun, 31 Mar 2024 10:26:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 057FF14E4 for ; Sun, 31 Mar 2024 10:26:17 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1711880682.f6acc1e57a57e74b0424973a5c79d07feeb74eee.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/rsync-generation/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/rsync-generation/mksnapshot.sh X-VCS-Directories: scripts/rsync-generation/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: f6acc1e57a57e74b0424973a5c79d07feeb74eee X-VCS-Branch: master Date: Sun, 31 Mar 2024 10:26:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 634eb683-a265-4411-bad2-c1f9c3154860 X-Archives-Hash: bf4b141673621c88bd7d92e44f798bd8 commit: f6acc1e57a57e74b0424973a5c79d07feeb74eee Author: Fabian Groffen gentoo org> AuthorDate: Sun Mar 31 10:24:42 2024 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sun Mar 31 10:24:42 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=f6acc1e5 scripts/rsync-generation/mksnapshot: disable all but bz2 snapshots who am I kidding, the bootstrap and the mirror retaining is all hardwired to bz2, and other compression formats don't really make a big enough dent to warrant lots of changes to allow picking a different compresion format disable all but bz2, that's the only thing we use afterall Signed-off-by: Fabian Groffen gentoo.org> scripts/rsync-generation/mksnapshot.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/rsync-generation/mksnapshot.sh b/scripts/rsync-generation/mksnapshot.sh index 5b8776b45e..4d45ef2727 100755 --- a/scripts/rsync-generation/mksnapshot.sh +++ b/scripts/rsync-generation/mksnapshot.sh @@ -44,10 +44,16 @@ popd > /dev/null || exit 1 rm -Rf "${TMPDIR}" +# The differences in size (57/52/47MB) for bz2,zstd,lz are not really that +# big considering gzip's size (75MB) but the bootstrap-prefix script and +# the logic above rely on .bz2 snapshot, so in reality no other format +# than bzip2-compressed is necessary. Since bzip2 is available +# everywhere, or bootstrapped just fine for a long long time, stick with +# it, for it is good enough for its purpose here COMPRS=( "bz2:bzip2 -c -9" - "lz:lzip -c -9" - "zst:zstd -c -19" +# "lz:lzip -c -9" +# "zst:zstd -c -19" ) # produce compressed variants, use as much cpu as left on the system, do