]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
3 years agofixup! datamodel: dnssec: section completed, tests
Aleš [Thu, 9 Sep 2021 13:47:25 +0000 (15:47 +0200)] 
fixup! datamodel: dnssec: section completed, tests

3 years agodatamodel: added basic ip&port and path custom data types
Vasek Sraier [Sun, 5 Sep 2021 17:50:33 +0000 (19:50 +0200)] 
datamodel: added basic ip&port and path custom data types

3 years agoupdated README
Vasek Sraier [Tue, 13 Jul 2021 18:25:18 +0000 (20:25 +0200)] 
updated README

3 years agodatamodel: dnssec: section completed, tests
Aleš [Thu, 9 Sep 2021 13:27:28 +0000 (15:27 +0200)] 
datamodel: dnssec: section completed, tests

3 years agomanager: manual selection of subprocess controllers (+ small fixes of scripts)
Vasek Sraier [Fri, 2 Jul 2021 21:06:12 +0000 (23:06 +0200)] 
manager: manual selection of subprocess controllers (+ small fixes of scripts)

closes #9

3 years agodatamodel: options: section completed, tests
Aleš [Wed, 8 Sep 2021 13:53:36 +0000 (15:53 +0200)] 
datamodel: options: section completed, tests

3 years agosupport for systemd with transient units, non-containerized integration tests and...
Vasek Sraier [Wed, 30 Jun 2021 17:50:51 +0000 (19:50 +0200)] 
support for systemd with transient units, non-containerized integration tests and lot of bug fixes

3 years agodatamodel: lua: minor modifications, tests
Aleš [Wed, 8 Sep 2021 13:31:12 +0000 (15:31 +0200)] 
datamodel: lua: minor modifications, tests

3 years agoconfig: server: improvements to get number of CPUs
Aleš [Tue, 29 Jun 2021 13:15:21 +0000 (15:15 +0200)] 
config: server: improvements to get number of CPUs

3 years agodatamodel: dns64 section added
Aleš [Wed, 8 Sep 2021 10:56:51 +0000 (12:56 +0200)] 
datamodel: dns64 section added

3 years agomanager: cli client, extracted constants and tweaks for running locally with supervisord
Vasek Sraier [Mon, 28 Jun 2021 12:59:43 +0000 (14:59 +0200)] 
manager: cli client, extracted constants and tweaks for running locally with supervisord

3 years agodatamodel: server: added several conf options
Aleš [Tue, 7 Sep 2021 14:07:07 +0000 (16:07 +0200)] 
datamodel: server: added several conf options

3 years agoapi: implemented Caddy-style partial config updates (subtree specified in URL)
Vasek Sraier [Sun, 27 Jun 2021 13:30:28 +0000 (15:30 +0200)] 
api: implemented Caddy-style partial config updates (subtree specified in URL)

3 years agofixed accidentally broken test after refactoring
Vasek Sraier [Sun, 27 Jun 2021 09:53:12 +0000 (11:53 +0200)] 
fixed accidentally broken test after refactoring

3 years agorefactored controller interface, added support for session systemd
Vasek Sraier [Sun, 27 Jun 2021 09:19:39 +0000 (11:19 +0200)] 
refactored controller interface, added support for session systemd

Rewritten interface for process managers to better fit OOP principles (and it
generally feels nicer than before). Support for session systemd is not tested
yet, but should follow shortly in a future as we get rid of containerized tests

closes #8

3 years agotypes: type fixes for a new version of pyright
Vasek Sraier [Sat, 12 Jun 2021 17:45:18 +0000 (19:45 +0200)] 
types: type fixes for a new version of pyright

3 years agocode cleanup
Vasek Sraier [Sat, 12 Jun 2021 08:55:01 +0000 (10:55 +0200)] 
code cleanup

removed unnecessary import

3 years agosupervisord controller: removed sleep(1) from supervisord initialization
Vasek Sraier [Sat, 12 Jun 2021 08:44:01 +0000 (10:44 +0200)] 
supervisord controller: removed sleep(1) from supervisord initialization

This should definitely not be a way to prevent race conditions...

