Commit Graph

123 Commits

Author SHA1 Message Date
f1bd734498
fix: fix syntax issue in annotation parser (#725) 2024-06-22 20:49:16 +02:00
951f4394da
fix: add error handling for not existing base dir (#726) 2024-06-22 12:25:23 +02:00
8e22e87a31
refactor: replace logger by structlog (#718)
BREAKING CHANGE: Replace the custom logger and `python-json-logger` with
`structlog`. This will also change the layout and general structure of
the log messages.

The original `python-json-logger` package is unmaintained and has caused
some issues. Using https://github.com/nhairs/python-json-logger.git
instead has fixed the logging issues but prevents PyPI package
uploads...

```
HTTP Error 400: Can't have direct dependency: python-json-logger@ git+https://github.com/nhairs/python-json-logger.git@v3.1.0. See https://packaging.python.org/specifications/core-metadata for more information.
```
2024-06-17 13:51:03 +02:00
08e2178333
feat: add option to load templates from remote git sources (#717) 2024-06-12 20:59:55 +02:00
8e042c739e
feat: migrate to dynaconf to handle multi-source configuration (#708) 2024-06-07 21:51:10 +02:00
9b20c11660
fix: exclude tags from exclude_tags during rendering (#711) 2024-06-07 21:30:10 +02:00
ab0372bef5
chore: unifi jinja template syntax and add linting (#704) 2024-06-02 09:00:07 +02:00
89c6a11be4
fix: fix sysexit with custom error (#703) 2024-06-02 00:08:25 +02:00
Chip Selden
4051d2915d
feat: add option for tabulating variables (#693) 2024-06-01 22:05:16 +02:00
7b9ba09f1d fix linting 2024-03-11 09:44:16 +01:00
b2f4fd2bd8
chore: bump ruff to v0.2.1 (#651) 2024-02-06 09:34:17 +01:00
1e8a8beef7 fix linting 2024-01-15 15:24:52 +01:00
78d4c5f44b
fix: make ansible-core an optional extra-dependency (#631) 2024-01-10 08:32:57 +01:00
0db500b0a8
fix: replace log by message for yes/no prompt (#606) 2023-11-23 10:33:36 +01:00
dfa10dd209
fix: skip missing yaml file (#605) 2023-11-23 08:58:32 +01:00
cacc92f831
fix: parse taskfiles as ansible tasks (#597) 2023-11-12 21:39:41 +01:00
9536cd400d
fix: replace deprecated ruamel.yaml.safe_load (#596) 2023-11-12 14:46:24 +01:00
593a90ff10
chore: drop yapf and favor of the ruff formatter (#595) 2023-11-10 14:50:50 +01:00
66f7738139
fix: remove deprecated distutils (#572) 2023-10-16 12:10:57 +02:00
8e3dd49970 fix linting 2023-08-29 10:24:41 +02:00
a4a497ca4e
remove unnecessary newlines in templates (#537) 2023-08-09 09:46:15 +02:00
renovate[bot]
114f87306f
chore(deps): update dependency ruff to v0.0.278 (#527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-07-19 10:16:46 +02:00
renovate[bot]
49e4a7183a
chore(deps): update devdeps non-major (#517)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-06-28 09:57:00 +02:00
458f9fc577
feat: add vars deprecated and type scope to built-in templates (#509) 2023-06-14 16:47:44 +02:00
588f41a3ea
feat: add support for indentation with spaces (#508) 2023-06-14 13:31:01 +02:00
renovate[bot]
70f458dce6
chore(deps): update devdeps non-major (#493) 2023-05-28 23:07:24 +02:00
596b27e696
fix: fix formatting of meta.license.value in readme template (#479) 2023-04-05 14:08:36 +02:00
Germain Lefebvre
26d7a3cb8d
feat: add role requirements to templates (#463) 2023-03-27 21:04:56 +02:00
Germain Lefebvre
3d544b3beb
feat: extend var options with type and deprecated (#462) 2023-03-27 13:18:42 +02:00
Enzo Venturi
997959eda2
chore: update comment from "Todo" to "Tag" for tag includes (#466) 2023-03-02 08:41:29 +01:00
renovate[bot]
152e4e6adb
chore(deps): update dependency ruff to v0.0.252 (#464) 2023-02-27 09:03:09 +01:00
a95add9fbe
fix: fix map filter used for meta description (#457) 2023-02-16 20:55:31 +01:00
8a8647512c
feat: add option to run ansible-doctor recursively (#451) 2023-02-12 12:57:57 +01:00
3aad08646f
fix: join lines with newline instead of space in markdown templates (#446) 2023-02-09 19:27:22 +01:00
renovate[bot]
7382318cf6
chore(deps): update dependency ruff to v0.0.243 (#441) 2023-02-08 10:21:23 +01:00
878cce1791
fix: use custom method for annotation split to allow escape chars (#432) 2023-01-22 15:02:09 +01:00
renovate[bot]
457e1fdcf9
chore(deps): update dependency ruff to v0.0.229 (#431) 2023-01-21 22:17:54 +01:00
194a4e1d82
refctor: migrate flake8 to ruff python linter (#429) 2023-01-20 11:56:12 +01:00
renovate[bot]
4bfe75d991
chore(deps): update devdependencies (non-major) (#354) 2022-08-21 23:10:03 +02:00
89be30578c
feat: add support for hugo summary (#315) 2022-06-07 13:40:02 +02:00
b6a2813114
fix: get role name from dependencies in case of a dictionary (#300) 2022-05-17 14:19:31 +02:00
ce0cd8a7e6
feat: add option exclude_tags to disable auto-discovery (#289) 2022-04-29 13:19:35 +02:00
renovate[bot]
a6ace7a257
fix(deps): update dependency jinja2 to v3.1.1 (#267) 2022-03-27 13:13:34 +02:00
307abeb3cb
fix: catch duplicate key error on yaml load (#256) 2022-03-02 22:37:13 +01:00
6a4328d6d5
fix: allow to force line breaks using '\' in multiline strings (#255) 2022-03-02 14:33:37 +01:00
15321e9fe9
feat: auto-discover tags and add annotation identifier (#250) 2022-02-26 13:35:34 +01:00
a3f240ef02
feat: implement todo identifiers (#246) 2022-02-21 21:38:47 +01:00
c5106144ad
fix: preserve multiline string formatting (#245) 2022-02-19 21:29:27 +01:00
aac0ef5f20
fix: allow line-breaks in multiline annotations (#243) 2022-02-19 14:58:35 +01:00
8678ab4c00
fix: fix format string of the json logger (#181) 2021-10-07 22:59:43 +02:00