pacman/scripts/libmakepkg/source
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
..
bzr.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
file.sh.in makepkg: immutable git sources by hashing the checkout content 2023-08-28 22:15:03 +10:00
fossil.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
git.sh.in makepkg: immutable git sources by hashing the checkout content 2023-08-28 22:15:03 +10:00
hg.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
local.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
meson.build Add fossil scm support to makepkg 2020-11-26 21:58:40 +10:00
svn.sh.in Update copyright years 2022-01-02 13:34:52 +10:00