]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
8 months agokresctl: tab-completion: stop appending space after one config layer is completed docs-develop-kres-3ujg2y/deployments/5887 kresctl-comp-config-levels
Frantisek Tobias [Tue, 10 Dec 2024 07:23:44 +0000 (08:23 +0100)] 
kresctl: tab-completion: stop appending space after one config layer is completed

8 months agoAdd completion for all config layers docs-develop-kres-3ujg2y/deployments/5853
Frantisek Tobias [Fri, 6 Dec 2024 15:20:34 +0000 (16:20 +0100)] 
Add completion for all config layers

9 months agokresctl: command: completion: remove redundant code docs-develop-kres-ph09xl/deployments/5649
Frantisek Tobias [Fri, 15 Nov 2024 12:12:33 +0000 (13:12 +0100)] 
kresctl: command: completion: remove redundant code

9 months agokresctl: tab-completion: fix liter complaints
Frantisek Tobias [Fri, 15 Nov 2024 09:50:47 +0000 (10:50 +0100)] 
kresctl: tab-completion: fix liter complaints

9 months agoutils: bash-client: only complete up to the cursor location regardless of what follows
Frantisek Tobias [Fri, 15 Nov 2024 08:59:12 +0000 (09:59 +0100)] 
utils: bash-client: only complete up to the cursor location regardless of what follows

9 months agokresctl: config: completion: remove redundant code, implement config -p completion...
Frantisek Tobias [Fri, 15 Nov 2024 08:54:15 +0000 (09:54 +0100)] 
kresctl: config: completion: remove redundant code, implement config -p completion (kresconfig schema properties)

9 months agokresctl: command: completion: provide suggestions for 'argument' type commands
Frantisek Tobias [Fri, 15 Nov 2024 08:46:04 +0000 (09:46 +0100)] 
kresctl: command: completion: provide suggestions for 'argument' type commands

9 months agokresctl: tab-completion: fix config path suggestions
Frantisek Tobias [Thu, 31 Oct 2024 13:32:10 +0000 (14:32 +0100)] 
kresctl: tab-completion: fix config path suggestions

9 months agoMerge branch 'kresctl-tab-completion-ignore-dash' into 'kresctl-tab-completion' docs-develop-kres-ph09xl/deployments/5645
Frantisek Tobias [Fri, 15 Nov 2024 08:23:27 +0000 (09:23 +0100)] 
Merge branch 'kresctl-tab-completion-ignore-dash' into 'kresctl-tab-completion'

python: client: completion: use argparse.REMAINDER

See merge request knot/knot-resolver!1630

9 months agoMerge branches 'kresctl-tab-completion' 'kresctl-tab-completion-ignore-dash'
Frantisek Tobias [Fri, 15 Nov 2024 08:22:36 +0000 (09:22 +0100)] 
Merge branches 'kresctl-tab-completion' 'kresctl-tab-completion-ignore-dash'

9 months agopython: client: completion: use argparse.REMAINDER docs-develop-kres-l17mjo/deployments/5498
Aleš Mrázek [Tue, 5 Nov 2024 09:27:49 +0000 (10:27 +0100)] 
python: client: completion: use argparse.REMAINDER

Use argparse.REMAINDER to tell argparse to accept everything after argument as value for that argument.

9 months agokresctl: tab-completion: display config keywords in config completion docs-develop-kres-ph09xl/deployments/5365
Frantisek Tobias [Fri, 18 Oct 2024 11:26:10 +0000 (13:26 +0200)] 
kresctl: tab-completion: display config keywords in config completion

9 months agokresctl: tab-completion: display config keywords in config completion docs-develop-kres-ph09xl/deployments/5364
Frantisek Tobias [Fri, 18 Oct 2024 11:26:10 +0000 (13:26 +0200)] 
kresctl: tab-completion: display config keywords in config completion

10 months agokresctl: tab-completion: escape for compgen '--' arguments and minor adjustments
Frantisek Tobias [Tue, 15 Oct 2024 10:41:52 +0000 (12:41 +0200)] 
kresctl: tab-completion: escape for compgen '--' arguments and minor adjustments

