chronos
A CLI tool that infers a next version number for Git repos. It does its magic by looking at the commit messages of commits made since the last tag that had a semver in it. For this to work properly, your commits should following the Conventional Commits spec.
Getting started
Requires Git 2.0+.
To use the tool:
pip install --upgrade chronos-cli- Change into a Git repo.
chronos infer
To bootstrap a development environment (after you've cloned the repo and changed into it):
pip install --upgrade pipenvpipenv sync --dev
Documentation
Docs are hosted at https://chronos-cli.readthedocs.io.
Style
This project follows PEP8.
Testing
pytestwill run unit tests in this repo.flake8will lint the code.
This repo also has a CI/CD pipeline built with Ansible and GitLab CI.
The pipeline's Ansible playbook can be run on your *nix workstation too:
ansible-playbook ansible/pipeline.yml --tags build
Contributing
Commits should follow the Conventional Commits spec.
FAQ
TODO
Acknowledgements
- Thanks to Eric Poitras for asking me to write an earlier version of what would become this tool. This was really his idea.
Metadata
Release files for chronos-cli 0.2.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| chronos-cli-0.2.12.tar.gz | 6.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chronos_cli-0.2.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.4 kB
Release files / chronos-cli-0.2.12.tar.gz
| Download URL | chronos-cli-0.2.12.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e2e6174ac4cf638e21302504fcab1d5a6b2e6904fef925bb05d946f03b49986
|
|
BLAKE2b-256 checksum How to use checksums |
881b58d3e766cc072ae5acb87d80e3f0b2a5394c315dba392f6cc46b6e863889
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Release files / chronos_cli-0.2.12-py3-none-any.whl
| Download URL | chronos_cli-0.2.12-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
832ebfab56e21b2c264391513ee243706e87cd776c091a90bd4d905ae33fef9f
|
|
BLAKE2b-256 checksum How to use checksums |
84dd7b85515a2f02583d653543cbe98f43166673aa0affdc826ee041bf260388
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Security for chronos-cli 0.2.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.