A CLI tool that infers a next version number for Git repos.
Project description
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
To use the tool:
pip install --user 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 --user pipenv
pipenv sync --dev
Documentation
Docs are hosted at https://chronos-cli.readthedocs.io.
Style
This project follows PEP8.
Testing
pytest
will run unit tests in this repo.flake8
will 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.
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
Built Distribution
Hashes for chronos_cli-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0b852ab828e21d90b887337c455be0e3d170dfd41a24b649c1194a44ac4453c |
|
MD5 | e89e35a2e67b4ce7cf0f57e7a3893738 |
|
BLAKE2b-256 | 0585d643b841b6ce702b5e04879c4e8e3fab7a344de1283d997877210a745668 |