Đoàn Trần Công Danh
2af30cdd78
setup: compute gitrev from outside of chroot
...
Together with previous commit, `xbps-src` is able to support
git-worktree and shared repository by now.
2020-05-23 06:59:24 +00:00
Đoàn Trần Công Danh
20f9bedefb
xbps-src: use $XBPS_GIT_CMD for git
2020-05-23 06:59:24 +00:00
Piotr Wójcik
eb3405a5ed
hooks/generate-gitrevs: update summary
2019-11-23 09:33:32 +01:00
Juan RP
6e13dcbaff
xbps-src: introduce XBPS_STATEDIR to store state files, logs and others.
...
XBPS_STATEDIR is created in XBPS_BUILDDIR/.xbps-${sourcepkg}-${version}
and contains logs and state files for all phases, as well as wrappers.
We can now inspect the output from all hooks.
2014-12-11 11:02:22 +01:00
Juan RP
aec1b80e86
hooks/generate-gitrevs: fallback to the git cmd for bootstrap builds.
2014-08-26 07:53:31 +02:00
Juan RP
af6ee5374e
xbps-src: s/git/chroot-git/g
2014-07-27 16:29:18 +02:00
Juan RP
cf49b68c09
hooks/generate-gitrevs: simplify and just use "sourcepkg:gitshortrev".
...
Previous way was way too slow and somewhat redundant. Just with the
latest git short rev is enough to know at what point a pkg was built.
2014-06-27 12:00:24 +02:00
Juan RP
030f58909f
common/hooks: new post-install hook to generate pkg gitrevs file.
2014-03-02 08:33:28 +01:00