3 years agodocs: basic structure
Aleš [Wed, 9 Jun 2021 21:16:48 +0000 (23:16 +0200)] 
docs: basic structure

3 years agoconfig: lua: validation exception added
Aleš [Mon, 7 Jun 2021 12:37:19 +0000 (14:37 +0200)] 
config: lua: validation exception added

3 years agomanager: implemented graceful shutdown by POSTing to /stop
Vasek Sraier [Mon, 7 Jun 2021 09:23:36 +0000 (11:23 +0200)] 
manager: implemented graceful shutdown by POSTing to /stop

closes #2

3 years agomanager: api: parse the request content based on Content-Type header
Vasek Sraier [Wed, 2 Jun 2021 16:36:40 +0000 (18:36 +0200)] 
manager: api: parse the request content based on Content-Type header

closes #4

3 years agoconfig: import jinja template from file
Aleš [Wed, 2 Jun 2021 16:32:53 +0000 (18:32 +0200)] 
config: import jinja template from file

3 years agoMerge branch '3-implement-configuration-file-loading-on-startup' into 'master'
Vaclav Sraier [Wed, 2 Jun 2021 16:06:38 +0000 (16:06 +0000)] 
Merge branch '3-implement-configuration-file-loading-on-startup' into 'master'

Resolve "Implement configuration file loading on startup"

Closes #3

See merge request knot/knot-resolver-manager!3

3 years agoci: attempt to fix problem with updating dependencies
Vasek Sraier [Wed, 26 May 2021 11:59:35 +0000 (13:59 +0200)] 
ci: attempt to fix problem with updating dependencies

3 years agomanager: loading initial configuration on startup and default path changes
Vasek Sraier [Wed, 2 Jun 2021 14:31:37 +0000 (16:31 +0200)] 
manager: loading initial configuration on startup and default path changes

3 years agodocs: fixdeps: sphinx-rtd-theme removed
Aleš [Wed, 26 May 2021 09:35:20 +0000 (11:35 +0200)] 
docs: fixdeps: sphinx-rtd-theme removed
- not needed for development purposes

3 years agodocs: initial sphinx config
Aleš [Tue, 25 May 2021 18:21:53 +0000 (20:21 +0200)] 
docs: initial sphinx config

3 years agotyping: fixed types after type-checker update
Vasek Sraier [Mon, 24 May 2021 09:44:42 +0000 (11:44 +0200)] 
typing: fixed types after type-checker update

3 years agotasks: fixdeps - automatically update npm packages
Vasek Sraier [Mon, 24 May 2021 09:07:12 +0000 (11:07 +0200)] 
tasks: fixdeps - automatically update npm packages

3 years agoMerge branch 'ci' into 'master'
Vaclav Sraier [Mon, 24 May 2021 08:59:43 +0000 (08:59 +0000)] 
Merge branch 'ci' into 'master'

LXC-containers based CI with integration tests

See merge request knot/knot-resolver-manager!2

3 years agoci: removed outdated comment from ci config
Vaclav Sraier [Mon, 10 May 2021 15:28:50 +0000 (15:28 +0000)] 
ci: removed outdated comment from ci config

3 years agoLXC-containers based CI with integration tests
Vaclav Sraier [Mon, 24 May 2021 08:59:43 +0000 (08:59 +0000)] 
LXC-containers based CI with integration tests

3 years agoconfig: several config options and features
Aleš [Thu, 6 May 2021 15:07:19 +0000 (17:07 +0200)] 
config: several config options and features
- initial implementation of network.interfaces
- network.edns-buffer-size accepts one or two arguments
- suffixes for byte size and time interval

3 years agoformatting: utils: dataclasses_parservalidator
Aleš [Mon, 3 May 2021 11:23:47 +0000 (13:23 +0200)] 
formatting: utils: dataclasses_parservalidator
- formatting fix
- few comments added

3 years agoutils: detect duplicate keys in configuration
Aleš [Mon, 3 May 2021 07:19:14 +0000 (09:19 +0200)] 
utils: detect duplicate keys in configuration
- custom hook for json loader
- custom loader for PyYAML

