pacman/scripts
Levente Polyak 2fc2ab6cf0 makepkg: immutable git sources by hashing the checkout content
This feature makes Git VCS build inputs immutable by adding support for
pinning a Git checkout by a hash of its content using the deterministic
export functionality `git archive`.

This feature aids packagers by allowing them to use simple and
convenient refnames (instead of full commit hashes) in the `PKGBUILD`
while still preserving security implications of immutable build inputs
using a trusted cryptographic hash function of the content.

Previously VCS source downloads have been skipped for `--geninteg` and
`--source` as both options did not need a checkout. This commit changes
this behavior by forcing the download of all sources as integrity checks
and generation requires to have an up to date state.

Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
2023-08-28 22:15:03 +10:00
..
completion zsh: make names unique to avoid clashes 2022-12-24 00:55:30 +10:00
libmakepkg makepkg: immutable git sources by hashing the checkout content 2023-08-28 22:15:03 +10:00
po Update mailing list url 2021-11-20 12:38:25 -08:00
.gitignore libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
libmakepkg.pc.in Update urls to not use www. for archlinux.org 2021-04-08 10:14:33 +10:00
makepkg-template.pl.in Update copyright years 2022-01-02 13:34:52 +10:00
makepkg.sh.in makepkg: immutable git sources by hashing the checkout content 2023-08-28 22:15:03 +10:00
meson.build meson: do not use meson.source_root() and meson.build_root() 2022-03-06 16:26:34 +10:00
pacman-db-upgrade.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
pacman-key.sh.in pacman-key: Fix shell syntax 2023-01-01 15:54:48 +01:00
repo-add.sh.in Fix repo-add 2022-12-19 10:08:57 +10:00
wrapper.sh.in Update copyright years 2022-01-02 13:34:52 +10:00