10 months agokresctl: tab-completion: enable config completion
Frantisek Tobias [Tue, 15 Oct 2024 10:40:23 +0000 (12:40 +0200)] 
kresctl: tab-completion: enable config completion

10 months agokresctl: tab-completion: remove redundant Command.completion overrides in all command...
Frantisek Tobias [Fri, 11 Oct 2024 08:36:47 +0000 (10:36 +0200)] 
kresctl: tab-completion: remove redundant Command.completion overrides in all commands except config

10 months agokresctl: tab-completion: remove redundant Command.completion overrides in all command... docs-develop-kres-ph09xl/deployments/5321
Frantisek Tobias [Fri, 11 Oct 2024 08:36:47 +0000 (10:36 +0200)] 
kresctl: tab-completion: remove redundant Command.completion overrides in all commands except config

10 months agokresctl: tab-completion: remove raise ValueError for unfinished or unknown commands
Frantisek Tobias [Fri, 11 Oct 2024 07:15:00 +0000 (09:15 +0200)] 
kresctl: tab-completion: remove raise ValueError for unfinished or unknown commands

10 months agokresctl: tab-completion: skip program name in client.bash to avoid treating kresctl...
Frantisek Tobias [Fri, 11 Oct 2024 07:12:34 +0000 (09:12 +0200)] 
kresctl: tab-completion: skip program name in client.bash to avoid treating kresctl as an argument

10 months agofixup! fixup! kresctl: tab-completion: implement suggestions/completion for first... docs-develop-kres-ph09xl/deployments/5292
Aleš Mrázek [Tue, 8 Oct 2024 13:42:56 +0000 (15:42 +0200)] 
fixup! fixup! kresctl: tab-completion: implement suggestions/completion for first argument

10 months agofixup! kresctl: tab-completion: implement suggestions/completion for first argument docs-develop-kres-ph09xl/deployments/5290
Aleš Mrázek [Tue, 8 Oct 2024 10:49:53 +0000 (12:49 +0200)] 
fixup! kresctl: tab-completion: implement suggestions/completion for first argument

10 months agokresctl: tab-completion: implement suggestions/completion for first argument docs-develop-kres-ph09xl/deployments/5289
Frantisek Tobias [Mon, 7 Oct 2024 11:51:46 +0000 (13:51 +0200)] 
kresctl: tab-completion: implement suggestions/completion for first argument

10 months agoMerge !1616: datamodel: types: files: improvements and fixes docs-develop-mast-tzgd0f/deployments/5281 docs-develop-mast-tzgd0f/deployments/5285 docs-develop-mast-tzgd0f/deployments/5288 docs-develop-mast-tzgd0f/deployments/5298 docs-develop-mast-tzgd0f/deployments/5301 docs-develop-nigh-589znp/deployments/5286 docs-develop-nigh-589znp/deployments/5299
Vladimír Čunát [Mon, 7 Oct 2024 10:16:54 +0000 (12:16 +0200)] 
Merge !1616: datamodel: types: files: improvements and fixes

Fixes #919

10 months agopython: datamodel: added permissions_default to global validation context docs-develop-data-nk5iee/deployments/5243
Aleš Mrázek [Tue, 24 Sep 2024 08:40:45 +0000 (10:40 +0200)] 
python: datamodel: added permissions_default to global validation context

It is used to change the check of dirs/files permissions against the default constant user:group or the current user the process is running as.

10 months agopython: manager: check the current user against the default constant when the server...
Aleš Mrázek [Tue, 24 Sep 2024 08:08:37 +0000 (10:08 +0200)] 
python: manager: check the current user against the default constant when the server starts

10 months agodatamodel: types: files: improvements
Aleš Mrázek [Mon, 23 Sep 2024 15:57:26 +0000 (17:57 +0200)] 
datamodel: types: files: improvements

- compare intended uid with current working uid
- check permissions for current user and group
- use os.getuid() and pwd.getpwuid() instead of os.getlogin() #919

