Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate-git-snapshot: add DCH_LOG_RESTRICTION #109

Merged
merged 3 commits into from
Jan 21, 2015

Conversation

bmiklautz
Copy link
Contributor

  • combine dch opts to one variable that is used
  • add new environment variable DCH_LOG_RESTRICTION

Combine DCH_OPTS and DCH_EXTRA_OPTS to DCH_COMBINED_OPTS that only one
variable need to be used as parameter.
DCH_LOG_RESTRICTION can be used to pass additional (path restriction)
parameters to git-dch. For example to restrict the repository path that
is looked at.

A path is for example required if debian is not a directory but a link to a
sub directory created during source package build (e.g. with
PRE_DCH_HOOK). In such a case the changelog would always
contain all commits of the repository if the path wasn't restricted.

Note: An extra parameter was chosen because DCH_OPT couldn't be used
since it isn't the last argument and overriding DCH_EXTRA_OPTS is also
not easily possible if the adjusted VERSION_STRING should be used.
mika added a commit that referenced this pull request Jan 21, 2015
generate-git-snapshot: add DCH_LOG_RESTRICTION
@mika mika merged commit 9228e31 into mika:master Jan 21, 2015
@mika
Copy link
Owner

mika commented Jan 21, 2015

Yeah, lovely additions - thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants