Jesse Keating wrote:
On Fri, 2008-09-12 at 17:45 +0100, Bryce wrote:
> when I look at latest-by-tag I get kernel-2.6.9-42.32.0.0.4.EL instead
> of kernel-2.6.18-8.1.6.0.18.el5
> So I'm wondering if the koji code is simply making a character by
> character comparison
>
> ie it's seeing
> 2.6.1 vs
> 2.6.9
>
The last tagged == latest. Koji does not go by n-v-r, precisely so that
you could use tagging to back down a version or roll back a version.
The last tagged build always wins
So whats happened is that when I was bootstrapping the tag, it tagged
them in the order that 'ls' came across them? Ok, that seems fair.
[root@emerald export]# ls ovs-2.1/kern*src.rpm
ovs-2.1/kernel-2.4.21-52.0.0.0.2.EL.src.rpm
ovs-2.1/kernel-2.6.18-8.1.6.0.18.el5.src.rpm
ovs-2.1/kernel-2.6.9-42.0.10.2.3.EL.src.rpm
ovs-2.1/kernel-2.6.9-42.32.0.0.4.EL.src.rpm <-- last in list, ergo last
to be tagged, and thus the winner.
Phil (victim of another gotcha)
=--=