3 years agoci: changed the way CI works
Vasek Sraier [Thu, 22 Apr 2021 17:55:39 +0000 (19:55 +0200)] 
ci: changed the way CI works

Squashed commit of the following:

commit b439b895b4ea18fc63124fb66b55b439f7b10fef
Author: Vasek Sraier <git@vakabus.cz>
Date:   Thu Apr 22 19:47:48 2021 +0200

    ci: npm global install in dev container

commit c3a896269b222a8d23af54910ed2fe98193fa496
Author: Vasek Sraier <git@vakabus.cz>
Date:   Thu Apr 22 19:12:12 2021 +0200

    ci: installing npm dependencies globally

commit 473fbf4878c40f859b4bb2eb25c9ccd2ac5a427d
Author: Vasek Sraier <git@vakabus.cz>
Date:   Thu Apr 22 18:56:57 2021 +0200

    scripts: virtual env or ci detection

commit fcf1d0e8035825fc1bd236b9c84bf792198c2aab
Author: Vasek Sraier <git@vakabus.cz>
Date:   Thu Apr 22 18:48:41 2021 +0200

    scripts: fixed bash options

commit aa96cf925ac0cd6ad36b89f011e449006dd6d8e9
Author: Vasek Sraier <git@vakabus.cz>
Date:   Thu Apr 22 18:45:49 2021 +0200

    ci: updated check stage definition

commit 40a00e1261cf51c8a15e237e73d9a1dd2ffd3e61
Author: Vasek Sraier <git@vakabus.cz>
Date:   Thu Apr 22 18:33:51 2021 +0200

    ci: fix dev container definition

commit ccedf3e18aead5097bec11384c2fd08c783129cd
Author: Vasek Sraier <git@vakabus.cz>
Date:   Thu Apr 22 18:30:37 2021 +0200

    ci: fixed typo in .gitlab-ci.yml

commit eaada4a0cfe1282fd90af838f6d2dade0129c47e
Author: Vasek Sraier <git@vakabus.cz>
Date:   Thu Apr 22 18:06:39 2021 +0200

    ci: use different container and always build it

3 years agoscripts: updated scripts so that they don't repeat themselves
Vasek Sraier [Thu, 22 Apr 2021 16:03:05 +0000 (18:03 +0200)] 
scripts: updated scripts so that they don't repeat themselves

3 years agodependencies: added apkg to poetry managed dependencies
Vasek Sraier [Thu, 22 Apr 2021 15:24:24 +0000 (17:24 +0200)] 
dependencies: added apkg to poetry managed dependencies

3 years agoMerge branch 'apkg' into 'master'
Vaclav Sraier [Thu, 22 Apr 2021 15:07:09 +0000 (15:07 +0000)] 
Merge branch 'apkg' into 'master'

distro: add apkg-powered packaging for debian

See merge request knot/knot-resolver-manager!1

3 years agomanager: supervisord backend: completing implementation with first working test
Vasek Sraier [Mon, 19 Apr 2021 21:34:39 +0000 (23:34 +0200)] 
manager: supervisord backend: completing implementation with first working test

3 years agodistro: add apkg-powered packaging for debian
Jakub Ružička [Tue, 20 Apr 2021 11:11:22 +0000 (13:11 +0200)] 
distro: add apkg-powered packaging for debian

see distro/README.md

3 years agomanager: supervisord backend: initial untested support
Vasek Sraier [Mon, 19 Apr 2021 14:03:28 +0000 (16:03 +0200)] 
manager: supervisord backend: initial untested support

3 years agoconfig: server: private attribute for the number of instances
Aleš [Thu, 15 Apr 2021 14:47:58 +0000 (16:47 +0200)] 
config: server: private attribute for the number of instances
The value of the attribute is determined indirectly from
loaded configuration or based on the number of system's CPUs.

3 years agomanager: parser validator: validation methods renamed
Aleš [Thu, 15 Apr 2021 12:53:23 +0000 (14:53 +0200)] 
manager: parser validator: validation methods renamed

