Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Adding dev type changelog at towncrier
Browse files Browse the repository at this point in the history
  • Loading branch information
fao89 committed Jun 23, 2020
1 parent 87cd15b commit d1e6f9c
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/validate_commit_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
KEYWORDS = ["fixes", "closes", "re", "ref"]
NO_ISSUE = "[noissue]"
STATUSES = ["NEW", "ASSIGNED", "POST", "MODIFIED"]
CHANGELOG_EXTS = [".feature", ".bugfix", ".doc", ".removal", ".misc"]
CHANGELOG_EXTS = [".feature", ".bugfix", ".doc", ".removal", ".misc", ".dev"]

sha = sys.argv[1]
message = subprocess.check_output(["git", "log", "--format=%B", "-n 1", sha]).decode("utf-8")
Expand Down
1 change: 1 addition & 0 deletions CHANGES/7034.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Adding dev type changelog
31 changes: 31 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,34 @@ title_format = "{version} ({project_date})"
template = "CHANGES/.TEMPLATE.md"
issue_format = "[#{issue}](https://pulp.plan.io/issues/{issue})"
start_string = "<!-- TOWNCRIER -->\n"
[[tool.towncrier.section]]
path = ""

[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true

[[tool.towncrier.type]]
directory = "bugfix"
name = "Bugfixes"
showcontent = true

[[tool.towncrier.type]]
directory = "doc"
name = "Improved Documentation"
showcontent = true

[[tool.towncrier.type]]
directory = "removal"
name = "Deprecations and Removals"
showcontent = true

[[tool.towncrier.type]]
directory = "misc"
name = "Misc"
showcontent = false
[[tool.towncrier.type]]
directory = "dev"
name = "Devel"
showcontent = true

0 comments on commit d1e6f9c

Please sign in to comment.