generate_changelog.configuration.Configuration
Configuration#
- class generate_changelog.configuration.Configuration[source]#
Configuration options for generate-changelog.
-
starting_tag_pipeline:
Optional
[list
]# Pipeline to find the most recent tag for incremental changelog generation. Leave empty to always start at first commit.
-
unreleased_label:
str
= 'Unreleased'# Used as the version title of the changes since the last valid tag.
- __init__(variables=<factory>, starting_tag_pipeline=<factory>, unreleased_label='Unreleased', summary_pipeline=<factory>, body_pipeline=<factory>, output_pipeline=<factory>, template_dirs=<factory>, group_by=<factory>, tag_pattern='^[0-9]+\\\\.[0-9]+(?:\\\\.[0-9]+)?$', include_merges=False, ignore_patterns=<factory>, commit_classifiers=<factory>, valid_author_tokens=<factory>, release_hint_rules=<factory>)#
- Parameters:
variables (dict) –
starting_tag_pipeline (list | None) –
unreleased_label (str) –
summary_pipeline (list) –
body_pipeline (list) –
output_pipeline (list) –
template_dirs (list) –
group_by (list) –
tag_pattern (str) –
include_merges (bool) –
ignore_patterns (list) –
commit_classifiers (list) –
valid_author_tokens (list) –
release_hint_rules (list) –
- Return type:
None
-
tag_pattern:
str
= '^[0-9]+\\.[0-9]+(?:\\.[0-9]+)?$'# Only tags matching this regular expression are used for the changelog.
-
ignore_patterns:
list
# Ignore commits whose summary line matches any of these regular expression patterns.
-
commit_classifiers:
list
# Set the commit’s category metadata to the first classifier that returns
True
.
-
starting_tag_pipeline: