Open waynr opened 10 years ago
I think your assessment in #40 is probably right though there might be some wiggle room, via the metadata. I'll think about it but won't promise anything. Version strings are forever and the primary compatability, communication point.
We have heard of issues with some artifact repositories not taking these strings as well even though, they are fully compliant with the Maven version spec and implementation.
I'm always happy to hear suggestions.
Our internal packaging tool for
puppet-server
uses the Maven artifact version to indicate package versions.We are considering the use of lein-voom to track internal development versions of
puppet-server
to avoid inconsistent jumps [edit: in version string, ie 0.2.1 to 0.2.5 to 0.2.7] between publicly-released maven artifacts and OS packages. However, my initial trials of lein voom have revealed that the datetime format used in its version strings is incompatible with RPM package naming conventions due to the use of understore in `YYYYMMDD_HHmm".Two different approaches that we believe would address this issue include:
YYYYMMDD_HHmm
lein-voom
version string format inproject.clj
such that users oflein-voom
could use a standard datetime format string with an additional formatting option to add in a long or short git sha if they wish. The default without this format string specified inproject.clj
would be the same as it is currently.I am personally partial to the second approach. If this issue is approved by the core developer(s) I will research available clojure datetime string formatting libraries and submit a PR ASAP.