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.1.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: convbump-0.1.1.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.8.12 Linux/5.8.0-1042-azure

File hashes

Hashes for convbump-0.1.1.tar.gz
Algorithm Hash digest
SHA256 909572a362d70b0ef72a6ad75768377c658239f4e19a8e2bd972a2e2d284c677
MD5 9c906643f46725add6a5c7d65b3643e6
BLAKE2b-256 4c8cf819ed27188ba2babad6cfa31fa446027b0df3c72054637bc8a10af9466a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for convbump-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a97b7226ec15054f4ec11825fb2eeb93d9f316ad0a9382a27697983c895187dc
MD5 2bf235f81ebb42d5bddf6b35c715348a
BLAKE2b-256 8c70fa00e1a54ca08833a602fb5e22ce3854d1f3eede91d10e689954ed92bd8a

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