Script to generate an RPM changelog from a git repo
Find a file
Nils Philippsen 6aa079267b Use koji module directly
Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-01-31 19:02:40 +01:00
generate_changelog.py More black 2020-01-31 17:19:00 +01:00
LICENSE Specify the license of the code hosted here: CC0 2020-01-28 11:33:16 +01:00
next_build.py Use koji module directly 2020-01-31 19:02:40 +01:00
README.rst Document how to generate a good basic changelog directly from git 2020-01-28 11:51:27 +01:00
setup.cfg Add basic flake8 configuration 2020-01-31 18:39:02 +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