]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Aleš Mrázek [Wed, 10 Aug 2022 09:01:47 +0000 (11:01 +0200)]
doc/index.rst: structural changes
Aleš Mrázek [Wed, 10 Aug 2022 08:21:11 +0000 (10:21 +0200)]
doc/build.rst: sphinx-tabs added
Aleš Mrázek [Tue, 9 Aug 2022 08:36:41 +0000 (10:36 +0200)]
doc: gettingstarted update
Vladimír Čunát [Tue, 9 Aug 2022 07:47:32 +0000 (09:47 +0200)]
Merge !1336: lib/generic/array: avoid quadratic work for long arrays
Vladimír Čunát [Mon, 8 Aug 2022 16:40:15 +0000 (18:40 +0200)]
lib/generic/array: avoid quadratic work for long arrays
For long arrays we really want to increase their length by a fraction.
Otherwise it will cost lots of CPU. Doubling seems customary,
though I could imagine e.g. keeping the +50% growth on longest arrays.
I finally got sufficiently angry with this piece of code when debugging
https://forum.turris.cz/t/how-to-debug-a-custom-hosts-file-for-kresd/17449
though in that case it wasn't the main source of inefficiency.
CI: two of the mysterious/bogus warnings around arrays disappeared.
Vladimír Čunát [Mon, 8 Aug 2022 15:01:45 +0000 (17:01 +0200)]
Merge !1334: modules/renumber: fix renumber.name behaviour
Fixes #760
Oto Šťáva [Mon, 8 Aug 2022 11:36:22 +0000 (13:36 +0200)]
modules/renumber: fix renumber.name behaviour
Fixes #760.
Also removes a warning in policy.REROUTE that is no longer true.
Vladimír Čunát [Mon, 8 Aug 2022 14:05:12 +0000 (16:05 +0200)]
Merge !1333: lib/log: Coverity Scan nits
Oto Šťáva [Mon, 8 Aug 2022 11:03:32 +0000 (13:03 +0200)]
lib/log: Coverity Scan nits
Fixes CIDs 355763 and 355764. Also fixes a minor typo.
Aleš Mrázek [Wed, 27 Jul 2022 09:32:38 +0000 (11:32 +0200)]
pkg: doc and its deps removed
Aleš Mrázek [Thu, 21 Jul 2022 13:53:06 +0000 (15:53 +0200)]
doc: new section 'Use Cases' added
Aleš Mrázek [Thu, 21 Jul 2022 13:35:06 +0000 (15:35 +0200)]
doc: 'Quick Start' section renamed to 'Getting Started'
- introduction subsection created
Aleš Mrázek [Wed, 13 Jul 2022 13:47:01 +0000 (15:47 +0200)]
doc: conf.py: rst_prolog added
- global strings for yaml and lua tabs
Aleš Mrázek [Wed, 13 Jul 2022 11:24:30 +0000 (13:24 +0200)]
manager: architecture diagram added
Aleš Mrázek [Wed, 13 Jul 2022 11:05:01 +0000 (13:05 +0200)]
manager: docs directory removed
Aleš Mrázek [Wed, 29 Jun 2022 13:27:06 +0000 (15:27 +0200)]
doc: quickstart-config: added sphinx group-tab
Aleš Mrázek [Wed, 29 Jun 2022 12:59:39 +0000 (14:59 +0200)]
doc: sphinx-tabs added
- tabs tried in quickstart-config
Vladimír Čunát [Mon, 8 Aug 2022 09:41:24 +0000 (11:41 +0200)]
Merge !1332{ ci/images/README: clarify build.sh for Coverity Scan
Oto Šťáva [Mon, 8 Aug 2022 07:34:02 +0000 (09:34 +0200)]
ci/images/README: clarify usage of build.sh for Coverity Scan
Vladimír Čunát [Mon, 8 Aug 2022 09:40:09 +0000 (11:40 +0200)]
Merge !1329: README.md: distro updates
Vladimír Čunát [Fri, 5 Aug 2022 12:39:40 +0000 (14:39 +0200)]
README.md: use a working link for Fedora
Vladimír Čunát [Fri, 5 Aug 2022 12:36:25 +0000 (14:36 +0200)]
README.md: update Ubuntu link from 18.04 to 22.04
Other LTS than 22.04 have really old versions in the repo (<= 3.2.1),
so better not advertise those at all.
Jakub Jirutka [Thu, 4 Aug 2022 15:45:15 +0000 (17:45 +0200)]
README.md: add Repology badge
Jakub Jirutka [Thu, 4 Aug 2022 15:44:27 +0000 (17:44 +0200)]
README.md: add Alpine Linux package to the list
Vladimír Čunát [Mon, 8 Aug 2022 09:38:26 +0000 (11:38 +0200)]
Merge !1326: various nits
Aleš Mrázek [Fri, 5 Aug 2022 14:38:16 +0000 (16:38 +0200)]
Merge branch 'manager-max-worker-count' into 'manager'
manager: improve handling of max-workers configuration
See merge request knot/knot-resolver!1330
Vasek Sraier [Fri, 5 Aug 2022 14:07:47 +0000 (16:07 +0200)]
manager: supervisord: assert number of workers before starting a new one
this change resulted in small refactoring of the ID system
Vasek Sraier [Fri, 5 Aug 2022 13:43:38 +0000 (15:43 +0200)]
manager: improve handling of max-workers configuration
- changed default to 10*#cpus or 256 if not possible
- fixed bug that would prevent us from running the limiting number of workers
closes #753
Vasek Sraier [Tue, 2 Aug 2022 10:48:48 +0000 (12:48 +0200)]
Merge branch 'master' into manager
Vaclav Sraier [Tue, 2 Aug 2022 10:03:12 +0000 (12:03 +0200)]
Merge branch 'manager-integration-without-submodule' into 'manager'
manager: packaging
See merge request knot/knot-resolver!1248
Vladimír Čunát [Mon, 1 Aug 2022 12:32:52 +0000 (14:32 +0200)]
distro: drop tomas.krizek
The address won't work anymore, and Jakub says this field isn't needed.
Vladimír Čunát [Fri, 1 Jul 2022 08:33:59 +0000 (10:33 +0200)]
lib/utils: drop long unused parts
Vladimír Čunát [Fri, 1 Jul 2022 07:52:29 +0000 (09:52 +0200)]
drop unused #include lines
Vladimír Čunát [Wed, 1 Dec 2021 10:36:10 +0000 (11:36 +0100)]
modules/dnstap nit: silence a lint:tidy warning
https://gitlab.nic.cz/knot/knot-resolver/-/jobs/635837#L219
Vasek Sraier [Sun, 31 Jul 2022 15:00:36 +0000 (17:00 +0200)]
ci: packaging - removed ubuntu 21.10 (EOL soon) and Debian 10 (failing, ignoring for now)
Vladimír Čunát [Mon, 25 Jul 2022 11:35:15 +0000 (13:35 +0200)]
deb packaging: reenable PIE in hardening options
Downstream did this years ago:
https://salsa.debian.org/dns-team/knot-resolver/-/commit/
1f3428a62aa59f269e95abf51836db2112ef4d29
otherwise we have issues with building python parts.
Vasek Sraier [Thu, 21 Jul 2022 16:50:08 +0000 (18:50 +0200)]
ci: use apkg from PyPI, not manually from git
Vasek Sraier [Mon, 18 Jul 2022 09:01:15 +0000 (11:01 +0200)]
rpm packaging: opensuse dependencies
Vasek Sraier [Mon, 18 Jul 2022 08:38:08 +0000 (10:38 +0200)]
ci pkgtest: added more distros and removed old ones
Vasek Sraier [Tue, 12 Jul 2022 13:46:27 +0000 (15:46 +0200)]
manager: supervisord plugin for creating PIPE to stdout
Vasek Sraier [Tue, 12 Jul 2022 11:33:51 +0000 (13:33 +0200)]
manager: supervisord plugins: using sd_notify to report state upstream
Vasek Sraier [Tue, 12 Jul 2022 10:56:03 +0000 (12:56 +0200)]
packaging: systemd service Type=notify did not work with supervisord
Vasek Sraier [Mon, 11 Jul 2022 09:52:09 +0000 (11:52 +0200)]
packaging: default package config update
Vasek Sraier [Mon, 11 Jul 2022 09:22:10 +0000 (11:22 +0200)]
dependencies: added supervisord to proper dependencies (moved from dev dependencies)
Vasek Sraier [Mon, 11 Jul 2022 09:13:11 +0000 (11:13 +0200)]
packaging: missing supervisord dependendency in rocky
Vasek Sraier [Mon, 11 Jul 2022 08:50:31 +0000 (10:50 +0200)]
packaging: rpm python install directory shenanigans
Vasek Sraier [Mon, 4 Jul 2022 16:24:25 +0000 (18:24 +0200)]
manager: fix bug in ignore pattern for black in pyproject.toml
Vasek Sraier [Mon, 4 Jul 2022 14:45:33 +0000 (16:45 +0200)]
packaging: manually add rocky dependencies
Vasek Sraier [Tue, 17 May 2022 09:34:46 +0000 (11:34 +0200)]
manager packaging tests: added a test checking existance of dependencies
Vasek Sraier [Tue, 17 May 2022 09:34:46 +0000 (11:34 +0200)]
WIP: packaing tests using apkg's new test feature
Vasek Sraier [Thu, 9 Jun 2022 21:21:41 +0000 (23:21 +0200)]
manager: explicitely crash on old Python versions
Vasek Sraier [Thu, 9 Jun 2022 20:12:38 +0000 (22:12 +0200)]
manager: replaced Click with argparse to "solve" issues with encoding
Click is refusing to run in environments with misconfigured locale and default encoding.
https://click.palletsprojects.com/en/8.1.x/unicode-support/
Refusing to run might make sense for CLI utility, but not for a service which is not properly interactive.
Vasek Sraier [Thu, 21 Apr 2022 21:44:07 +0000 (23:44 +0200)]
manager's service file: prefixed all commands with /usr/bin/env to ensure absolute path
Vasek Sraier [Thu, 21 Apr 2022 21:09:05 +0000 (23:09 +0200)]
packaging: listed kresctl in rpm .spec file
Vasek Sraier [Thu, 21 Apr 2022 20:53:23 +0000 (22:53 +0200)]
ci: added basic manager tests to pkgtests
Vasek Sraier [Sun, 17 Apr 2022 15:11:39 +0000 (17:11 +0200)]
manager: improved logging of subprocess controller selection
Vasek Sraier [Mon, 11 Apr 2022 18:00:39 +0000 (20:00 +0200)]
manager's packaging fixes & better systemd integration
- implemented sd_notify and changed manager service type to "notify"
- fixed release configuration
- renamed knot-resolver-manager.service to knot-resolver.service
Vasek Sraier [Sun, 10 Apr 2022 19:41:17 +0000 (21:41 +0200)]
manager: add simple packaging tests
Vasek Sraier [Sun, 10 Apr 2022 18:40:14 +0000 (20:40 +0200)]
manager: added placeholder for manager's future CLI interface
Vasek Sraier [Fri, 8 Apr 2022 13:11:02 +0000 (15:11 +0200)]
manager: fix packaging script
Jakub Ružička [Wed, 10 Nov 2021 11:32:20 +0000 (12:32 +0100)]
distro: add knot-resolver-manager rpm packaging
Jakub Ružička [Mon, 25 Oct 2021 12:16:37 +0000 (14:16 +0200)]
distro: add knot-resolver-manager deb packaging
Vladimír Čunát [Wed, 27 Jul 2022 09:36:11 +0000 (11:36 +0200)]
Merge !1325: ci/pkgtest: remove Ubuntu 21.10
Vladimír Čunát [Tue, 26 Jul 2022 16:40:29 +0000 (18:40 +0200)]
Revert "ci/pkgtest: switch bad LXC builds to manual start"
This reverts commit
ac3e7ac72cc347e01660d074dff94edfad2ba9a0 .
They have been fixed and seem reliable now.
Vladimír Čunát [Tue, 26 Jul 2022 16:26:12 +0000 (18:26 +0200)]
ci/pkgtest: remove Ubuntu 21.10
It broke down and it isn't relevant anymore.
Vladimír Čunát [Tue, 26 Jul 2022 16:58:14 +0000 (18:58 +0200)]
Merge !1309: support (lib)knot 3.2
Vladimír Čunát [Fri, 17 Jun 2022 07:12:20 +0000 (09:12 +0200)]
ci: add job build-knot32
That way we get at least basic testing before 3.2 is made default in CI.
Vladimír Čunát [Wed, 15 Jun 2022 15:44:38 +0000 (17:44 +0200)]
NEWS: now the support for libknot 3.2 should be complete
Vladimír Čunát [Wed, 15 Jun 2022 07:30:02 +0000 (09:30 +0200)]
daemon: adapt XDP to libknot 3.2
Vladimír Čunát [Wed, 15 Jun 2022 08:46:19 +0000 (10:46 +0200)]
adapt to libknot 3.2 lower-casing knot_pkt_qname()
Our strategy was (and remains) that the in-header QNAME is overwritten
in-place, so most of our code was already (correctly) assuming that
knot_pkt_qname() returns lower-case only. That simplifies this commit.
Vladimír Čunát [Wed, 15 Jun 2022 07:26:46 +0000 (09:26 +0200)]
lua bindings: support libknot 3.2
Aleš Mrázek [Mon, 18 Jul 2022 10:55:25 +0000 (12:55 +0200)]
Merge branch 'manager-utils-modeling' into 'manager'
manager: utils: modeling utils improvements
See merge request knot/knot-resolver!1320
Aleš Mrázek [Thu, 14 Jul 2022 14:04:21 +0000 (16:04 +0200)]
manager: utils: modeling: info about '-'/_'' conversion added to README
Aleš Mrázek [Thu, 14 Jul 2022 11:44:11 +0000 (13:44 +0200)]
manager: utils: modeling: BaseCustomType renamed to BaseValueType
Aleš Mrázek [Wed, 13 Jul 2022 10:42:37 +0000 (12:42 +0200)]
manager: tests: utils: directory for modeling tests
Aleš Mrázek [Wed, 13 Jul 2022 10:39:43 +0000 (12:39 +0200)]
manager: utils: modeling: docstrings updates
-
Vladimír Čunát [Wed, 13 Jul 2022 09:34:03 +0000 (11:34 +0200)]
Merge !1317: ci/pkgtest: switch bad LXC builds to manual start
Aleš Mrázek [Wed, 13 Jul 2022 09:29:09 +0000 (11:29 +0200)]
manager: utils: modeling: raise ValueError instead of DataValidationError in custom types
Vladimír Čunát [Mon, 27 Jun 2022 08:37:13 +0000 (10:37 +0200)]
ci/pkgtest: switch bad LXC builds to manual start
We've been unable to progress with these failures for some time,
and it's not good to have them red in CI all the time.
Manual start should allow easier testing of future fixes,
without doing the futile runs automatically.
Vladimír Čunát [Wed, 13 Jul 2022 09:04:50 +0000 (11:04 +0200)]
Merge !1321: Redirect webserv.lua stdout and stderr to /dev/null
Fixes #758
Héctor Molinero Fernández [Tue, 12 Jul 2022 19:29:26 +0000 (21:29 +0200)]
Redirect webserv.lua stdout and stderr to /dev/null
Fixes a regression on Meson 0.57.0 that produces a timeout in config.ta_bootstrap test.
Aleš Mrázek [Wed, 13 Jul 2022 08:39:39 +0000 (10:39 +0200)]
manager: utils: modeling: naming improvements
Aleš Mrázek [Wed, 13 Jul 2022 08:23:10 +0000 (10:23 +0200)]
manager: utils: modeling: README update
Vladimír Čunát [Wed, 13 Jul 2022 07:26:03 +0000 (09:26 +0200)]
Merge !1322: ci: confine docker and macOS jobs to main repository
Oto Šťáva [Wed, 13 Jul 2022 06:21:48 +0000 (08:21 +0200)]
ci: confine docker and macOS jobs to main repository
Some of our CI jobs use project-specific GitLab runners (e.g. requiring
the `dind` tag). The jobs then fail when someone forks the repository
and opens a merge request. This commit confines those jobs to the
`knot/knot-resolver` repository.
Aleš Mrázek [Mon, 11 Jul 2022 09:49:56 +0000 (11:49 +0200)]
manager: utils: modeling: simple documentation
Aleš Mrázek [Mon, 11 Jul 2022 09:04:09 +0000 (11:04 +0200)]
manager: utils: modeling: rename _PREVIOUS_SCHEMA to _LAYER
Aleš Mrázek [Fri, 8 Jul 2022 20:11:03 +0000 (22:11 +0200)]
utils: modeling utils moved to separate directory
Aleš Mrázek [Fri, 8 Jul 2022 13:19:54 +0000 (15:19 +0200)]
Merge branch 'manager-supervisord-inversion-of-control' into 'manager'
manager: inverted process tree with supervisord
See merge request knot/knot-resolver!1319
Aleš Mrázek [Fri, 8 Jul 2022 13:15:03 +0000 (15:15 +0200)]
manager: tests: datamodel: 'id' removed from tests
Vasek Sraier [Thu, 7 Jul 2022 22:00:57 +0000 (00:00 +0200)]
manager: supervisord stops with non-zero exit code whenever manager enters FATAL state
Vasek Sraier [Thu, 7 Jul 2022 14:21:46 +0000 (16:21 +0200)]
manager: improved logging, no exceptions on shutdown -> now it looks almost as before trying to invert the process tree
Vasek Sraier [Thu, 7 Jul 2022 10:53:36 +0000 (12:53 +0200)]
manager: initial support for inverted process tree (manager running under a subprocess manager started by manager)
Vladimír Čunát [Thu, 7 Jul 2022 17:22:24 +0000 (19:22 +0200)]
Merge !1315: hints.add_hosts(): respect comments anywhere in a line
Vladimír Čunát [Fri, 24 Jun 2022 07:29:38 +0000 (09:29 +0200)]
hints.add_hosts(): respect comments anywhere in a line
Vladimír Čunát [Fri, 24 Jun 2022 07:26:31 +0000 (09:26 +0200)]
hints tests: simple check of comment parsing
Aleš Mrázek [Thu, 7 Jul 2022 07:04:10 +0000 (09:04 +0200)]
Merge branch 'manager-remove-systemd-support' into 'manager'
Remove systemd backend support
See merge request knot/knot-resolver!1318
Aleš Mrázek [Thu, 7 Jul 2022 06:48:40 +0000 (08:48 +0200)]
manager: datamodel: watchdog section removed
Vasek Sraier [Tue, 5 Jul 2022 09:56:01 +0000 (11:56 +0200)]
manager: reorganization of manager startup and subprocess controller selection
Vasek Sraier [Tue, 5 Jul 2022 09:55:21 +0000 (11:55 +0200)]
manager: updated poethepoet to prevent exceptions when stopping dev run