10 months agoMerge branch 'python-constants-module' into 'master' docs-develop-mast-tzgd0f/deployments/5242 docs-develop-mast-tzgd0f/deployments/5244 docs-develop-mast-tzgd0f/deployments/5247 docs-develop-mast-tzgd0f/deployments/5255 docs-develop-mast-tzgd0f/deployments/5258 docs-develop-mast-tzgd0f/deployments/5261 docs-develop-mast-tzgd0f/deployments/5264 docs-develop-mast-tzgd0f/deployments/5265 docs-develop-mast-tzgd0f/deployments/5268 docs-develop-mast-tzgd0f/deployments/5269 docs-develop-mast-tzgd0f/deployments/5272 docs-develop-mast-tzgd0f/deployments/5273 docs-develop-mast-tzgd0f/deployments/5276 docs-develop-mast-tzgd0f/deployments/5277 docs-develop-mast-tzgd0f/deployments/5280 docs-develop-nigh-589znp/deployments/5245 docs-develop-nigh-589znp/deployments/5256 docs-develop-nigh-589znp/deployments/5262 docs-develop-nigh-589znp/deployments/5266 docs-develop-nigh-589znp/deployments/5270 docs-develop-nigh-589znp/deployments/5274 docs-develop-nigh-589znp/deployments/5278
Aleš Mrázek [Mon, 30 Sep 2024 09:34:29 +0000 (11:34 +0200)] 
Merge branch 'python-constants-module' into 'master'

python/knot_resolver: meson configured constants

See merge request knot/knot-resolver!1613

10 months ago.gitlab-ci.yml: IMAGE_TAG update docs-develop-pyth-8ypubt/deployments/5241
Aleš Mrázek [Tue, 24 Sep 2024 11:49:24 +0000 (13:49 +0200)] 
.gitlab-ci.yml: IMAGE_TAG update

10 months agoCI: use standard docker for pkg:arch
Jakub Ružička [Mon, 23 Sep 2024 14:09:33 +0000 (16:09 +0200)] 
CI: use standard docker for pkg:arch

Arch LXC images currently don't work :(

Standard docker can't test systemd but it's better than nothing.

10 months agotests/packaging: skip systemd tests without systemd
Jakub Ružička [Mon, 23 Sep 2024 14:59:52 +0000 (16:59 +0200)] 
tests/packaging: skip systemd tests without systemd

10 months agodistro/pkg: update packaging for single python module
Jakub Ružička [Thu, 19 Sep 2024 14:05:44 +0000 (16:05 +0200)] 
distro/pkg: update packaging for single python module

10 months agopyproject.toml: exclude meson templates
Jakub Ružička [Tue, 24 Sep 2024 09:10:23 +0000 (11:10 +0200)] 
pyproject.toml: exclude meson templates

Make sure constants.py.in and meson.build are excluded from
knot_resolver python module.

10 months agopython: meson constants.py template moved to knot_resolver module
Aleš Mrázek [Thu, 19 Sep 2024 13:43:30 +0000 (15:43 +0200)] 
python: meson constants.py template moved to knot_resolver module

10 months agoscripts/poe-tasks: created gen-constantspy script
Aleš Mrázek [Tue, 17 Sep 2024 22:33:17 +0000 (00:33 +0200)] 
scripts/poe-tasks: created gen-constantspy script

New script to build constants.py module using Meson. Also check that the module is the current one.

10 months agoscripts/poe-tasks: _env.sh improvements and formatting
Aleš Mrázek [Tue, 17 Sep 2024 22:05:11 +0000 (00:05 +0200)] 
scripts/poe-tasks: _env.sh improvements and formatting

10 months agoscripts/poe-tasks: ./configure not required for some tasks
Aleš Mrázek [Mon, 16 Sep 2024 16:28:49 +0000 (18:28 +0200)] 
scripts/poe-tasks: ./configure not required for some tasks

10 months agomeson.build: use non-standard prefix for run_dir
Aleš Mrázek [Mon, 16 Sep 2024 15:56:27 +0000 (17:56 +0200)] 
meson.build: use non-standard prefix for run_dir

10 months agoscripts/poe-tasks: doc-schema added
Aleš Mrázek [Mon, 16 Sep 2024 15:53:12 +0000 (17:53 +0200)] 
scripts/poe-tasks: doc-schema added

The script that generates the configuration JSON schema with the correct values.

