dunamai

Dynamic versioning library and CLI

MIT License

Downloads
2.6M
Stars
322
Committers
14

Bot releases are hidden (Show)

dunamai - v0.9.0 (2019-10-22)

Published by mtkennerly almost 5 years ago

  • Added Fossil support.
  • Fixed case with Git/Mercurial/Subversion/Bazaar where, if you checked out an older commit, then Dunamai would consider tags for commits both before and after the commit that was checked out. It now only considers tags for the checked out commit or one of its ancestors, making the results more deterministic.
  • Changed VCS detection to be based on the result of VCS commands rather than looking for VCS-specific directories/files. This avoids the risk of false positives and simplifies cases with inconsistent VCS files (e.g., Fossil uses .fslckout on Linux and _FOSSIL_ on Windows)
dunamai - v0.8.1 (2019-08-30)

Published by mtkennerly about 5 years ago

  • Fixed handling of annotated Git tags, which were previously ignored.
dunamai - v0.8.0 (2019-06-05)

Published by mtkennerly about 5 years ago

  • Changed Version.from_any_vcs to accept the tag_dir argument,
    which will only be used if Subversion is the detected VCS.
    Likewise, dunamai from any now accepts --tag-dir.
  • Added Version.from_vcs to make it easier for other tools to map from a
    user's VCS configuration to the appropriate function.
dunamai - v0.7.1 (2019-05-16)

Published by mtkennerly over 5 years ago

  • Fixed issue on Linux where shell commands were not interpreted correctly.
dunamai - v0.7.0 (2019-04-16)

Published by mtkennerly over 5 years ago

  • Added Bazaar support.
  • Added the dunamai check command and the corresponding check_version
    function.
  • Added the option to check just the latest tag or to keep checking tags
    until a match is found. The default behavior is now to keep checking.
  • Added enforcement of Semantic Versioning rule against numeric segments
    with a leading zero.
  • Renamed the with_metadata and with_dirty arguments of Version.serialize
    to metadata and dirty respectively.
  • Fixed the equality and ordering of Version to consider all attributes.
    dirty and commit were ignored previously if neither post nor dev
    were set, and dirty=None and dirty=False were not distinguished.
dunamai - v0.6.0 (2019-04-14)

Published by mtkennerly over 5 years ago

  • Added Subversion support.
  • Added support for the PVP style.
  • Changed the type of the style argument in Version.serialize from str to Style.
dunamai - v0.4.0 (2019-03-29)

Published by mtkennerly over 5 years ago

  • Added support for custom serialization formats.
dunamai - v0.3.0 (2019-03-29)

Published by mtkennerly over 5 years ago

  • Added Mercurial support.
  • Added a CLI.
  • Renamed Version.from_git_describe to Version.from_git.
  • Changed behavior of Version.serialize argument with_metadata so that,
    by default, metadata is excluded when post and dev are not set.
  • Added with_dirty argument to Version.serialize and removed flag_dirty
    argument from Version.from_git. The information should always be collected,
    and it is up to the serialization step to decide what to do with it.
  • Added Version.from_any_vcs.
  • Removed source attribute of Version since some VCSes may require multiple
    commands in conjunction and therefore not have a single source string.
dunamai - v0.2.0 (2019-03-26)

Published by mtkennerly over 5 years ago

  • Fixed a wrong Git command being used.
  • Made metadata serialization opt-in.
dunamai - v0.1.0 (2019-03-26)

Published by mtkennerly over 5 years ago

  • Initial release.
dunamai - v0.5.0 (2019-03-31)

Published by mtkennerly over 5 years ago

  • Added built-in Semantic Versioning output style in addition to PEP 440.
  • Added style validation for custom output formats.
  • Added Darcs support.
Package Rankings
Top 41.96% on Formulae.brew.sh
Top 22.55% on Conda-forge.org
Top 13.16% on Alpine-edge
Top 2.52% on Pypi.org
Top 15.84% on Spack.io
Top 39.55% on Anaconda.org