• Sebastian Damm's avatar
    generate-git-snapshot: support DCH_CHANGELOG_FILE to change path for git-dch · 09a78f2e
    Sebastian Damm authored
    In cases where the source package comes already with a debian
    folder which is located in some subfolder, it can be needed to
    specify the path to that file explicitly for git-dch to work
    correctly. That's what "$DCH_CHANGELOG_FILE" can be used for.
    
    For example in the Kamailio repository at
    https://github.com/kamailio/kamailio you see that there is no
    debian folder in the project root. The debian folder is located
    under pkg/kamailio/deb/$distribution. When symlinking this folder
    to ./debian before starting the build, then git-dch inspects
    ./debian/changelog but it finds no commit for the latest
    changelog entry.  So we have to point git-dch to the changelog
    file where it is actually committed. By using
    "DCH_CHANGELOG_FILE=pkg/kamailio/deb/$distribution/changelog"
    this works as intended. Otherwise git-dch will start building a
    changelog entry for all commits that exist in the project, but
    that will run forever.
    09a78f2e
Name
Last commit
Last update
debian Loading commit data...
examples Loading commit data...
git Loading commit data...
github Loading commit data...
jjb Loading commit data...
pbuilder-hookdir Loading commit data...
puppet Loading commit data...
scripts Loading commit data...
svn Loading commit data...
tap Loading commit data...
tests Loading commit data...
.mailmap Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
NOTES.org Loading commit data...
README.md Loading commit data...
fabfile.py Loading commit data...