10 months agopython: use CACHE_DIR and RUN_DIR constants
Aleš Mrázek [Mon, 16 Sep 2024 10:59:36 +0000 (12:59 +0200)] 
python: use CACHE_DIR and RUN_DIR constants

10 months agopython: removed env vars from python code
Aleš Mrázek [Sun, 15 Sep 2024 19:45:36 +0000 (21:45 +0200)] 
python: removed env vars from python code

10 months agoscripts/poe-tasks: improvements
Aleš Mrázek [Fri, 13 Sep 2024 09:59:13 +0000 (11:59 +0200)] 
scripts/poe-tasks: improvements

10 months agodoc/_static/config.schema.json: update
Aleš Mrázek [Thu, 12 Sep 2024 20:45:16 +0000 (22:45 +0200)] 
doc/_static/config.schema.json: update

10 months agoci/images/manager/DockerFile removed
Aleš Mrázek [Thu, 12 Sep 2024 13:15:41 +0000 (15:15 +0200)] 
ci/images/manager/DockerFile removed

Docker images are handled in a separate repository (knot-resolver-ci), so this file is no longer needed.

10 months agoscripts/poe-tasks: use id cmd instead of $USER env var in _env.sh
Aleš Mrázek [Tue, 10 Sep 2024 14:00:26 +0000 (16:00 +0200)] 
scripts/poe-tasks: use id cmd instead of $USER env var in _env.sh

10 months agoci: manager: configure meson before every test
Aleš Mrázek [Tue, 10 Sep 2024 10:02:32 +0000 (12:02 +0200)] 
ci: manager: configure meson before every test

10 months agopython/knot_resolver: constants fixes
Aleš Mrázek [Tue, 10 Sep 2024 09:18:11 +0000 (11:18 +0200)] 
python/knot_resolver: constants fixes

10 months agopython/knot_resolver: use constants.py configured by Meson
Aleš Mrázek [Tue, 10 Sep 2024 09:07:09 +0000 (11:07 +0200)] 
python/knot_resolver: use constants.py configured by Meson

10 months agoscripts/poe-tasks: text and naming improvements
Aleš Mrázek [Mon, 9 Sep 2024 21:44:28 +0000 (23:44 +0200)] 
scripts/poe-tasks: text and naming improvements

10 months agoMerge !1618: daemon udp connect: use connected udp communication docs-develop-mast-tzgd0f/deployments/5240
Vladimír Čunát [Mon, 30 Sep 2024 08:07:22 +0000 (10:07 +0200)] 
Merge !1618: daemon udp connect: use connected udp communication

10 months agomeson, NEWS: bump minimal libuv version docs-develop-daem-dkiae0/deployments/5239
Vladimír Čunát [Mon, 30 Sep 2024 07:50:52 +0000 (09:50 +0200)] 
meson, NEWS: bump minimal libuv version

10 months agodaemon udp connect: use connected udp communication
Frantisek Tobias [Mon, 30 Sep 2024 06:01:49 +0000 (08:01 +0200)] 
daemon udp connect: use connected udp communication

10 months agoMerge !1617: daemon/session2: avoid incorrectly generated errors docs-develop-mast-tzgd0f/deployments/5213 docs-develop-mast-tzgd0f/deployments/5214 docs-develop-mast-tzgd0f/deployments/5217 docs-develop-mast-tzgd0f/deployments/5218 docs-develop-mast-tzgd0f/deployments/5221 docs-develop-mast-tzgd0f/deployments/5227 docs-develop-mast-tzgd0f/deployments/5230 docs-develop-mast-tzgd0f/deployments/5231 docs-develop-mast-tzgd0f/deployments/5233 docs-develop-mast-tzgd0f/deployments/5234 docs-develop-mast-tzgd0f/deployments/5237 docs-develop-nigh-589znp/deployments/5215 docs-develop-nigh-589znp/deployments/5219 docs-develop-nigh-589znp/deployments/5228 docs-develop-nigh-589znp/deployments/5235
Vladimír Čunát [Wed, 25 Sep 2024 08:49:39 +0000 (10:49 +0200)] 
Merge !1617: daemon/session2: avoid incorrectly generated errors

