On Sat, Apr 21, 2012 at 6:31 PM, Josh Boyer <jwboyer(a)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
Cheers,
Niels