Skip to main content

Manage changelog and bump project version number using conventional commits from latest git tag.

Project description

ConvBump

Code style: black Latest Version BSD License

A simple tool that reads Git history and returns the next version and changelog based on conventional commits.

Attribution

This project is forked from Badabump created by Igor Davydenko.

Notice

This project is a heavily modified fork that solves our specific needs. We discourage anyone from using it and we will offer no support to anyone. Checkout Badabump for a more general tool.

Development

The application is written in Python and uses Poetry to configure the package and manage its dependencies.

Make sure you have Poetry CLI installed. Then you can run

$ poetry install

which will install the project dependencies (including dev dependencies) into a Python virtual environment managed by Poetry (alternatively, you can activate your own virtual environment beforehand and Poetry will use that).

Run tests with pytest

$ poetry run pytest

or

$ poetry shell
$ pytest

pytest will take configuration from pytest.ini file first (if present), then from pyproject.toml. Add any local configuration to pytest.ini. Configuration in pyproject.toml will be used in Teamcity. You can run your tests the same way as Teamcity to catch any errors

$ pytest -c pyproject.toml

Code formatting

The application is formatted using black and isort. You can either run black and isort manually or use prepared Poe task to format the whole project.

$ poetry run poe format_code

or

$ poetry shell
$ poe format_code

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

convbump-0.1.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

convbump-0.1.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file convbump-0.1.0.tar.gz.

File metadata

  • Download URL: convbump-0.1.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.11 Linux/5.8.0-1039-azure

File hashes

Hashes for convbump-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1b212a19de76645a2a14e1631a941499f413ae6f946ef7464364e6c541d9ae0c
MD5 f67b65be2fe8aeaf7712560bb75d99d8
BLAKE2b-256 39a4e50746eeb9ab0933c553af22e7b791743779d582f5b8b19401ddd966e877

See more details on using hashes here.

File details

Details for the file convbump-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: convbump-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.11 Linux/5.8.0-1039-azure

File hashes

Hashes for convbump-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 498445be3f7cd09274a817f2d7bbc93f23e3be76a626245b4603e88f007d31fb
MD5 4baa89f25088c4fb0e5bed8a11ce56a6
BLAKE2b-256 930d40a77c3fe0d7d760df4e0043a18f79efc88cc31434c1f5d0407f4cd3b55b

See more details on using hashes here.

Supported by

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