3 years agomanager: parser validator: skipping internal fields when parsing dataclasses
Vasek Sraier [Thu, 15 Apr 2021 11:59:39 +0000 (13:59 +0200)] 
manager: parser validator: skipping internal fields when parsing dataclasses

3 years agomanager: parser validator: support for booleans and more hand specified type coercions
Vasek Sraier [Thu, 15 Apr 2021 11:51:48 +0000 (13:51 +0200)] 
manager: parser validator: support for booleans and more hand specified type coercions

3 years agomanager: parser validator: changed primitive type coercion
Vasek Sraier [Thu, 15 Apr 2021 11:36:07 +0000 (13:36 +0200)] 
manager: parser validator: changed primitive type coercion

int, float -> str    ...   allowed and will happen
str -> int, float    ...   disallowed
float -> int         ...   allowed and will happen
int -> float         ...   allowed and will happen

3 years agoconfig: basic structure
Aleš [Wed, 14 Apr 2021 14:17:08 +0000 (16:17 +0200)] 
config: basic structure
- new sections added
- number of kresd instances can be based on number of system's CPUs

3 years agoconfig: files moved to 'datamodel' subdirectory
Aleš [Tue, 13 Apr 2021 16:51:51 +0000 (18:51 +0200)] 
config: files moved to 'datamodel' subdirectory

3 years agoutils: type parser validator: fixed bugs with exceptions missing format strings
Vasek Sraier [Mon, 12 Apr 2021 09:36:04 +0000 (11:36 +0200)] 
utils: type parser validator: fixed bugs with exceptions missing format strings

3 years agoutils: type parser validator - support for proper Unions with Literals
Vasek Sraier [Mon, 12 Apr 2021 09:27:33 +0000 (11:27 +0200)] 
utils: type parser validator - support for proper Unions with Literals

3 years agoservice manager backend: systemd: added some form of detection that systemd is available
Vasek Sraier [Thu, 8 Apr 2021 15:22:28 +0000 (17:22 +0200)] 
service manager backend: systemd: added some form of detection that systemd is available

3 years agoscripts: vscode configuration
Vasek Sraier [Wed, 7 Apr 2021 20:53:26 +0000 (22:53 +0200)] 
scripts: vscode configuration

3 years agointegration: added test for crash behaviour
Vasek Sraier [Wed, 7 Apr 2021 20:28:19 +0000 (22:28 +0200)] 
integration: added test for crash behaviour

3 years agomanager: preparation for multiple service manager backends
Vasek Sraier [Wed, 7 Apr 2021 19:13:40 +0000 (21:13 +0200)] 
manager: preparation for multiple service manager backends

3 years agoconfig: logging section added
Aleš [Tue, 6 Apr 2021 15:06:55 +0000 (17:06 +0200)] 
config: logging section added

3 years agoconfig: dns64 section added
Aleš [Thu, 1 Apr 2021 14:25:46 +0000 (16:25 +0200)] 
config: dns64 section added

3 years agotypes: fixing type detection
Vasek Sraier [Tue, 30 Mar 2021 18:40:01 +0000 (20:40 +0200)] 
types: fixing type detection

This is just weird. The previous version was working without issues
on pretty much every system except for our integration testing tool.
This seems to fix it. But I still don't understand, how it really works.

3 years agotests: fixed formatting
Vasek Sraier [Tue, 30 Mar 2021 17:52:46 +0000 (19:52 +0200)] 
tests: fixed formatting

3 years agotests: unit test for parsing simple configuration
Vasek Sraier [Tue, 30 Mar 2021 17:51:25 +0000 (19:51 +0200)] 
tests: unit test for parsing simple configuration

3 years agoutils: overloads: type hint fix
Vasek Sraier [Tue, 30 Mar 2021 17:39:41 +0000 (19:39 +0200)] 
utils: overloads: type hint fix

3 years agoutils: generic parser and validator for dictlike objects and python types
Vasek Sraier [Tue, 30 Mar 2021 17:34:04 +0000 (19:34 +0200)] 
utils: generic parser and validator for dictlike objects and python types

