pacman/scripts/libmakepkg/integrity
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
..
generate_checksum.sh.in makepkg: immutable git sources by hashing the checkout content 2023-08-28 22:15:03 +10:00
generate_signature.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
meson.build Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
verify_checksum.sh.in makepkg: immutable git sources by hashing the checkout content 2023-08-28 22:15:03 +10:00
verify_signature.sh.in Update copyright years 2022-01-02 13:34:52 +10:00