10 months agodaemon/session2: avoid incorrectly generated errors docs-develop-uv-t-p5pt2q/deployments/5212
Vladimír Čunát [Wed, 25 Sep 2024 08:39:43 +0000 (10:39 +0200)] 
daemon/session2: avoid incorrectly generated errors

The _try_ functions additionally return positive values on success,
and the code around didn't deal with that.

So far there's no evidence that this caused any issues beyond debug-logs:
  [prlayr] ... iteration of group ... ended with status 'Unknown error ...

10 months agoMerge !1609: local-data: generate CNAMEs from DNAMEs docs-develop-mast-tzgd0f/deployments/5211
Vladimír Čunát [Wed, 25 Sep 2024 08:38:48 +0000 (10:38 +0200)] 
Merge !1609: local-data: generate CNAMEs from DNAMEs

10 months agolocal-data: generate CNAMEs from DNAMEs docs-develop-loca-9060ob/deployments/5210
Vladimír Čunát [Wed, 25 Sep 2024 08:27:16 +0000 (10:27 +0200)] 
local-data: generate CNAMEs from DNAMEs

As with some other aspects, these DNAMEs do not work exactly as
in a real zone, e.g. they don't cause occlusion.

10 months agoMerge !1615: nits (see commits) docs-develop-mast-tzgd0f/deployments/5150 docs-develop-mast-tzgd0f/deployments/5153 docs-develop-mast-tzgd0f/deployments/5156 docs-develop-mast-tzgd0f/deployments/5159 docs-develop-mast-tzgd0f/deployments/5162 docs-develop-mast-tzgd0f/deployments/5163 docs-develop-mast-tzgd0f/deployments/5166 docs-develop-mast-tzgd0f/deployments/5169 docs-develop-mast-tzgd0f/deployments/5172 docs-develop-mast-tzgd0f/deployments/5173 docs-develop-mast-tzgd0f/deployments/5176 docs-develop-mast-tzgd0f/deployments/5177 docs-develop-mast-tzgd0f/deployments/5180 docs-develop-mast-tzgd0f/deployments/5181 docs-develop-mast-tzgd0f/deployments/5184 docs-develop-mast-tzgd0f/deployments/5197 docs-develop-mast-tzgd0f/deployments/5200 docs-develop-mast-tzgd0f/deployments/5206 docs-develop-mast-tzgd0f/deployments/5209 docs-develop-nigh-589znp/deployments/5154 docs-develop-nigh-589znp/deployments/5160 docs-develop-nigh-589znp/deployments/5164 docs-develop-nigh-589znp/deployments/5170 docs-develop-nigh-589znp/deployments/5174 docs-develop-nigh-589znp/deployments/5178 docs-develop-nigh-589znp/deployments/5182 docs-develop-nigh-589znp/deployments/5198 docs-develop-nigh-589znp/deployments/5207
Vladimír Čunát [Mon, 16 Sep 2024 15:19:24 +0000 (17:19 +0200)] 
Merge !1615: nits (see commits)

10 months agodoc/user/gettingstarted-install.rst: don't advertise launchpad here docs-develop-nits-2dntdj/deployments/5149
Vladimír Čunát [Mon, 16 Sep 2024 15:10:29 +0000 (17:10 +0200)] 
doc/user/gettingstarted-install.rst: don't advertise launchpad here

We have it, but it probably adds more confusion than use to mention it here.

10 months agopython datamodel: tweak cache TTL validation
Vladimír Čunát [Mon, 16 Sep 2024 15:10:29 +0000 (17:10 +0200)] 
python datamodel: tweak cache TTL validation

I'm not aware of a use case for the limits to be equal,
but it's at least a sane combination.

10 months agoCI: allow_failure in pkg:arch
Vladimír Čunát [Mon, 16 Sep 2024 15:10:25 +0000 (17:10 +0200)] 
CI: allow_failure in pkg:arch

So far we don't know how to fix this.

10 months agoMerge !1606: doc/dev: add layered-protocols.rst docs-develop-mast-tzgd0f/deployments/5148
Vladimír Čunát [Mon, 16 Sep 2024 14:40:00 +0000 (16:40 +0200)] 
Merge !1606: doc/dev: add layered-protocols.rst

