<CRD1CLOG2YV5.2CTL3FOBERWVW@taiga>
Our Alpine package repository has been rebuilt against Alpine 3.17 and is now available for third-party instances to utilize. The new repository URL is: https://mirror.sr.ht/alpine/v3.17/sr.ht/ Remember to run apk upgrade with the -a flag when upgrading your systems. Cheers!
<87edp3b2td.fsf@florness.com>
<CRD1CLOG2YV5.2CTL3FOBERWVW@taiga>
(view parent)
"Drew DeVault" <sir@cmpwn.com> writes: > Our Alpine package repository has been rebuilt against Alpine 3.17 and > is now available for third-party instances to utilize. > > The new repository URL is: > > https://mirror.sr.ht/alpine/v3.17/sr.ht/ > > Remember to run apk upgrade with the -a flag when upgrading your > systems. Cheers! FYI to anyone listening: The upgrade to Alpine 3.17 seems to cause checksums for any package using git.sr.ht's /archive URL to fetch ref tarballs for repos (https://git.sr.ht/~<username>/<repo>/archive/<ref>.tar.gz) to break: https://aur.archlinux.org/packages/wev#comment-908634 I highly suspect this is because in git v2.38.0, the default compression configuration for gzip changed, causing files created by git-archive(1) to be slightly different. Relevant threads: - https://github.blog/changelog/2023-01-30-git-archive-checksums-may-change/ - https://lore.kernel.org/git/230131.86357rrtsg.gmgdl@evledraar.gmail.com/ As you can see below, the git for alpine 3.15 (the preceding sr.ht pkgs alpine version) is before v2.38.0 (v2.34.7) while the one for alpine 3.17 is after (v2.38.4): # 3.15 -- git 2.34.7-r0 $ docker run --rm -it alpine:3.15 apk add git fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz (1/7) Installing ca-certificates (20220614-r0) (2/7) Installing brotli-libs (1.0.9-r5) (3/7) Installing nghttp2-libs (1.46.0-r0) (4/7) Installing libcurl (7.80.0-r6) (5/7) Installing expat (2.5.0-r0) (6/7) Installing pcre2 (10.40-r0) (7/7) Installing git (2.34.7-r0) Executing busybox-1.34.1-r7.trigger Executing ca-certificates-20220614-r0.trigger OK: 19 MiB in 21 packages # 3.17 -- git 2.38.4-r1 $ docker run --rm -it alpine:3.17 apk add git fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz (1/7) Installing ca-certificates (20220614-r4) (2/7) Installing brotli-libs (1.0.9-r9) (3/7) Installing nghttp2-libs (1.51.0-r0) (4/7) Installing libcurl (7.88.1-r1) (5/7) Installing libexpat (2.5.0-r0) (6/7) Installing pcre2 (10.42-r0) (7/7) Installing git (2.38.4-r1) Executing busybox-1.35.0-r29.trigger Executing ca-certificates-20220614-r4.trigger OK: 16 MiB in 22 packages -- David
<CRM67CGTMIZH.OVA636FZH7VU@taiga>
<87edp3b2td.fsf@florness.com>
(view parent)
You can correct this by running: git config --global tar.tar.gz.command 'gzip -cn' On your git.sr.ht host, as the git user.