bumpver/README.md

697 lines
21 KiB
Markdown
Raw Normal View History

2018-12-05 09:37:34 +01:00
# [PyCalVer: Automatic CalVer Versioning for Python Packages][repo_ref]
2018-11-05 00:18:49 +01:00
2018-12-05 09:37:34 +01:00
PyCalVer is a simple calendar based versioning system. With a single
`pycalver bump` command it will:
- Automatically update version strings across files in your project.
- Commit those changes and tag the commit with the new version.
Version strings generated by pycalver are compatible with python
packaging software
2018-11-05 00:18:49 +01:00
[setuptools](https://setuptools.readthedocs.io/en/latest/setuptools.html#specifying-your-project-s-version>)
[PEP440](https://www.python.org/dev/peps/pep-0440/).
2018-12-05 09:37:34 +01:00
Project/Repo:
2018-11-05 00:18:49 +01:00
[![MIT License][license_img]][license_ref]
2018-12-05 09:37:34 +01:00
[![Supported Python Versions][pyversions_img]][pyversions_ref]
2018-11-05 00:18:49 +01:00
[![PyCalVer v201809.0002-beta][version_img]][version_ref]
2018-12-05 09:37:34 +01:00
[![PyPI Releases][pypi_img]][pypi_ref]
2018-11-05 00:18:49 +01:00
[![PyPI Downloads][downloads_img]][downloads_ref]
2018-12-05 09:37:34 +01:00
Code Quality/CI:
[![Type Checked with mypy][mypy_img]][mypy_ref]
[![Code Style: sjfmt][style_img]][style_ref]
[![Code Coverage][codecov_img]][codecov_ref]
[![Build Status][build_img]][build_ref]
2018-11-05 00:18:49 +01:00
2018-12-05 09:37:34 +01:00
| Name | role | since | until |
|----------------------------|-------------------|---------|-------|
| Manuel Barkhau (@mbarkhau) | author/maintainer | 2018-09 | - |
2018-11-05 00:18:49 +01:00
<!--
2018-12-05 09:37:34 +01:00
To update the TOC:
2018-11-05 00:18:49 +01:00
$ pip install md-toc
$ md_toc -i gitlab README.md
-->
2018-12-05 09:37:34 +01:00
2018-11-05 00:18:49 +01:00
[](TOC)
2018-11-11 15:07:21 +01:00
- [Introduction](#introduction)
- [Format](#format)
- [Versioning Behaviour](#versioning-behaviour)
- [Lexical Ids](#lexical-ids)
- [Usage](#usage)
- [Configuration](#configuration)
- [Bump It Up](#bump-it-up)
- [Pattern Search and Replacement](#pattern-search-and-replacement)
- [Rational](#rational)
- [Other Versioning Software](#other-versioning-software)
- [Some Details](#some-details)
- [Realities of Version Numbers](#realities-of-version-numbers)
- [Should I use PyCalVer for my Project?](#should-i-use-pycalver-for-my-project)
- [Marketing/Vanity](#marketing-vanity)
- [Rational](#rational-1)
- [Breaking Things is a Big Deal](#breaking-things-is-a-big-deal)
- [A Word on Marketing](#a-word-on-marketing)
- [Commitment to Compatibility](#commitment-to-compatibility)
- [The Life of a Library](#the-life-of-a-library)
- [FAQ](#faq)
2018-11-05 00:18:49 +01:00
[](TOC)
2018-11-11 15:07:21 +01:00
2018-11-05 00:18:49 +01:00
## Introduction
2018-12-05 09:37:34 +01:00
The PyCalVer package provides the `pycalver` command to generate
version strings. The version strings have three parts:
```
o Year and Month of Build
| o Sequential Build Number
| | o Release Tag (optional)
| | |
---+--- --+-- --+--
v201812 .0123 -beta
```
2018-09-02 21:48:12 +02:00
Some examples:
2018-11-05 00:18:49 +01:00
```
v201711.0001-alpha
v201712.0027-beta
v201801.0031
v201801.0032-post
...
v202207.18133
v202207.18134
```
2018-12-05 09:37:34 +01:00
### Version String Format
2018-11-06 21:43:34 +01:00
The format for PyCalVer version strings can be parsed with this
regular expression:
2018-09-02 21:48:12 +02:00
2018-11-05 00:18:49 +01:00
```python
import re
# https://regex101.com/r/fnj60p/10
2018-11-15 22:16:16 +01:00
PYCALVER_PATTERN = r"""
2018-11-05 00:18:49 +01:00
\b
(?P<version>
(?P<calver>
v # "v" version prefix
(?P<year>\d{4})
(?P<month>\d{2})
)
(?P<build>
\. # "." build nr prefix
\d{4,}
)
(?P<release>
\- # "-" release prefix
(?:alpha|beta|dev|rc|post)
)?
)(?:\s|$)
2018-11-15 22:16:16 +01:00
"""
PYCALVER_RE = re.compile(PYCALVER_PATTERN, flags=re.VERBOSE)
2018-11-05 00:18:49 +01:00
version_str = "v201712.0001-alpha"
2018-11-15 22:16:16 +01:00
version_info = PYCALVER_RE.match(version_str).groupdict()
2018-11-05 00:18:49 +01:00
assert version_info == {
"version" : "v201712.0001-alpha",
"calver" : "v201712",
"year" : "2017",
"month" : "12",
"build" : ".0001",
"release" : "-alpha",
}
version_str = "v201712.0033"
2018-11-15 22:16:16 +01:00
version_info = PYCALVER_RE.match(version_str).groupdict()
2018-11-05 00:18:49 +01:00
assert version_info == {
"version" : "v201712.0033",
"calver" : "v201712",
"year" : "2017",
"month" : "12",
"build" : ".0033",
"release" : None,
}
```
2018-11-06 21:43:34 +01:00
### Versioning Behaviour
2018-09-02 21:48:12 +02:00
2018-12-05 09:37:34 +01:00
To see how version strings are incremented, we can use
2018-11-06 21:43:34 +01:00
`pycalver incr`:
2018-09-02 21:48:12 +02:00
2018-11-05 00:18:49 +01:00
```shell
$ pip install pycalver
2018-11-06 21:43:34 +01:00
...
2018-11-05 00:18:49 +01:00
$ pycalver incr v201801.0033-beta
PyCalVer Version: v201809.0034-beta
PEP440 Version: 201809.34b0
2018-11-06 21:43:34 +01:00
```
This is the simple case:
- The calendar component is update to the current year and month.
- The build number is incremented by 1.
- The optional release tag is preserved as is.
2018-09-02 23:36:57 +02:00
2018-12-05 09:37:34 +01:00
You can explicitly update the release tag using the
`--release=<tag>` argument:
2018-11-06 21:43:34 +01:00
```shell
2018-12-05 09:37:34 +01:00
$ pycalver incr v201801.0033-alpha --release=beta
PyCalVer Version: v201809.0034-beta
PEP440 Version: 201809.34b0
$ pycalver incr v201809.0034-beta --release=final
PyCalVer Version: v201809.0035
PEP440 Version: 201809.35
2018-11-06 21:43:34 +01:00
```
2018-09-02 21:48:12 +02:00
2018-11-06 21:43:34 +01:00
The version number is padded with extra zeros, to maintain the
lexical ordering of version numbers. What happens when the
padding is exhausted?
```shell
$ pycalver incr v201809.0999
PyCalVer Version: v201809.11000
PEP440 Version: 201809.11000
2018-11-05 00:18:49 +01:00
```
2018-09-02 21:48:12 +02:00
2018-11-06 21:43:34 +01:00
This is because the build number is generated as a sequence of
lexical ids.
2018-09-02 21:48:12 +02:00
2018-11-06 21:43:34 +01:00
### Lexical Ids
2018-12-05 09:37:34 +01:00
The build number padding may eventually be exhausted. In order to
preserve both lexical ordering, build numbers are incremented in
a special way. Examples will perhaps illustrate more clearly.
2018-11-06 21:43:34 +01:00
```python
"0001"
"0002"
"0003"
...
"0999"
"11000"
"11001"
...
"19998"
"19999"
"220000"
"220001"
```
What is happening here is that the left-most digit is incremented
early/preemptively. Whenever the left-most digit would change,
2018-12-05 09:37:34 +01:00
the padding of the id is expanded using this simple formula:
2018-11-06 21:43:34 +01:00
```python
prev_id = "0999"
next_id = str(int(prev_id, 10) + 1) # "1000"
if prev_id[0] != next_id[0]: # "0" != "1"
next_id = str(int(next_id, 10) * 11) # 1000 * 11 = 11000
```
This behaviour ensures that the following semantic is always
2018-12-05 09:37:34 +01:00
preserved: `old_version < new_version`. This will be the case,
even if the padding was expanded and the version number was
incremented multiple times in the same month. To illustrate the
issue, imagine we did not expand the padding and instead just
incremented numerically.
```python
"0001"
"0002"
"0003"
...
"0999"
"1000"
...
"9999"
"10000"
```
Here we eventually run into a build number where the lexical
ordering is not preserved, since `"9999" < "10000" == False`.
This is a very rare corner case, but it's better to not have
to think about it.
Just as an example of why lexical ordering is a nice property to
have, there are lots of software which read git tags, but which
have no logic to parse version strings, which can nonetheless
order the version tags correctly.
2018-11-06 21:43:34 +01:00
2018-11-11 15:07:21 +01:00
2018-11-06 21:43:34 +01:00
## Usage
2018-09-02 23:36:57 +02:00
2018-11-05 00:18:49 +01:00
### Configuration
2018-09-02 23:36:57 +02:00
2018-12-05 09:37:34 +01:00
The fastest way to setup a project is to use `pycalver init`.
2018-09-02 23:36:57 +02:00
2018-09-02 21:48:12 +02:00
2018-11-05 00:18:49 +01:00
```shell
$ cd my-project
~/my-project$ pycalver init
Updated setup.cfg
```
2018-09-02 21:48:12 +02:00
2018-11-11 15:07:21 +01:00
This will add the something like the following to your
2018-12-05 09:37:34 +01:00
`setup.cfg` (depending on what files you have in your project):
2018-09-02 21:48:12 +02:00
2018-11-05 00:18:49 +01:00
```ini
[pycalver]
commit = True
tag = True
2018-12-05 09:37:34 +01:00
push = True
2018-09-02 23:36:57 +02:00
2018-12-05 09:37:34 +01:00
[pycalver:file_patterns]
setup.cfg =
2018-11-05 00:18:49 +01:00
current_version = {version}
2018-12-05 09:37:34 +01:00
setup.py =
2018-11-05 00:18:49 +01:00
"{version}",
"{pep440_version}",
2018-12-05 09:37:34 +01:00
README.md =
2018-11-05 00:18:49 +01:00
{version}
{pep440_version}
```
2018-09-02 23:36:57 +02:00
2018-11-06 21:43:34 +01:00
This may or may not cover all version numbers across your
repository. Something like the following may illustrate
additional changes you might need to make.
2018-09-02 21:48:12 +02:00
2018-11-05 00:18:49 +01:00
```ini
[pycalver]
current_version = v201809.0001-beta
commit = True
tag = True
2018-12-05 09:37:34 +01:00
push = True
2018-09-02 21:48:12 +02:00
2018-12-05 09:37:34 +01:00
[pycalver:file_patterns]
setup.cfg =
2018-11-05 00:18:49 +01:00
current_version = {version}
2018-12-05 09:37:34 +01:00
setup.py =
2018-11-05 00:18:49 +01:00
version="{pep440_version}"
2018-12-05 09:37:34 +01:00
src/myproject.py =
2018-11-05 00:18:49 +01:00
__version__ = "{version}"
2018-12-05 09:37:34 +01:00
README.md =
2018-11-05 00:18:49 +01:00
[PyCalVer {calver}{build}-{release}]
img.shields.io/badge/PyCalVer-{calver}{build}--{release}-blue
```
2018-09-02 21:48:12 +02:00
2018-11-11 15:07:21 +01:00
### Bump It Up
To increment and publish a new version, you can use the
`pycalver bump` command:
```shell
$ pycalver bump
```
This will do a few things
0. Check that you don't have any non-committed local changes.
1. Fetch the most recent global vcs tags from origin.
2. Generate a new version, incremented from on the most recent
tag on any branch.
3. Update version strings in all configured files.
4. Commit the updated version strings.
5. Tag the new commit.
6. Push the new commit to origin.
The current version is defined either as
- The lexically largest git/mercurial tag in the repository.
- The value of `pycalver.current_version` in setup.cfg
The git/mercurial tags are used to minimize the chance that the
same version will be generated for different revisions. As part
of doing `pycalver bump`, your local repository is updated
using `git fetch --tags`/`hg pull`, to ensure that all tags are
known locally
git push --follow-tags
the version To
avoid this completely you n
The value in setup.cfg is only used on projects that don't use
revision control.
If your project does not use git or mercurial for version
control, then the current_version will be set by `pycalver init`.
```shell
$ pycalver show
Current Version: v201809.0001-beta
PEP440 Version: 201809.1b0
$ pycalver bump --dry
TODO: diff output
Don't forget to do $ git push --tags
```
TODO: commits and tags
2018-11-05 00:18:49 +01:00
### Pattern Search and Replacement
2018-09-02 23:36:57 +02:00
2018-11-05 00:18:49 +01:00
`patterns` is used both to search for version strings and to
2018-09-02 23:36:57 +02:00
generate the replacement strings. The following placeholders are
available for use, everything else in a pattern is treated as
literal text.
2018-11-05 00:18:49 +01:00
| placeholder | example |
|------------------|--------------------|
| `pep440_version` | 201809.1b0 |
| `version` | v201809.0001-alpha |
| `calver` | v201809 |
| `year` | 2018 |
| `month` | 09 |
| `build` | .0001 |
| `release` | -alpha |
2018-09-02 23:36:57 +02:00
Note that the separator/prefix characters are part of what is
matched and generated for a given placeholder, and they should
not be included in your patterns.
A further restriction is, that a version string cannot span
multiple lines in your source file.
2018-11-05 00:18:49 +01:00
Now we can call `pycalver bump` to bump all occurrences of
2018-09-02 21:48:12 +02:00
version strings in these files. Normally this will change local
2018-11-05 00:18:49 +01:00
files, but the `--dry` flag will instead display a diff of the
2018-09-02 21:48:12 +02:00
changes that would be applied.
2018-11-06 21:43:34 +01:00
## Rational
2018-09-02 21:48:12 +02:00
2018-11-06 21:43:34 +01:00
### Other Versioning Software
2018-09-02 21:48:12 +02:00
2018-11-06 21:43:34 +01:00
This project is very similar to
[bumpversion](https://github.com/peritus/bumpversion), upon which
it is partially based. So why another library?
PyCalVer version strings can be
generated automatically, usage is a bit more simple.
2018-09-02 21:48:12 +02:00
2018-11-05 00:18:49 +01:00
### Some Details
2018-09-02 21:48:12 +02:00
- Version numbers are for public releases. For the purposes of
development of the project itself, reference VCS branches and
commit ids are more appropriate.
- There should be only one person or system responsible for
updating the version number at the time of release, otherwise
the same version number may be generated for different builds.
2018-11-11 15:07:21 +01:00
- Lexical order is
2018-09-02 21:48:12 +02:00
Canonical PyCalVer version strings can be parsed with this
regular expression:
These are the full version strings, for public announcements and
conversations it will often be sufficient to refer simply to
2018-11-05 00:18:49 +01:00
`v201801`, by which the most recent `post` release build of
2018-09-02 21:48:12 +02:00
that month is meant.
2018-11-05 00:18:49 +01:00
```
version_str = "v201712.0027-beta"
version_dict = pycalver_re.match("v201712.0027-beta").groupdict()
import pkg_resources # from setuptools
version = pkg_resources.parse_version(version_str)
--
2018-09-02 21:48:12 +02:00
2018-11-05 00:18:49 +01:00
In [2]: version_dict
{'year': '2017', 'month': '12', 'build_nr': '0027', 'tag': 'beta'}
>>> str(version)
201712.27b0
```
2018-09-02 21:48:12 +02:00
2018-11-11 15:07:21 +01:00
### Realities of Version Numbers
2018-09-02 21:48:12 +02:00
Nobody knows what the semantics of a version number are, because
nobody can guarantee that a given release adheres to whatever
convention one would like to imbibe it with. Lets just keep things
simple.
- Version numbers should be recognizable as such, that's what
the "v" prefix does.
- A number like 201808 is recognizable to many as a number
derived from a calendar.
- alpha, beta are common parlance indicating software which is
still under development.
Some additional constraints are applied to conform with PEP440
2018-11-05 00:18:49 +01:00
### Should I use PyCalVer for my Project?
2018-09-02 21:48:12 +02:00
If your project is 1. not useful by itself, but only when used
by other software, 2. has a finite scope/a definition of "done",
3. your project has CI, a test suite with and decent code
coverage, then PyCalVer is worth considering.
You release at most once per month.
2018-11-05 00:18:49 +01:00
### Marketing/Vanity
2018-09-02 21:48:12 +02:00
Quotes from http://sedimental.org/designing_a_version.html
2018-11-05 00:18:49 +01:00
### Rational
2018-09-02 21:48:12 +02:00
PyCalVer is opinionated software. This keeps things simple,
2018-11-11 15:07:21 +01:00
when the opinion match yours, but makes it useless for
2018-09-02 21:48:12 +02:00
everybody else.
2018-11-11 15:07:21 +01:00
The less semantics you put in your version string, the better.
The ideal would be to only have a single semantic: newer ==
better.
2018-09-02 21:48:12 +02:00
Some projects depend recursively on hundreds of libraries, so
2018-11-11 15:07:21 +01:00
compatibility issues generated by your project can be a heavy
burden on thousands of users; users who learn of the existence
of your library for the first time in the form of a stack-trace.
PyCalVer is for projects that are committed to and can maintain
backward compatibility. Newer versions are always better,
2018-09-02 21:48:12 +02:00
updates are always safe, an update won't break things, and if it
does, the maintainer's hair is on fire and they will publish a
new release containing a fix ASAP.
Ideally, your user can just declare your library as a
dependency, without any extra version qualifier, and never have
to think about it again. If you do break something by accident,
their remedy is not to change their code, but to temporarily pin
an earlier version, until your bugfix release is ready.
PyCalVer is for projects which are the mundane but dependable
foundations of other big shiny projects, which get to do their
big and exciting 2.0 major releases.
2018-11-05 00:18:49 +01:00
### Breaking Things is a Big Deal
2018-09-02 21:48:12 +02:00
Using an increment in a version string to express that a release
2018-11-11 15:07:21 +01:00
may break client code is not tenable. A developer cannot be
2018-09-02 21:48:12 +02:00
expected to think about how their code may or may not break as a
consequence of your decision to rename some functions. As the
author of any software, there is a great temptation to move fast
and break things. This is great when no other software depends
on yours. If something breaks, you jump up and fix it. The story
is quite different even when only a few dozen people depend on
your software.
The less the users of your library have to know about your
project, the better. The less they have to deal with issues
2018-11-11 15:07:21 +01:00
of compatibility, the better. SemVer can be overly specific
2018-09-02 21:48:12 +02:00
for some kinds of projects. If you are writing a library
2018-11-11 15:07:21 +01:00
and you have a commitment to backward compatibility
2018-09-02 21:48:12 +02:00
PyCalVer version strings can be parsed according to PEP440
https://www.python.org/dev/peps/pep-0440/
2018-11-05 00:18:49 +01:00
### A Word on Marketing
2018-09-02 21:48:12 +02:00
This setup of expectations for users can go one of two ways,
We use version numbers to communicate between the authors
of software and its users. For users of libraries Particularly
for libraries, it pays to keep things as simple as possible for
your human users.
2018-11-11 15:07:21 +01:00
### Commitment to Compatibility
2018-09-02 21:48:12 +02:00
Software projects can depend on many libraries. Consider that one
package introducing a breaking change is enough to mess up your
day. Especially in the case of libraries, your users should be
able to write code that uses it and not have that code break at
any point in the future. Users cannot be asked to keep track of
all the changes to every little library that they use.
PyCalVer is explicitly non semantic. A PyCalVer version number does
not express anything about
- Don't ever break things. When users depend on your
2018-11-11 15:07:21 +01:00
software, backward compatibility matters and the way to
2018-09-02 21:48:12 +02:00
express backward incompatible changes is not to bump a
version number, but to change the package name. A change
in the package name clearly communicates that a user must
change their code so that it will work with the changed
2018-11-11 15:07:21 +01:00
API. Everybody who does not have the bandwidth for those
2018-09-02 21:48:12 +02:00
changes, doesn't even have to be aware of your new
release.
- When you do break something, that should be considered a
bug that has to be fixed as quickly as possible in a new
version. It should always be safe for a user to update
their dependencies. If something does break, users have to
2018-11-11 15:07:21 +01:00
temporarily pin an older (known good) version, or update
2018-09-02 21:48:12 +02:00
to a newer fixed version.
- Version numbers should not require a parser (present
package excluded of course). A newer version number should
2018-11-11 15:07:21 +01:00
always be lexically greater than an older one.
2018-09-02 21:48:12 +02:00
TODO:
https://setuptools.readthedocs.io/en/latest/setuptools.html#specifying-your-project-s-version
The main component of the version number is based on the
calendar date. This is allows you to show your commitment (or
2018-11-11 15:07:21 +01:00
lack thereof) to the maintenance of your library. It also
2018-09-02 21:48:12 +02:00
allows users to see at a glance that their dependency might be
out of date. In this versioning scheme it is completely
reasonable to bump the version number without any changes,
simply to express to your users, that you are still actively
maintaining the software and that it is in a known good state.
For a much more detailed exposition of CalVer, see
http://sedimental.org/designing_a_version.html
https://calver.org/
from pkg_resources import parse_version
2018-11-05 00:18:49 +01:00
### The Life of a Library
2018-09-04 19:56:57 +02:00
2018-11-05 00:18:49 +01:00
```
mylib v201711.001-alpha # birth of a project (in alpha)
mylib v201711.002-alpha # new features (in alpha)
mylib v201712.003-beta # bugfix release (in beta)
mylib v201712.004-rc # release candidate
mylib v201712.005 # stable release
mylib v201712.006 # stable bugfix release
2018-09-02 21:48:12 +02:00
2018-11-05 00:18:49 +01:00
mylib2 v201712.007-beta # breaking change (new package name!)
mylib2 v201801.008-beta # new features (in beta)
mylib2 v201801.009 # stable release
2018-09-02 21:48:12 +02:00
2018-11-05 00:18:49 +01:00
mylib v201802.007 # security fix for legacy version
mylib2 v201802.010 # security fix
2018-09-02 21:48:12 +02:00
2018-11-05 00:18:49 +01:00
mylib2 v202604.9900 # threshold for four digit build numbers
mylib2 v202604.9901 # still four digits in the same month
mylib2 v202604.9911 # last build number with four digits
mylib2 v202605.09912 # build number zero padding added with date turnover
mylib2 v202605.09913 # stable release
2018-09-02 21:48:12 +02:00
2018-11-05 00:18:49 +01:00
mylib2 v203202.16051-rc # release candidate
mylib2 v203202.16052 # stable release
2018-09-02 21:48:12 +02:00
2018-11-05 00:18:49 +01:00
...
v202008.500 # 500 is the limit for four digit build numbers, but
v202008.508 # zero padding is added only after the turnover to
v202009.0509 # a new month, so that lexical ordering is preserved.
```
2018-09-02 21:48:12 +02:00
2018-09-04 19:56:57 +02:00
2018-09-02 21:48:12 +02:00
The date portion of the version, gives the user an indication of
how up their dependency is, whether or not a project is still
being maintained.
The build number, gives the user an idea of the maturity of the
project. A project which has been around long enough to produce
hundreds of builds, might be considered mature, or at least a
project that is only on build number 10, is probably still in
early development.
2018-11-05 00:18:49 +01:00
### FAQ
2018-09-02 21:48:12 +02:00
Q: "So you're trying to tell me I need to create a whole new
package every time I introduce a introduce a breaking change?!".
A: First of all, what the hell are you doing? Secondly, YES!
Let's assume your little package has even just 100 users. Do you
have any idea about the total effort that will be expended
because you decided it would be nice to change the name of a
function? It is completely reasonable introduce that the
friction for the package author when the price to users is
orders of magnitude larger.
1801
https://calver.org/
I have given up on the idea that version numbers express
anything about changes made between versions. Trying to
express such information assumes 1. that the author of a package
is aware of how a given change needs to be reflected in a
2018-11-11 15:07:21 +01:00
version number and 2. that users and packaging software correctly
2018-09-02 21:48:12 +02:00
parse that meaning. When I used semantic versioning, I realized that
2018-09-02 23:36:57 +02:00
the major version number of my packages would never change,
2018-09-04 19:56:57 +02:00
because I don't think breaking changes should ever be
2018-11-05 00:18:49 +01:00
2018-12-05 09:37:34 +01:00
[repo_ref]: https://gitlab.com/mbarkhau/pycalver
2018-11-05 00:18:49 +01:00
[build_img]: https://gitlab.com/mbarkhau/pycalver/badges/master/pipeline.svg
[build_ref]: https://gitlab.com/mbarkhau/pycalver/pipelines
[codecov_img]: https://gitlab.com/mbarkhau/pycalver/badges/master/coverage.svg
[codecov_ref]: https://mbarkhau.gitlab.io/pycalver/cov
[license_img]: https://img.shields.io/badge/License-MIT-blue.svg
[license_ref]: https://gitlab.com/mbarkhau/pycalver/blob/master/LICENSE
2018-12-05 09:37:34 +01:00
[mypy_img]: https://img.shields.io/badge/mypy-checked-green.svg
2018-11-05 00:18:49 +01:00
[mypy_ref]: http://mypy-lang.org/
[style_img]: https://img.shields.io/badge/code%20style-%20sjfmt-f71.svg
[style_ref]: https://gitlab.com/mbarkhau/straitjacket/
[downloads_img]: https://pepy.tech/badge/pycalver
[downloads_ref]: https://pepy.tech/project/pycalver
[version_img]: https://img.shields.io/badge/PyCalVer-v201809.0002--beta-blue.svg
[version_ref]: https://pypi.org/project/pycalver/
2018-12-05 09:37:34 +01:00
[pypi_img]: https://img.shields.io/badge/PyPI-wheels-green.svg
[pypi_ref]: https://pypi.org/project/pycalver/#files
2018-11-05 00:18:49 +01:00
[pyversions_img]: https://img.shields.io/pypi/pyversions/pycalver.svg
[pyversions_ref]: https://pypi.python.org/pypi/pycalver