Open GoogleCodeExporter opened 8 years ago
The leiningen AMP plugin faced exactly this issue, and resolved it by
converting SNAPSHOT versions into "1 less" than the stated version (solution
here:
https://github.com/pmonks/lein-amp/blob/master/src/leiningen/amp/impl.clj#L53).
For example project version 1.1.0-SNAPSHOT becomes module version 1.0.999,
which clearly preserves the numerical ordering MMT requires (1.0.999 < 1.1.0).
Note: this approach has a risk of collisions if a given module ends up with an
actual released project / module version of 1.0.999. This is why
base-one-thousand was chosen for the "1 less" calculation, and a higher base
could be selected if the collision risk is perceived as being too high.
Original comment by peter.mo...@alfresco.com
on 21 May 2014 at 5:53
Original comment by colum...@gmail.com
on 10 Jun 2014 at 12:44
Issue 69 has been merged into this issue.
Original comment by colum...@gmail.com
on 17 Jul 2014 at 1:22
Original comment by colum...@gmail.com
on 17 Jul 2014 at 1:31
Original issue reported on code.google.com by
peter.mo...@alfresco.com
on 21 May 2014 at 5:49