Is it possible to add a small file in /metadata/ during the metadata generation step so we have a way to know exactly which commitid the rsync tree is based off. the following should work: git rev-parse HEAD > metadata/git-commit-id
We should also include date and committer of the last change, just to be sure that we are compliant with the GPL. Maybe this should go into a separate file like metadata/last-change, in order to keep the git-commit-id file machine readable. The output of: git log -1 --date=iso --format=fuller could be used for the last-change file. See previous discussion: https://archives.gentoo.org/gentoo-licenses/message/f42a0ba91e7ca972a1cccbeaa46fd2bd
How about 'git cat-file -p HEAD' -- this should be the machine-readable git format.
(In reply to Michał Górny from comment #2) > How about 'git cat-file -p HEAD' -- this should be the machine-readable git > format. That doesn't include the commit id, and the date format ("1439455101 +0200") isn't human-readable.
We don't plan on doing this afaik. -A