3 years agoutils: overloaded functions with optional arguments
Vasek Sraier [Tue, 30 Mar 2021 15:44:05 +0000 (17:44 +0200)] 
utils: overloaded functions with optional arguments

3 years agoutils: simple function overloading helper
Vasek Sraier [Tue, 30 Mar 2021 14:51:57 +0000 (16:51 +0200)] 
utils: simple function overloading helper

3 years agoconf: dataclasses_nested
Aleš [Mon, 29 Mar 2021 17:42:27 +0000 (19:42 +0200)] 
conf: dataclasses_nested
- new datamodel
- JSON data on API
- added configuration file argument
- deps: added pyYAML
- integration: JSON payload in tests

3 years agotooling: pyright strict checking, black reconfiguration for longer lines, automatic...
Vasek Sraier [Fri, 26 Mar 2021 22:38:51 +0000 (23:38 +0100)] 
tooling: pyright strict checking, black reconfiguration for longer lines, automatic import sorting

3 years agoconf: simple files
Aleš [Fri, 26 Mar 2021 15:33:30 +0000 (16:33 +0100)] 
conf: simple files
- configuration in YAM and JSON
- jinja2 template for kresd Lua config

3 years agonaming: KresdManager renamed to KresManager
Aleš [Fri, 26 Mar 2021 14:10:39 +0000 (15:10 +0100)] 
naming: KresdManager renamed to KresManager

3 years agocontainer tooling: poe run now runs in a container, containers no longer include...
Vasek Sraier [Fri, 26 Mar 2021 12:17:39 +0000 (13:17 +0100)] 
container tooling: poe run now runs in a container, containers no longer include the source (we now use bind mount)

3 years agodebugging: created run-debug poe command which starts a container with debugpy server
Vasek Sraier [Wed, 24 Mar 2021 16:15:13 +0000 (17:15 +0100)] 
debugging: created run-debug poe command which starts a container with debugpy server

3 years agointegration testing: using prebuilt containers instead of Dockerfile per test
Vasek Sraier [Wed, 24 Mar 2021 12:13:44 +0000 (13:13 +0100)] 
integration testing: using prebuilt containers instead of Dockerfile per test

3 years agoconf: render Lua config using jinja2
Aleš [Tue, 23 Mar 2021 20:11:05 +0000 (21:11 +0100)] 
conf: render Lua config using jinja2

3 years agoscripts: added unit tests to precommit script
Vasek Sraier [Tue, 23 Mar 2021 18:51:59 +0000 (19:51 +0100)] 
scripts: added unit tests to precommit script

3 years agocompat: module expansion and refactoring - included dataclasses
Vasek Sraier [Tue, 23 Mar 2021 18:50:20 +0000 (19:50 +0100)] 
compat: module expansion and refactoring - included dataclasses

3 years agointegration test runner: detecting podman startup failure
Vasek Sraier [Tue, 23 Mar 2021 16:07:48 +0000 (17:07 +0100)] 
integration test runner: detecting podman startup failure

3 years agopoe: added poe commit command running all tests possible before commiting with git
Vasek Sraier [Tue, 23 Mar 2021 14:41:49 +0000 (15:41 +0100)] 
poe: added poe commit command running all tests possible before commiting with git

3 years agodependencies: jinja2 added
Aleš [Tue, 23 Mar 2021 10:36:37 +0000 (11:36 +0100)] 
dependencies: jinja2 added

