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-18.104.22.168.4.EL instead
> of kernel-2.6.18-22.214.171.124.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
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.6.9-126.96.36.199.4.EL.src.rpm <-- last in list, ergo last
to be tagged, and thus the winner.
Phil (victim of another gotcha)