- 25 Jan, 2022 4 commits
-
-
Jakub Ružička authored
CI: improve runs of individual tests See merge request !97
-
Jakub Ružička authored
* disable all but unit tests in test stage with $MINIMAL * prevent deploy phase for TEST_* runs on master
-
Jakub Ružička authored
CI: allow running individual integration test jobs See merge request !96
-
Jakub Ružička authored
-
- 18 Jan, 2022 6 commits
-
-
Tomas Krizek authored
CI: remove Debian 9 jobs for Knot projects See merge request !95
-
Jakub Ružička authored
-
Jakub Ružička authored
Knot DNS dropped support for Debian 9 as it finally reaches EOL soon.
-
Jakub Ružička authored
docs: properly escape include / include_raw tags See merge request !94
-
Jakub Ružička authored
-
Jakub Ružička authored
As the docs themselves are jinja templated, {% raw %} tag was needed to escape {% include 'foo' %} and {% include_raw 'foo' %} examples.
-
- 12 Jan, 2022 1 commit
-
-
Jakub Ružička authored
templates: new include_raw tag Closes #63 See merge request !93
-
- 11 Jan, 2022 2 commits
-
-
Jakub Ružička authored
Fixes: #63
-
Jakub Ružička authored
arch: improve build deps parsing Closes #64 See merge request !92
-
- 10 Jan, 2022 3 commits
-
-
Jakub Ružička authored
https://wiki.archlinux.org/title/PKGBUILD#makedepends Fixes: #64
-
Jakub Ružička authored
Don't invoke install_build_deps() when 0 build deps were found. Related: #64
-
Jakub Ružička authored
nix: tweak using "unstable" nix CLI; fix CI See merge request !91
-
- 21 Dec, 2021 2 commits
-
-
Vladimír Čunát authored
Unfortunately it causes also some other weird problems; see comments: knot/knot-resolver!1242 (comment 238533)
-
Vladimír Čunát authored
This addresses issues when used with nix >= 2.4, which recently happened in CI due to update of the default docker tag.
-
- 04 Nov, 2021 3 commits
-
-
Jakub Ružička authored
template: render dir symlinks See merge request !90
-
Jakub Ružička authored
-
Jakub Ružička authored
-
- 03 Nov, 2021 1 commit
-
-
Jakub Ružička authored
compat: ensure proper apkg compat level Closes #61 See merge request !88
-
- 02 Nov, 2021 3 commits
-
-
Jakub Ružička authored
-
Jakub Ružička authored
Raise new InvalidCompatLevel exception when project apkg.compat is greater than current apkg compat level (old apkg).
-
Jakub Ružička authored
`apkg status` now includes project compat level info and it redirects to new `apkg compat` command when apkg.compat isn't set to current. If project compat level isn't set properly `apkg compat` provides human-friendly instructions on howto update it including upgrade notes when needed. `apkg compat` returns exit code 1 when project compat level isn't set correctly so it can be used to ensure compat in scripts/CI too. Fixes: #61
-
- 01 Nov, 2021 1 commit
-
-
Jakub Ružička authored
docs: add apkg users list Closes #62 See merge request !89
-
- 29 Oct, 2021 1 commit
-
-
Jakub Ružička authored
Fixes: #62
-
- 21 Oct, 2021 2 commits
-
-
Jakub Ružička authored
template: ignore or plain copy files by patterns Closes #58 See merge request !87
-
Jakub Ružička authored
Add 2 new config options to control special files in templates using unix-style file name patterns: * templates.ignore_files to ignore/skip files entirely * templates.plain_copy_files to copy files without rendering Docs and tests are included. Fixes: #58
-
- 15 Oct, 2021 1 commit
-
-
Jakub Ružička authored
templates: support Jinja include See merge request !86
-
- 13 Oct, 2021 2 commits
-
-
Jakub Ružička authored
Support Jinja include directive: {% include 'distro/common/foo' %} Paths are relative to project root.
-
Jakub Ružička authored
Jinja is using Environment for something else - align naming with Jinja for clarity. Instead of generic "env", variables containing template variables are now consistently named "tvars".
-
- 06 Oct, 2021 4 commits
-
-
Jakub Ružička authored
refactor: flexible template selection Closes #4 See merge request !83
-
Jakub Ružička authored
-
Jakub Ružička authored
Extend apkg pkgtemplate selection mechanism with distro-specific and distro alias templates to allow full control with respect to distro. New functionality is covered with: * minimal example: examples/templates * unit tests: tests/unit/tests_distro.py * self tests: tests/self/test_templates.py (on examples/templates) Docs update in follow-up commit as this one is big enough as is.
-
Jakub Ružička authored
pkgstyles can now define TEMPLATE_ENV dict containing variables and functions available during templating when using that particular style as well as TEMPLATE_ENV_DYNAMIC dict containing functionas to be evaluated on template render to fill in dynamic template variables. New {{ now }} dynamic variable containing current date in suitable changelog format is now available in templates using deb or rpm pkgstyles through this new mechanism.
-
- 05 Oct, 2021 1 commit
-
-
Jakub Ružička authored
A simple project demonstrating apkg templating features.
-
- 30 Sep, 2021 3 commits
-
-
Jakub Ružička authored
util.test.inject_tree is now able to properly copy and overwrite symlinks (unlike copytree). Unused obsolete ignore_dirs argument has been removed.
-
Jakub Ružička authored
-
Jakub Ružička authored
CI: fix BIRD cert issues on older Debian systems See merge request !85
-