Skip to content

Commit db3944e

Browse files
committed
v1.7 prep
1 parent 8ea7eca commit db3944e

File tree

4 files changed

+66
-2
lines changed

4 files changed

+66
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang
1111

1212
<!-- towncrier release notes start -->
1313

14+
## [1.7.0](https://github.com/opsmill/infrahub-sdk-python/tree/v1.7.0) - 2025-01-23
15+
16+
### Added
17+
18+
- adds `infrahubctl repository list` command
19+
1420
## [1.6.0](https://github.com/opsmill/infrahub-sdk-python/tree/v1.6.0) - 2025-01-16
1521

1622
### Added

changelog/+infrahubctl_repository_list.added.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/towncrier.md.template

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{% if render_title %}
2+
{% if versiondata.name %}
3+
# {{ versiondata.name }} {{ versiondata.version }} ({{ versiondata.date }})
4+
{% else %}
5+
# {{ versiondata.version }} ({{ versiondata.date }})
6+
{% endif %}
7+
{% endif %}
8+
{% for section, _ in sections.items() %}
9+
{% if section %}
10+
11+
## {{section}}
12+
{% endif %}
13+
{% if sections[section] %}
14+
{% for category, val in definitions.items() if category in sections[section] %}
15+
### {{ definitions[category]['name'] }}
16+
17+
{% for text, values in sections[section][category].items() %}
18+
- {{ text }}
19+
{%- if values %}
20+
{% if "\n - " in text or '\n * ' in text %}
21+
22+
23+
(
24+
{%- else %}
25+
{% if text %} ({% endif %}
26+
{%- endif -%}
27+
{%- for issue in values %}
28+
{{ issue.split(": ", 1)[0] }}{% if not loop.last %}, {% endif %}
29+
{%- endfor %}
30+
{% if text %}){% endif %}
31+
32+
{% else %}
33+
34+
{% endif %}
35+
{% endfor %}
36+
37+
{% if issues_by_category[section][category] and "]: " in issues_by_category[section][category][0] %}
38+
{% for issue in issues_by_category[section][category] %}
39+
{{ issue }}
40+
{% endfor %}
41+
42+
{% endif %}
43+
{% if sections[section][category]|length == 0 %}
44+
No significant changes.
45+
46+
{% else %}
47+
{% endif %}
48+
{% endfor %}
49+
{% else %}
50+
No significant changes.
51+
52+
{% endif %}
53+
{% endfor +%}

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requires-python = ">=3.9"
55

66
[tool.poetry]
77
name = "infrahub-sdk"
8-
version = "1.6.0"
8+
version = "1.7.0"
99
description = "Python Client to interact with Infrahub"
1010
authors = ["OpsMill <[email protected]>"]
1111
readme = "README.md"
@@ -344,6 +344,7 @@ underlines = ["", "", ""]
344344
title_format = "## [{version}](https://github.com/opsmill/infrahub-sdk-python/tree/v{version}) - {project_date}"
345345
issue_format = "[#{issue}](https://github.com/opsmill/infrahub-sdk-python/issues/{issue})"
346346
orphan_prefix = "+"
347+
template = "changelog/towncrier.md.template"
347348

348349
[[tool.towncrier.type]]
349350
directory = "security"
@@ -375,6 +376,11 @@ directory = "fixed"
375376
name = "Fixed"
376377
showcontent = true
377378

379+
[[tool.towncrier.type]]
380+
directory = "housekeeping"
381+
name = "Housekeeping"
382+
showcontent = true
383+
378384
[build-system]
379385
requires = ["poetry-core"]
380386
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)