Skip to main content

Custom releaser hooks for ONCE project based on zest.releaser

Project description

Coveralls https://codecov.io/gh/rber474.releaser/branch/master/graph/badge.svg Latest Version Egg Status https://img.shields.io/pypi/pyversions/rber474.releaser.svg?style=plastic:alt:Supported-PythonVersions License

rber474.releaser

Custom releaser hooks for JIRA project based on zest.releaser and cs.zestreleaser.changelog. This hook extract the commit messages from the last release tag to the current tag and create the towncrier news fragments, based on tbhe JIRA issue and the towncrier type.

Currently it only supports GIT VCS logs.

The commit messages must be in the following format:

<optional prefix> <issue_name>-<issue_number> <towncrier type> <message> [<author>]

Author will be extracted from the git history.

Examples

The following commit messages are valid:

Revert WEBAGL-1234 feature Add new feature Add WEBAGL-1234 feature new feature WEBAGL-1235 bugfix Fix AttributeError RequestContainer object has no attribute getClientForURL

Fragmentes files will be created in the following format:

news/feature/WEBAGL-1234.feature

Add new feature [Rafael Bermúdez Horcajada <myemail@email.com>]
Revert new feature [Rafael Bermúdez Horcajada <myemail@email.com>]

news/feature/WEBAGL-1235.bugfix

Fix AttributeError RequestContainer object has no attribute getClientForURL [Rafael Bermúdez Horcajada <myemail@email.com>]

Installation

Using pip:

$ pip install rber474.releaser

Authors

  • Rafael Bermúdez Horcajada

Contributors

Put your name here, you deserve it!

  • ?

Contribute

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.0a7 (2024-09-20)

Bug fixes:

  • Ensure the newsfile is added to the git index to avoid pre-commit hooks to fail

1.0a6 (2024-09-20)

Bug fixes:

  • Don’t assign encoding to file

1.0a5 (2024-09-20)

New features:

  • Execute at hook zest.releaser.prereleaser.before

1.0a4 (2024-09-20)

Bug fixes:

  • Fix regex pattern to extract prefix properly [Rafael Bermúdez Horcajada <rber474@gmail.com>]

1.0a3 (2024-09-19)

Bug fixes:

1.0a2 (2024-09-19)

New features:

1.0a1 (unreleased)

  • Initial release. [rber474]

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

rber474_releaser-1.0a7.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

rber474.releaser-1.0a7-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file rber474_releaser-1.0a7.tar.gz.

File metadata

  • Download URL: rber474_releaser-1.0a7.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for rber474_releaser-1.0a7.tar.gz
Algorithm Hash digest
SHA256 ff076ecd2a36dd29ff40bb2b6f19c1fe4ad77aef2cf6b201af1267a7563a3248
MD5 a6b5659eb6707de2c3ad8f3f9710276e
BLAKE2b-256 edf09dbcbd8c8c9ca82eb8d49b13b63b02f8f7fcb2a8d92ff9eb049d1d276c35

See more details on using hashes here.

File details

Details for the file rber474.releaser-1.0a7-py3-none-any.whl.

File metadata

File hashes

Hashes for rber474.releaser-1.0a7-py3-none-any.whl
Algorithm Hash digest
SHA256 a2b7a2fa5a280f425700923db76a042a6bc584971a9bbf4ddf44e40dbddec423
MD5 aca6b086d4e40437ced573783658679d
BLAKE2b-256 d63bc37dad5cbbf4ce164e60f4e3617dc7410da5e71f9aedd4f1b3a35841d60f

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