-
fromRepo
java.lang.String fromRepo
Folder where repo lives.
-
fromRef
java.lang.String fromRef
Include all commits from here. Any tag or branch name.
-
toRef
java.lang.String toRef
Include all commits to this reference. Any tag or branch name. There is a constant for master
here: reference{GitChangelogApiConstants#REF_MASTER}.
-
fromCommit
java.lang.String fromCommit
Include all commits from here. Any commit hash. There is a constant pointing at the first
commit here: reference{GitChangelogApiConstants#ZERO_COMMIT}.
-
toCommit
java.lang.String toCommit
Include all commits to here. Any commit hash.
-
ignoreTagsIfNameMatches
java.lang.String ignoreTagsIfNameMatches
A regular expression that is evaluated on each tag. If it matches, the tag will be filtered out
and not included in the changelog.
-
ignoreCommitsIfMessageMatches
java.lang.String ignoreCommitsIfMessageMatches
A regular expression that is evaluated on the commit message of each commit. If it matches, the
commit will be filtered out and not included in the changelog.
To ignore tags creted by Maven and Gradle release plugins, perhaps you want this:
^\[maven-release-plugin\].*|^\[Gradle Release Plugin\].*|^Merge.*
Remember to escape it, if added to the json-file it would look like this:
^\\[maven-release-plugin\\].*|^\\[Gradle Release Plugin\\].*|^Merge.*
-
ignoreCommitsIfOlderThan
java.util.Date ignoreCommitsIfOlderThan
A date that is evaluated on the commit time of each commit. If the commit is older than the
point in time given, then it will be filtered out and not included in the changelog.
See SimpleDateFormat.
-
untaggedName
java.lang.String untaggedName
Some commits may not be included in any tag. Commits that not released yet may not be tagged.
This is a "virtual tag", added to
Changelog.getTags(), that includes those commits. A
fitting value may be "Next release".
-
templatePath
java.lang.String templatePath
Path of template-file to use. It is a Mustache (https://mustache.github.io/) template. Supplied
with the context of
Changelog.
-
readableTagName
java.lang.String readableTagName
Your tags may look something like git-changelog-maven-plugin-1.6. But in the
changelog you just want 1.6. With this regular expression, the numbering can be
extracted from the tag name.
/([^-]+?)$
-
dateFormat
java.lang.String dateFormat
Format of dates, see SimpleDateFormat.
-
noIssueName
java.lang.String noIssueName
This is a "virtual issue" that is added to
Changelog.getIssues(). It contains all
commits that has no issue in the commit comment. This could be used as a "wall of shame"
listing commiters that did not tag there commits with an issue.
-
timeZone
java.lang.String timeZone
When date of commits are translated to a string, this timezone is used.
UTC
-
removeIssueFromMessage
boolean removeIssueFromMessage
If true, the changelog will not contain the issue in the commit comment. If your changelog is
grouped by issues, you may want this to be true. If not grouped by issue, perhaps false.
-
jiraServer
java.lang.String jiraServer
URL pointing at your JIRA server. When configured, the
Issue.getTitle() will be
populated with title from JIRA.
https://jiraserver/jira
-
jiraIssuePattern
java.lang.String jiraIssuePattern
Pattern to recognize JIRA:s. \b[a-zA-Z]([a-zA-Z]+)-([0-9]+)\b
Or escaped if added to json-file:
\\b[a-zA-Z]([a-zA-Z]+)-([0-9]+)\\b
-
jiraUsername
java.lang.String jiraUsername
Authenticate to JIRA.
-
jiraPassword
java.lang.String jiraPassword
Authenticate to JIRA.
-
gitHubApi
java.lang.String gitHubApi
URL pointing at GitHub API. When configured, the
Issue.getTitle() will be populated
with title from GitHub.
https://api.github.com/repos/tomasbjerre/git-changelog-lib
-
gitHubToken
java.lang.String gitHubToken
GitHub authentication token. Configure to avoid low rate limits imposed by GitHub in case you
have a lot of issues and/or pull requests.
https://api.github.com/repos/tomasbjerre/git-changelog-lib
-
gitHubIssuePattern
java.lang.String gitHubIssuePattern
Pattern to recognize GitHub:s. #([0-9]+)
-
customIssues
java.util.List<E> customIssues
Custom issues are added to support any kind of issue management, perhaps something that is
internal to your project. See
SettingsIssue.
-
extendedVariables
java.util.Map<K,V> extendedVariables
Extended variables is simply a key-value mapping of variables that are made available in the
template. Is used, for example, by the Bitbucket plugin to supply some internal variables to
the changelog context.
-
ignoreCommitsWithoutIssue
boolean ignoreCommitsWithoutIssue
Commits that don't have any issue in their commit message will not be included.
-
gitLabServer
java.lang.String gitLabServer
GitLab server URL, like https://gitlab.com/.
-
gitLabToken
java.lang.String gitLabToken
-
gitLabIssuePattern
java.lang.String gitLabIssuePattern
Pattern to recognize GitLab:s. #([0-9]+)
-
gitLabProjectName
java.lang.String gitLabProjectName