10 months agodoc/dev/layered-protocols.rst: tweak the intro titles docs-develop-doc-xywm10/deployments/5147
Vladimír Čunát [Mon, 2 Sep 2024 11:00:36 +0000 (13:00 +0200)] 
doc/dev/layered-protocols.rst: tweak the intro titles

10 months agodoc/dev: add layered-protocols.rst
Oto Šťáva [Fri, 30 Aug 2024 13:34:00 +0000 (15:34 +0200)] 
doc/dev: add layered-protocols.rst

This is a `pandoc` conversion with just a couple tiny manual modifications.

10 months agoMerge !1614: daemon/session2: more Coverity in *wrap_after() docs-develop-mast-tzgd0f/deployments/5146
Vladimír Čunát [Mon, 16 Sep 2024 13:43:13 +0000 (15:43 +0200)] 
Merge !1614: daemon/session2: more Coverity in *wrap_after()

11 months agodaemon/session2: more Coverity in *wrap_after() docs-develop-cove-bpjqwc/deployments/5140
Vladimír Čunát [Fri, 13 Sep 2024 08:24:31 +0000 (10:24 +0200)] 
daemon/session2: more Coverity in *wrap_after()

Let's assert that we don't run over the edge.
If I look right, so far we don't use this in a way
that this could happen, and I can't see how it would make sense.

11 months agoMerge !1612: coverity fixes docs-develop-mast-tzgd0f/deployments/5120 docs-develop-mast-tzgd0f/deployments/5124 docs-develop-mast-tzgd0f/deployments/5127 docs-develop-mast-tzgd0f/deployments/5131 docs-develop-mast-tzgd0f/deployments/5134 docs-develop-mast-tzgd0f/deployments/5136 docs-develop-mast-tzgd0f/deployments/5139 docs-develop-mast-tzgd0f/deployments/5141 docs-develop-mast-tzgd0f/deployments/5144 docs-develop-nigh-589znp/deployments/5125 docs-develop-nigh-589znp/deployments/5132 docs-develop-nigh-589znp/deployments/5137 docs-develop-nigh-589znp/deployments/5142
Vladimír Čunát [Thu, 12 Sep 2024 13:58:50 +0000 (15:58 +0200)] 
Merge !1612: coverity fixes

11 months agolib/generic/array: extend the return type of array_push*() docs-develop-cove-uiak3c/deployments/5118
Vladimír Čunát [Thu, 12 Sep 2024 12:54:16 +0000 (14:54 +0200)] 
lib/generic/array: extend the return type of array_push*()

In case of no error, the index is returned,
but `int` isn't a great choice for returning array indices.
(though I doubt that we can get anywhere near 2^31 elements in practice)

Detected by Coverity.

11 months agodaemon/session2: try to avoid triggering Coverity
Vladimír Čunát [Thu, 12 Sep 2024 12:54:16 +0000 (14:54 +0200)] 
daemon/session2: try to avoid triggering Coverity

Strictly speaking, the .ip member is on 16 bytes long,
so it doesn't suffice in case it's an IPv6.
Practically it doesn't matter, as there's the union containing all this.

Either way, I think it's cleaner to copy to the whole union.
Also we don't support it in this case,
but theoretically e.g. an AF_UNIX could happen,
so let's be defensive and guard by kr_require().

11 months agodaemon/session2: fix error handling in *wrap_after()
Vladimír Čunát [Thu, 12 Sep 2024 12:54:16 +0000 (14:54 +0200)] 
daemon/session2: fix error handling in *wrap_after()

We need to check the "< 0" condition *before*
incrementing or decrementing the returned layer_ix.

Detected by Coverity :-)

11 months agoMerge !1512: datamodel: additional headers for json-schema docs-develop-mast-tzgd0f/deployments/5099 docs-develop-mast-tzgd0f/deployments/5104 docs-develop-mast-tzgd0f/deployments/5107 docs-develop-nigh-589znp/deployments/5105 docs-develop-tmp-np5kv4/deployments/5110
Vladimír Čunát [Wed, 11 Sep 2024 12:34:29 +0000 (14:34 +0200)] 
Merge !1512: datamodel: additional headers for json-schema