3 years agodataclasses_yaml: fixed compound types handling (fixes integration tests broken in...
Vasek Sraier [Mon, 22 Mar 2021 19:54:15 +0000 (20:54 +0100)] 
dataclasses_yaml: fixed compound types handling (fixes integration tests broken in previous commit)

3 years agopoe: added code formatting command
Aleš [Mon, 22 Mar 2021 18:13:54 +0000 (19:13 +0100)] 
poe: added code formatting command

3 years agodataclasses_yaml: added an option to use inheritance instead of a decorator
Vasek Sraier [Mon, 22 Mar 2021 17:50:16 +0000 (18:50 +0100)] 
dataclasses_yaml: added an option to use inheritance instead of a decorator

3 years agodataclasses_yaml: removed left over debug print
Vasek Sraier [Mon, 22 Mar 2021 16:59:19 +0000 (17:59 +0100)] 
dataclasses_yaml: removed left over debug print

3 years agodatamodel: simple configuration
Aleš [Mon, 22 Mar 2021 15:12:47 +0000 (16:12 +0100)] 
datamodel: simple configuration

3 years agodataclasses_yaml: full dataclasses parser
Vasek Sraier [Sat, 20 Mar 2021 11:38:34 +0000 (12:38 +0100)] 
dataclasses_yaml: full dataclasses parser

3 years agomanager: dataclasses strictyaml schema support for Optional type
Vasek Sraier [Fri, 19 Mar 2021 21:13:33 +0000 (22:13 +0100)] 
manager: dataclasses strictyaml schema support for Optional type

3 years agotests: unit tests testing compatibility of our decorator with dataclasses
Vasek Sraier [Fri, 19 Mar 2021 20:41:41 +0000 (21:41 +0100)] 
tests: unit tests testing compatibility of our decorator with dataclasses

3 years agomanager: generating stringyaml schemas from dataclass-like definitions
Vasek Sraier [Fri, 19 Mar 2021 20:25:11 +0000 (21:25 +0100)] 
manager: generating stringyaml schemas from dataclass-like definitions

3 years agopoe: fixed unit test invocation command
Vasek Sraier [Fri, 19 Mar 2021 14:44:26 +0000 (15:44 +0100)] 
poe: fixed unit test invocation command

3 years agomanager: fixed formatting to make black happy
Vasek Sraier [Sat, 13 Mar 2021 11:39:58 +0000 (12:39 +0100)] 
manager: fixed formatting to make black happy

3 years agoREADME.md: updated instructions with tools for integration testing
Vasek Sraier [Sat, 13 Mar 2021 11:38:30 +0000 (12:38 +0100)] 
README.md: updated instructions with tools for integration testing

3 years agointegration tests: testing tool can now be run by `poe integration`
Vasek Sraier [Sat, 13 Mar 2021 11:33:46 +0000 (12:33 +0100)] 
integration tests: testing tool can now be run by `poe integration`

3 years agointegration testing: improved testing tool, testing changes in worker count
Vasek Sraier [Sat, 13 Mar 2021 11:28:52 +0000 (12:28 +0100)] 
integration testing: improved testing tool, testing changes in worker count

3 years agointegration testing tool: improved interactive session
Vasek Sraier [Fri, 12 Mar 2021 16:12:58 +0000 (17:12 +0100)] 
integration testing tool: improved interactive session

3 years agointegration test tool: improved help message
Vasek Sraier [Fri, 12 Mar 2021 14:31:29 +0000 (15:31 +0100)] 
integration test tool: improved help message

3 years agobug fixes in order to make the basic startup integration test pass
Vasek Sraier [Fri, 12 Mar 2021 14:13:46 +0000 (15:13 +0100)] 
bug fixes in order to make the basic startup integration test pass

3 years agomanager: code style fixes
Vasek Sraier [Tue, 9 Mar 2021 12:26:58 +0000 (13:26 +0100)] 
manager: code style fixes

3 years agotest: basic startup test and related fixes (however still failing)
Vasek Sraier [Tue, 9 Mar 2021 12:23:01 +0000 (13:23 +0100)] 
test: basic startup test and related fixes (however still failing)

3 years agointegration: bind mounting repository and the test
Vasek Sraier [Tue, 9 Mar 2021 10:03:07 +0000 (11:03 +0100)] 
integration: bind mounting repository and the test

3 years agointegration tests: implemented basic testing framework with Podman
Vasek Sraier [Fri, 5 Mar 2021 17:23:32 +0000 (18:23 +0100)] 
integration tests: implemented basic testing framework with Podman

3 years agointegration testing: initial Podman API code
Vasek Sraier [Thu, 4 Mar 2021 16:11:21 +0000 (17:11 +0100)] 
integration testing: initial Podman API code