[arch-projects] [arch-devops] [dbscripts] [PATCH 2/4] Add reproducible archive of packages.

Florian Pritz bluewind at xinu.at
Thu Dec 20 20:55:39 UTC 2018


On Wed, Dec 05, 2018 at 10:49:44AM +0100, Florian Pritz via arch-devops <arch-devops at lists.archlinux.org> wrote:
> Also thinking about this, it would be great if we could skip the pkg
> symlinks for each day's archive and only copy the db itself. All we'd
> need is to have a dedicated PackageServer= setting (like Server=, but
> only for packages, not for the database) for pacman to find the
> packages, but I'm not sure if Allan would like that. That setting would
> also have to support the pkgname substring and the pkgname obviously.

As discussed on IRC, we don't actually need support in pacman here. We
can just set up a rewrite in nginx so that when pacman tries to download
a package file, nginx maps the path correctly. So nginx would rewrite
/$repo/os/$arch/package-....tar.xz to
/packages/p/package/pacakge-....tar.xz. Pacman would still work then and
the only difference would be that we don't have directory listings with
the packages of each day, but who needs those anyways. You can get all
that info from the dbs themselves.

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-projects/attachments/20181220/1ee863eb/attachment.asc>


More information about the arch-projects mailing list