Script to generate an RPM changelog from a git repo
Find a file
Nils Philippsen 3b5dc34a5d Move things to rpmautospec Python package
This allows us to reuse code, e.g. to get info out of Koji, for both
calculating release tags and generating the changelog.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-02-21 18:24:16 +01:00
rpmautospec Move things to rpmautospec Python package 2020-02-21 18:24:16 +01:00
tests Move things to rpmautospec Python package 2020-02-21 18:24:16 +01:00
LICENSE Specify the license of the code hosted here: CC0 2020-01-28 11:33:16 +01:00
pyproject.toml Add pyproject.toml to set line length for black 2020-02-21 18:22:12 +01:00
README.rst Document how to generate a good basic changelog directly from git 2020-01-28 11:51:27 +01:00
rpmautospec.py Move things to rpmautospec Python package 2020-02-21 18:24:16 +01:00
setup.cfg Move things to rpmautospec Python package 2020-02-21 18:24:16 +01:00
test_requirements.txt Test next_build.py 2020-01-31 19:07:03 +01:00

generate changelog
==================

This project hosts a simple python script that tries to generate a RPM changelog
from a git repository.

Dependencies:

* python3
* python3-pygit2


This is how you can use it:

* Clone a dist-git repository

::

  fedpkg clone -a guake

* Run ``generate_changelog`` and point it to the repository cloned above

::

  python generate_change guake


Note: You can also generate a good basic changelog using::

  git log --after=2018-01-28 --pretty=oneline \
    --format='%w(1000)**%h**%n* %cd %an <%ae>%n%w(60,0,2)- %s%n' \
    --date="format:%a %b %d %Y"



License: CC0