11 months agodatamodel: workers-max: constant default to have a consistent JSON schema docs-develop-data-ljcgmw/deployments/5087
Aleš Mrázek [Sat, 7 Sep 2024 00:32:32 +0000 (02:32 +0200)] 
datamodel: workers-max: constant default to have a consistent JSON schema

11 months agodoc: create static JSON schema
Aleš Mrázek [Sat, 7 Sep 2024 00:09:40 +0000 (02:09 +0200)] 
doc: create static JSON schema

- poe check: check for difference in JSON schema
- scripts/meson/make-doc.sh: do not create JSON schema

11 months agotests: JSON schema packaging tests
Aleš Mrázek [Thu, 14 Mar 2024 14:49:31 +0000 (15:49 +0100)] 
tests: JSON schema packaging tests

11 months agodatamodel: additional headers for json-schema
Aleš Mrázek [Thu, 7 Mar 2024 12:52:58 +0000 (13:52 +0100)] 
datamodel: additional headers for json-schema

11 months agoMerge branch 'manager-python-modules' into 'master'
Aleš Mrázek [Mon, 9 Sep 2024 12:03:51 +0000 (14:03 +0200)] 
Merge branch 'manager-python-modules' into 'master'

manager: python modules reorganization

See merge request knot/knot-resolver!1598

11 months agodistro/pkg: update for new python modules layout
Jakub Ružička [Mon, 9 Sep 2024 10:24:37 +0000 (12:24 +0200)] 
distro/pkg: update for new python modules layout

Old knot_resolver module is now knot_resolver_build_options.

Old knot_resolver_manager module is now just knot_resolver.

11 months agopython/knot_resolver/manager: added metrics module
Aleš Mrázek [Thu, 5 Sep 2024 13:13:54 +0000 (15:13 +0200)] 
python/knot_resolver/manager: added metrics module

- statistics.py: removed
- metrics: prometheus support is in separate module

11 months agopython/knot_resolver: compat module moved under utils
Aleš Mrázek [Wed, 4 Sep 2024 19:58:07 +0000 (21:58 +0200)] 
python/knot_resolver: compat module moved under utils

11 months agopython: manager: modules restructuring
Aleš Mrázek [Fri, 30 Aug 2024 08:03:41 +0000 (10:03 +0200)] 
python: manager: modules restructuring

- new KresManager exception
- imports formatting

11 months agoscripts/poe-tasks/check: added isort check
Aleš Mrázek [Thu, 29 Aug 2024 13:32:29 +0000 (15:32 +0200)] 
scripts/poe-tasks/check: added isort check

11 months agopython/knot_resolver: imports formatting
Aleš Mrázek [Thu, 29 Aug 2024 13:31:23 +0000 (15:31 +0200)] 
python/knot_resolver: imports formatting

11 months agopython/knot_resolver: removed unnecessary use of typing_extensions lib
Aleš Mrázek [Thu, 29 Aug 2024 13:07:28 +0000 (15:07 +0200)] 
python/knot_resolver: removed unnecessary use of typing_extensions lib

Since we support python 3.8 and higher, there is no need for backwards support for most of the features we use in the standard typing library.

11 months agopython/knot_resolver: KresBaseException added
Aleš Mrázek [Thu, 29 Aug 2024 11:30:27 +0000 (13:30 +0200)] 
python/knot_resolver: KresBaseException added

11 months agopython/knot_resolver: set __version__
Aleš Mrázek [Wed, 28 Aug 2024 09:13:41 +0000 (11:13 +0200)] 
python/knot_resolver: set __version__

11 months agopython/knot_resolver: version arguments for manager and client
Aleš Mrázek [Wed, 28 Aug 2024 09:04:00 +0000 (11:04 +0200)] 
python/knot_resolver:  version arguments for manager and client

11 months agopython/knot_resolver: constants reorganization
Aleš Mrázek [Wed, 28 Aug 2024 09:01:34 +0000 (11:01 +0200)] 
python/knot_resolver: constants reorganization

11 months agoscripts/poe-tasks: clean added
Aleš Mrázek [Tue, 27 Aug 2024 13:26:58 +0000 (15:26 +0200)] 
scripts/poe-tasks: clean added

