a tool to provide versions wit scm data.
Project description
============
vcver Python
============
--------------
What is vcver?
--------------
vcver is a versioning tool that includes tooling for creating versions
that allow easy correlation to the change in version control.
Defaults are also provided for a version string that is compatible
with semantic versioning, with
`PEP440`<https://www.python.org/dev/peps/pep-0440/> compatible and
incompatible variants.
----------------------
Version String Formats
----------------------
The default version string for vcver is of the form::
{tag_version}.{commit_count}+{scm_change_id}
Where:
* tag_version is retrieved from the last tagged commit with a leading v and is numerics and dots (e.g. v1.0)
* commitcount is the number of commits from the version tag consumed
* scm_change_id is a unique id in the form of version control, used to identify
the change that was used to build this version.
Pre-PEP440 Version
==================
Some (much older) versions of setuptools are unable to consume the default version string,
due to the plus in the version string.
If you need backwards compatibility and you would still like vc versioning, the
following format is recommended:
{tag_version}.{commit_count}.{scm_change_id}
--------------------------------------
Compatibility with Semantic Versioning
--------------------------------------
Semantic versioning is a standard to provided a meaning to the major, minor, and patch
versions of a version string. Compatibility with semver is possible if
new major / minor versions are tagged according the semver spec.
--------------
Special Thanks
--------------
- Zillow, from where this library is inspired.
- Taylor McKay (@tmckay), who implemented the original Python version at Zillow
- Mohammad Sarhan (@sarhanm), who designed and implemented the original Java version at Zillow.
vcver Python
============
--------------
What is vcver?
--------------
vcver is a versioning tool that includes tooling for creating versions
that allow easy correlation to the change in version control.
Defaults are also provided for a version string that is compatible
with semantic versioning, with
`PEP440`<https://www.python.org/dev/peps/pep-0440/> compatible and
incompatible variants.
----------------------
Version String Formats
----------------------
The default version string for vcver is of the form::
{tag_version}.{commit_count}+{scm_change_id}
Where:
* tag_version is retrieved from the last tagged commit with a leading v and is numerics and dots (e.g. v1.0)
* commitcount is the number of commits from the version tag consumed
* scm_change_id is a unique id in the form of version control, used to identify
the change that was used to build this version.
Pre-PEP440 Version
==================
Some (much older) versions of setuptools are unable to consume the default version string,
due to the plus in the version string.
If you need backwards compatibility and you would still like vc versioning, the
following format is recommended:
{tag_version}.{commit_count}.{scm_change_id}
--------------------------------------
Compatibility with Semantic Versioning
--------------------------------------
Semantic versioning is a standard to provided a meaning to the major, minor, and patch
versions of a version string. Compatibility with semver is possible if
new major / minor versions are tagged according the semver spec.
--------------
Special Thanks
--------------
- Zillow, from where this library is inspired.
- Taylor McKay (@tmckay), who implemented the original Python version at Zillow
- Mohammad Sarhan (@sarhanm), who designed and implemented the original Java version at Zillow.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vcver-0.0.1.dev1.tar.gz
(5.3 kB
view details)
Built Distribution
File details
Details for the file vcver-0.0.1.dev1.tar.gz
.
File metadata
- Download URL: vcver-0.0.1.dev1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c85a313a1e029fbc85d7d808a443b72f69a6b01c1a9a05350bde0b631a8a2a0 |
|
MD5 | 35d2dddf7003ee23c14059a6fdf2bdef |
|
BLAKE2b-256 | cf20b34e3cb0beb30a48043a3176cbac6f736ca52e2d45bca856713f71b15f8b |
File details
Details for the file vcver-0.0.1.dev1-py2.py3-none-any.whl
.
File metadata
- Download URL: vcver-0.0.1.dev1-py2.py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9258a91b82046759a1de8100a61de1f813d5ac94dcdc645a88a282a381a1178e |
|
MD5 | 5479c6d1e31687e461972dd1cee63f18 |
|
BLAKE2b-256 | 4f957175c6fc64e019ee505a3f53b154da6e12c9e4dd63509bde32386efb1e70 |