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

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

 



On Mon, Apr 23, 2012 at 08:26:50PM +0200, Paul Bolle wrote:
> On Mon, 2012-04-23 at 08:37 -0700, Jesse Keating wrote:
> > [...] 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?
> 
> Does that mean we end up with a situation that anyone can clone (in this
> case) Fedora's kernel.git repository and do
> 
> 	git checkout $VERSION-$RELEASE
> 
> for any combination of $VERSION-$RELEASE one might be interested in? Ie,
> one can do that without using fedpkg (or any other tool mostly used by
> packagers), but just by using git. If so, that would be great!

No.  Just running that just gets you the git commit for the
corresponding kernel NVRs you have installed.  It doesn't:

1) Do it for all builds
2) Do it for all builds automatically
3) Actually do anything in git at all
4) Push the tags to the main repo

It _does_ make it a lot easier to do the above things, but we'd still
need to actually run $something to do the work.

josh
_______________________________________________
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