11 months agopython: knot_resolver_build_options module added
Aleš Mrázek [Mon, 26 Aug 2024 16:37:22 +0000 (18:37 +0200)] 
python: knot_resolver_build_options module added

11 months agopython: knot_resolver_manager module renamed to knot_resolver
Aleš Mrázek [Mon, 26 Aug 2024 16:20:21 +0000 (18:20 +0200)] 
python: knot_resolver_manager module renamed to knot_resolver

11 months agopython: datamodel module moved out of manager module
Aleš Mrázek [Mon, 19 Aug 2024 04:55:56 +0000 (06:55 +0200)] 
python: datamodel module moved out of manager module

11 months agopython: client: commands: text improvements and fixes WIP
Aleš Mrázek [Fri, 16 Aug 2024 10:07:30 +0000 (12:07 +0200)] 
python: client: commands: text improvements and fixes WIP

11 months agopython: client: minor modules and code refactoring
Aleš Mrázek [Fri, 16 Aug 2024 09:06:23 +0000 (11:06 +0200)] 
python: client: minor modules and code refactoring

11 months agomanager: removed nice syntax error on old Python versions
Aleš Mrázek [Thu, 15 Aug 2024 13:01:24 +0000 (15:01 +0200)] 
manager: removed nice syntax error on old Python versions

11 months agomanager: reorganizing python modules
Aleš Mrázek [Tue, 6 Aug 2024 13:16:54 +0000 (15:16 +0200)] 
manager:  reorganizing python modules

11 months agomanager: moved everything out of the directory
Aleš Mrázek [Tue, 6 Aug 2024 09:07:53 +0000 (11:07 +0200)] 
manager: moved everything out of the directory

11 months agoMerge !1594: modules/workarounds: fix module initialization docs-develop-mast-tzgd0f/deployments/5068 docs-develop-mast-tzgd0f/deployments/5070 docs-develop-mast-tzgd0f/deployments/5075 docs-develop-mast-tzgd0f/deployments/5076 docs-develop-mast-tzgd0f/deployments/5078 docs-develop-mast-tzgd0f/deployments/5079 docs-develop-mast-tzgd0f/deployments/5082 docs-develop-nigh-589znp/deployments/5071 docs-develop-nigh-589znp/deployments/5080 docs-develop-tmp-np5kv4/deployments/5109
Vladimír Čunát [Fri, 6 Sep 2024 13:58:12 +0000 (15:58 +0200)] 
Merge !1594: modules/workarounds: fix module initialization

11 months agomodules/workarounds: fix module initialisation.
menakite [Fri, 16 Aug 2024 04:12:33 +0000 (06:12 +0200)] 
modules/workarounds: fix module initialisation.

Rename config to init, which is called when a module is loaded.
It seems it's been broken for a while.

11 months agoMerge !1610: tests/integration/deckard: update to latest master docs-develop-mast-tzgd0f/deployments/5067
Vladimír Čunát [Fri, 6 Sep 2024 11:08:49 +0000 (13:08 +0200)] 
Merge !1610: tests/integration/deckard: update to latest master

11 months agotests/integration/deckard: update to latest master docs-develop-deck-m2nlqy/deployments/5066
Vladimír Čunát [Mon, 2 Sep 2024 15:12:28 +0000 (17:12 +0200)] 
tests/integration/deckard: update to latest master

adds libjemalloc-detector

11 months agoMerge !1590: resolver,validator: provide more EDE codes docs-develop-mast-tzgd0f/deployments/5065
Vladimír Čunát [Fri, 6 Sep 2024 10:37:15 +0000 (12:37 +0200)] 
Merge !1590: resolver,validator: provide more EDE codes

11 months agovalidator: fix after fac462e163a2614e24d2c604a9b120b949796a72. docs-develop-add-erv30u/deployments/5064
menakite [Sun, 1 Sep 2024 18:56:44 +0000 (20:56 +0200)] 
validator: fix after fac462e163a2614e24d2c604a9b120b949796a72.

See:
  https://gitlab.nic.cz/knot/knot-resolver/-/merge_requests/1590#note_304380