On 04.08.2010 07:05, Peter Hutterer wrote:
I don't think git hashes are an equivalent to the nvr tags though. I may
have multiple commits for each nvr, a tag that explicitly specifies which
version ended up as an rpm in koji would be quite helpful. I have troubles
remembering hashes long-term, nvr is marginally easier. it also simplifies
things like "git diff foo-1.2-1..foo-1.2-2" or the automation of that
process.
Cheers,
Peter
I had similar problems identifying the correct git hash for my secondary arch rebuilds and
complained about in in my blog on
http://karstenhopp.livejournal.com/.
The attached patch adds a --commitinfo parameter to koji's buildinfo and latest-pkg
commands.
P.e. koji buildinfo --commitinfo hwdata-0.227-1.fc14 returns
git://pkgs.fedoraproject.org/hwdata?#21d5786ad6701422e71b3952ea3c8103c5ee...
The patch is for koji-1.4.0-2.fc13.noarch, but should be easy to adapt to latest
Karsten