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

Josh Boyer jwboyer at redhat.com
Mon Apr 23 12:27:28 UTC 2012


On Sun, Apr 22, 2012 at 04:30:38PM +0200, Niels de Vos wrote:
> On Sat, Apr 21, 2012 at 6:31 PM, Josh Boyer <jwboyer at redhat.com> wrote:
> > On Sat, Apr 21, 2012 at 06:25:55PM +0200, Paul Bolle wrote:
> >> 0) Would it be possible to add tags to the kernel.git repository
> >> corresponding to the "%{VERSION}-%{RELEASE}" tags (ie, rpm querytags) of
> >> the kernel rpms (that have actually been released)?
> >>
> >> 1) Eg, checking out the current Fedora 16 kernel could be done with
> >>     git checkout 3.3.2-1.fc16
> >>
> >> instead of
> >>     rpm -q kernel-3.3.2-1.fc16 --changelog | head
> >>     git log -p origin/f16 | less
> >>     [ grep on the string "Linux 3.3.2" ]
> >>     [ copy a sha1sum ]
> >>     git checkout 28b13140ec3375d59bac4f2d6bc336f7b8ed6fc7
> >
> > We might be able to script something to do this.
> >
> >> 2) Or would that require a lot of work for the people in charge of stuff
> >> like that?
> >
> > It's not a huge burden, but it's something we'd need to remember to do.
> > And if we have to remember it, we're going to forget it sometimes too
> > ;).
> >
> > Lets see what can be scripted so we don't have to remember and then we
> > can run it by the team.
> 
> This is already available in fedpkg:
> 
> $ fedpkg gitbuildhash kernel-3.3.2-1.fc16
> 28b13140ec3375d59bac4f2d6bc336f7b8ed6fc7

That covers the hard part.  Now we need to look into coming up with a
workflow that uses that and creates the approriate tags.

josh


More information about the kernel mailing list