On 15 January 2016 at 11:15, Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> Can we just call this 1.42+1.43-git${SRCPV}?
>

I've a branch somewhere which added test cases for each package manager to
exercise the ~ codepaths in the package managers (where 1.42 < 1.43~git <
1.43) with "interesting" conclusions:

* dpkg works just fine
* opkg's version compare logic is reimplemented three times, differently,
and the tool for comparing versions from the shell is one of those
implementations, at best returns inverted results, and at worse is
non-deterministic.
* rpm has no way to compare versions from the shell

Something else to chip away at during this cycle I guess. Maybe in 2.2
we'll be able to confidently use ~ in versions!

Ross
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to