Re: kernel.git: add "version-release" tags?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!
_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kernel



[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux