All of lore.kernel.org
 help / color / mirror / Atom feed
* bb.utils.vercmp() not consistent with debian rules
@ 2012-04-05  6:22 Lu, Lianhao
  2012-04-05  6:28 ` Martin Jansa
  0 siblings, 1 reply; 8+ messages in thread
From: Lu, Lianhao @ 2012-04-05  6:22 UTC (permalink / raw)
  To: 'bitbake-devel@lists.openembedded.org'

Hi guys,

When I'm looking at the Yocto bug#2233, I find that the function bb.utils.vercmp() is not consistent with the debian packaging rules(http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version). 

According to debian rules, "r0" is earlier than "r0-dream", but the bb.utils.vercmp() thinks "r0" is later than "r0-dream".

A pervious patch http://cgit.openembedded.org/bitbake/commit/?id=727ce6ffe33a119cb17f7d91b173f11a055eea3c seems causing the bb.utils.vercmp to specially handle the separators of "." and "-". 

Is it desired to behave differently from debian rules?

Best Regards,
-Lianhao



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-04-06 19:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-05  6:22 bb.utils.vercmp() not consistent with debian rules Lu, Lianhao
2012-04-05  6:28 ` Martin Jansa
2012-04-05  6:42   ` Lu, Lianhao
2012-04-05 12:18     ` Richard Purdie
2012-04-05 12:59       ` Richard Purdie
2012-04-05 14:44         ` Lu, Lianhao
2012-04-06  3:00           ` Lu, Lianhao
2012-04-06 16:56     ` Mark Hatle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.