Fwd: Re: dist-git tag question

Jesse Keating jkeating at redhat.com
Fri Sep 3 20:58:15 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think this should go here for review.

- -------- Original Message --------
Subject: Re: dist-git tag question
Date: Fri, 06 Aug 2010 02:06:07 +0200
From: Karsten Hopp <karsten at redhat.com>
To: Development discussions related to Fedora
<devel at lists.fedoraproject.org>
CC: Peter Hutterer <peter.hutterer at who-t.net>,        Jesse Keating
<jkeating at redhat.com>


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?#21d5786ad6701422e71b3952ea3c8103c5ee72e2

The patch is for koji-1.4.0-2.fc13.noarch, but should be easy to adapt
to latest


    Karsten

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkyBYWYACgkQ4v2HLvE71NVl/QCdGjHMG5q6ILMPEQ0p/lQNJ4UC
VVcAmwZr22Jeb+DeYtJHOvNGo0q32Kkl
=RMPS
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: koji-commitinfo.patch
Url: http://lists.fedoraproject.org/pipermail/buildsys/attachments/20100903/05284ee3/attachment.pl 


More information about the buildsys mailing list