Skip to main content

A CLI tool that infers a next version number for Git repos.

Project description

chronos

pypi version pypi python versions pipeline status Documentation Status sonarcloud quality gate sonarcloud coverage sonarcloud bugs sonarcloud reliability

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 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chronos-cli-0.2.5.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chronos_cli-0.2.5-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file chronos-cli-0.2.5.tar.gz.

File metadata

  • Download URL: chronos-cli-0.2.5.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for chronos-cli-0.2.5.tar.gz
Algorithm Hash digest
SHA256 a8bc54d21986693a97ddc2b0760d99a369f7a9d21c7bc8795d247369158cc01e
MD5 e437f9e97f4d3eb68439c7f13f607061
BLAKE2b-256 fad7ac85a9c2fdfc9ce20aac9cc6c12d3be4c3053d3744f300bfac50c2b26c4c

See more details on using hashes here.

File details

Details for the file chronos_cli-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: chronos_cli-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for chronos_cli-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 eefa1f796be1bca777bbe6f904c6f70d86fd90e09d8db691eaffacfde5f38792
MD5 6937e056028f6a0e5a988daea45539fa
BLAKE2b-256 48988e341610d25037a7fef3fdf68b97d5a01ecee2c98c98e68c5971f21082e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page