Skip to content

Commit 4f66af7

Browse files
committed
Fix issue/release URLs to use hyphenated repo slug
The towncrier issue_format and template tag URL both used the Python module name (circuit_maintenance_parser) instead of the GitHub repo slug (circuit-maintenance-parser), producing 404 links in the release notes. Corrects the config, the template, and the already-rendered v2.11.0 section of docs/release_notes.md (including the pre-existing #345 link that inherited the same bug).
1 parent e0d1b41 commit 4f66af7

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

docs/release_notes.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@ This document describes all new features and changes in the release. The format
1313
- Major features or milestones
1414
- Changes to compatibility with Nautobot and/or other apps, libraries etc.
1515

16-
## [v2.11.0 (2026-04-15)](https://github.com/networktocode/circuit_maintenance_parser/releases/tag/v2.11.0)
16+
## [v2.11.0 (2026-04-15)](https://github.com/networktocode/circuit-maintenance-parser/releases/tag/v2.11.0)
1717

1818
### Added
1919

20-
- [#375](https://github.com/networktocode/circuit_maintenance_parser/issues/375) - Added Google subject parser with support for multiple status types and notifications without end times.
20+
- [#375](https://github.com/networktocode/circuit-maintenance-parser/issues/375) - Added Google subject parser with support for multiple status types and notifications without end times.
2121

2222
### Fixed
2323

24-
- [#372](https://github.com/networktocode/circuit_maintenance_parser/issues/372) - Refactored OpenAI parser to be used as a fallback and fixed subject injection to skip text/calendar parts.
25-
- [#377](https://github.com/networktocode/circuit_maintenance_parser/issues/377) - Fixed Lumen parser incorrectly marking scheduled future maintenance events as IN-PROCESS instead of CONFIRMED. Bug introduced in commit 737aa4e9 (Aug 2021).
24+
- [#372](https://github.com/networktocode/circuit-maintenance-parser/issues/372) - Refactored OpenAI parser to be used as a fallback and fixed subject injection to skip text/calendar parts.
25+
- [#377](https://github.com/networktocode/circuit-maintenance-parser/issues/377) - Fixed Lumen parser incorrectly marking scheduled future maintenance events as IN-PROCESS instead of CONFIRMED. Bug introduced in commit 737aa4e9 (Aug 2021).
2626

2727
### Dependencies
2828

29-
- [#391](https://github.com/networktocode/circuit_maintenance_parser/issues/391) - Upgraded lxml to version 6.0.2 and normalized CRLF line endings in HTML parser output.
30-
- [#393](https://github.com/networktocode/circuit_maintenance_parser/issues/393) - Pinned lxml version to support >=4.6.2,<7.
29+
- [#391](https://github.com/networktocode/circuit-maintenance-parser/issues/391) - Upgraded lxml to version 6.0.2 and normalized CRLF line endings in HTML parser output.
30+
- [#393](https://github.com/networktocode/circuit-maintenance-parser/issues/393) - Pinned lxml version to support >=4.6.2,<7.
3131

3232
### Housekeeping
3333

34-
- [#384](https://github.com/networktocode/circuit_maintenance_parser/issues/384) - Added Python 3.13 to supported versions and CI matrix.
34+
- [#384](https://github.com/networktocode/circuit-maintenance-parser/issues/384) - Added Python 3.13 to supported versions and CI matrix.
3535
- Added required cookiecutter json file for drift management setup.
3636
- Fixed incorrectly set cookiecutter project_slug.
3737

@@ -45,7 +45,7 @@ This document describes all new features and changes in the release. The format
4545

4646
- [#360](https://github.com/networktocode/circuit-maintenance-parser/issues/360) - Updated lxml to include version 6
4747
- [#361](https://github.com/networktocode/circuit-maintenance-parser/issues/361) - Updated timezonefinder to v8.2.0
48-
- [#345](https://github.com/networktocode/circuit_maintenance_parser/issues/345) - Updated minimum Python version to 3.10 and upgraded dependencies including pytest (9.0), pylint (4.0), towncrier (25.8), backoff (2.2), and type stubs
48+
- [#345](https://github.com/networktocode/circuit-maintenance-parser/issues/345) - Updated minimum Python version to 3.10 and upgraded dependencies including pytest (9.0), pylint (4.0), towncrier (25.8), backoff (2.2), and type stubs
4949

5050
### Housekeeping
5151

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ directory = "changes"
147147
filename = "docs/release_notes.md"
148148
template = "towncrier_template.j2"
149149
start_string = "<!-- towncrier release notes start -->"
150-
issue_format = "[#{issue}](https://github.com/networktocode/circuit_maintenance_parser/issues/{issue})"
150+
issue_format = "[#{issue}](https://github.com/networktocode/circuit-maintenance-parser/issues/{issue})"
151151

152152
[[tool.towncrier.type]]
153153
directory = "security"

towncrier_template.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This document describes all new features and changes in the release. The format
99
- Changes to compatibility with Nautobot and/or other apps, libraries etc.
1010

1111
{% if render_title %}
12-
## [v{{ versiondata.version }} ({{ versiondata.date }})](https://github.com/networktocode/circuit_maintenance_parser/releases/tag/v{{ versiondata.version}})
12+
## [v{{ versiondata.version }} ({{ versiondata.date }})](https://github.com/networktocode/circuit-maintenance-parser/releases/tag/v{{ versiondata.version}})
1313

1414
{% endif %}
1515
{% for section, _ in sections.items() %}

0 commit comments

Comments
 (0)