kernel.git: add "version-release" tags?
Jesse Keating
jkeating at redhat.com
Mon Apr 23 15:37:52 UTC 2012
On 04/23/2012 07:58 AM, Tom Callaway wrote:
> On 04/23/2012 10:52 AM, Niels de Vos wrote:
>
>> Well, it is something that all fedora packages could use, it is not
>> restricted to tke kernel package.
>>
>> Maybe fedpkg should create a tag when building or filing an update.
>> CC'ing jkeating who seems to be the fedpkg contact (see
>> https://fedorahosted.org/fedpkg/) for his thoughts.
>
> I'm not sure it can do that safely, because only a _successful_ build
> merits a tag, and fedpkg is done once it hands off a build to koji.
>
Tom is correct. There is an opportunity for some service to listen for
successful builds from koji and create matching tags in git, however the
mentioned fedpkg gitbuildhash is a useful way to directly get to the
hash used for a build.
What you may have missed was that gitbuildhash doesn't take a git /tag/,
it takes an rpm n-v-r, so you can literally do:
$ fedpkg gitbuildhash $(rpm -q --qf="%{sourcerpm}\n" kernel |head -1|sed
-e s/.src.rpm//)
That'll work for more than just kernel too. It's even smart enough to
figure out builds from the CVS era.
Is there anything else required?
--
Jesse Keating
Fedora -- FreedomĀ² is a feature!
More information about the kernel
mailing list