Metadata-Version: 2.1
Name: rber474.releaser
Version: 1.0a7
Summary: Custom releaser hooks for ONCE project based on zest.releaser
Home-page: https://github.com/rber474/rber474.releaser
Author: Rafael Bermúdez Horcajada
Author-email: rber474@gmail.com
License: GPL version 2
Project-URL: PyPI, https://pypi.org/project/rber474.releaser/
Project-URL: Source, https://github.com/rber474/rber474.releaser
Project-URL: Tracker, https://github.com/rber474/rber474.releaser/issues
Keywords: zest.releaser release upload custom PyPI SCP SFTP package sdist
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: Console
Classifier: Environment :: Plugins
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Archiving :: Packaging
Classifier: Topic :: System :: Installation/Setup
Classifier: Topic :: Utilities
Requires-Python: >=3.9
License-File: LICENSE.GPL
License-File: LICENSE.rst
Requires-Dist: setuptools>=68.0.0
Requires-Dist: zest.releaser
Requires-Dist: zestreleaser.towncrier
Requires-Dist: towncrier
Provides-Extra: test
Requires-Dist: wheel; extra == "test"
Requires-Dist: zope.testing; extra == "test"
Requires-Dist: zope.testrunner; extra == "test"


.. image:: https://coveralls.io/repos/github/rber474.releaser/badge.svg?branch=main
    :target: https://coveralls.io/github/rber474.releaser?branch=main
    :alt: Coveralls

.. image:: https://codecov.io/gh/rber474.releaser/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/rber474.releaser

.. image:: https://img.shields.io/pypi/v/rber474.releaser.svg
    :target: https://pypi.python.org/pypi/rber474.releaser/
    :alt: Latest Version

.. image:: https://img.shields.io/pypi/status/rber474.releaser.svg
    :target: https://pypi.python.org/pypi/rber474.releaser
    :alt: Egg Status

.. image:: https://img.shields.io/pypi/pyversions/rber474.releaser.svg?style=plastic   :alt: Supported - Python Versions

.. image:: https://img.shields.io/pypi/l/rber474.releaser.svg
    :target: https://pypi.python.org/pypi/rber474.releaser/
    :alt: 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
----------

- Issue Tracker: https://github.com/rber474.releaser/issues
- Source Code: https://github.com/rber474.releaser


License
-------

The project is licensed under the GPLv2.


Contributors
============

- Rafael Bermúdez Horcajada, rber474@gmail.com


Changelog
=========

.. You should *NOT* be adding new change log entries to this file.
   You should create a file in the news directory instead.

.. towncrier release notes start

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:


- Fix release workfloww [Rafael Bermúdez Horcajada <rber474@gmail.com>]


1.0a2 (2024-09-19)
------------------

New features:


- Switch to OpenID Connect [Rafael Bermúdez Horcajada <rber474@gmail.com>]


1.0a1 (unreleased)
------------------

- Initial release.
  [rber474]
