]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
2 years agoRevert "tests/packaging: skip workers.sh"
Vasek Sraier [Wed, 21 Sep 2022 14:47:02 +0000 (16:47 +0200)] 
Revert "tests/packaging: skip workers.sh"

This reverts commit 16ea2c8fc493f3175bfa510682579317ef58587a.

2 years agomanager packaging: kresctl fix
Vasek Sraier [Wed, 21 Sep 2022 14:46:05 +0000 (16:46 +0200)] 
manager packaging: kresctl fix

- downgraded pinned version of supervisord
- installing procps in CI

2 years agoMerge branch 'release-5.5.3' into 'master' obs-knot-resolver-8xyvhu/deployments/2281 obs-knot-resolver-es11k1/deployments/2282 obs-knot-resolver-es11k1/deployments/2284 obs-knot-resolver-es11k1/deployments/2285 obs-knot-resolver-es11k1/deployments/2286 obs-knot-resolver-es11k1/deployments/2287 obs-knot-resolver-es11k1/deployments/2288 obs-knot-resolver-es11k1/deployments/2289 obs-knot-resolver-es11k1/deployments/2290 obs-knot-resolver-es11k1/deployments/2291 obs-knot-resolver-es11k1/deployments/2293 obs-knot-resolver-es11k1/deployments/2294 obs-knot-resolver-es11k1/deployments/2295 obs-knot-resolver-es11k1/deployments/2296 obs-knot-resolver-es11k1/deployments/2297 obs-knot-resolver-kv62s6/deployments/2280 v5.5.3
Aleš Mrázek [Wed, 21 Sep 2022 12:09:25 +0000 (14:09 +0200)] 
Merge branch 'release-5.5.3' into 'master'

release 5.5.3

See merge request knot/knot-resolver!1343

2 years agorelease 5.5.3 obs-knot-resolver-bs4hbr/deployments/2275 obs-knot-resolver-bs4hbr/deployments/2279
Vladimír Čunát [Fri, 16 Sep 2022 11:28:52 +0000 (13:28 +0200)] 
release 5.5.3

2 years agolib/zonecut + iterator: limit large NS sets
Vladimír Čunát [Wed, 17 Aug 2022 14:34:06 +0000 (16:34 +0200)] 
lib/zonecut + iterator: limit large NS sets

It's a mitigation for CVE-2022-40188 and similar DoS attempts.
It's using really trivial approaches, at least for now.

2 years agoMerge branch 'manager-better-api' into 'manager'
Aleš Mrázek [Tue, 30 Aug 2022 12:42:25 +0000 (14:42 +0200)] 
Merge branch 'manager-better-api' into 'manager'

manager: fully featured HTTP API

See merge request knot/knot-resolver!1331

2 years agotests/packaging: skip workers.sh
Aleš Mrázek [Tue, 30 Aug 2022 12:28:20 +0000 (14:28 +0200)] 
tests/packaging: skip workers.sh

2 years agodoc/gettingstarted-config.rst: json schema added, API payload
Aleš Mrázek [Mon, 29 Aug 2022 13:04:49 +0000 (15:04 +0200)] 
doc/gettingstarted-config.rst: json schema added, API payload

2 years agodoc/gettingstarted-config.rst: initial info about API
Aleš Mrázek [Fri, 26 Aug 2022 21:36:07 +0000 (23:36 +0200)] 
doc/gettingstarted-config.rst: initial info about API

2 years agoMerge !1340: ci macOS: add Knot 3.2 obs-knot-resolver-es11k1/deployments/2249 obs-knot-resolver-es11k1/deployments/2250 obs-knot-resolver-es11k1/deployments/2251 obs-knot-resolver-es11k1/deployments/2252 obs-knot-resolver-es11k1/deployments/2253 obs-knot-resolver-es11k1/deployments/2255 obs-knot-resolver-es11k1/deployments/2256 obs-knot-resolver-es11k1/deployments/2257 obs-knot-resolver-es11k1/deployments/2258 obs-knot-resolver-es11k1/deployments/2259 obs-knot-resolver-es11k1/deployments/2260 obs-knot-resolver-es11k1/deployments/2261 obs-knot-resolver-es11k1/deployments/2262 obs-knot-resolver-es11k1/deployments/2263 obs-knot-resolver-es11k1/deployments/2264 obs-knot-resolver-es11k1/deployments/2265 obs-knot-resolver-es11k1/deployments/2266 obs-knot-resolver-es11k1/deployments/2267 obs-knot-resolver-es11k1/deployments/2268 obs-knot-resolver-es11k1/deployments/2269 obs-knot-resolver-es11k1/deployments/2270 obs-knot-resolver-es11k1/deployments/2271 obs-knot-resolver-es11k1/deployments/2272 obs-knot-resolver-es11k1/deployments/2273 obs-knot-resolver-es11k1/deployments/2274
Vladimír Čunát [Fri, 26 Aug 2022 10:46:42 +0000 (12:46 +0200)] 
Merge !1340: ci macOS: add Knot 3.2

2 years agoci macOS: add Knot 3.2
Oto Šťáva [Fri, 26 Aug 2022 10:46:42 +0000 (12:46 +0200)] 
ci macOS: add Knot 3.2

2 years agoMerge !1339: cache test: loosen conditions on cache usage obs-knot-resolver-es11k1/deployments/2248
Vladimír Čunát [Thu, 25 Aug 2022 19:17:10 +0000 (21:17 +0200)] 
Merge !1339: cache test: loosen conditions on cache usage

2 years agoNEWS: mention config_tests for macOS
Vladimír Čunát [Thu, 25 Aug 2022 19:14:25 +0000 (21:14 +0200)] 
NEWS: mention config_tests for macOS

2 years agocache test: loosen conditions on cache usage
Vladimír Čunát [Thu, 25 Aug 2022 16:02:03 +0000 (18:02 +0200)] 
cache test: loosen conditions on cache usage

This fixes config_tests on aarch64 macOS.
The key difference is that they use 16k pages,
so LMDB space usage also behaves a bit different.

2 years agomanager dependencies: accept just about any pyyaml (problems with kresctl refusing...
Vasek Sraier [Mon, 22 Aug 2022 22:26:59 +0000 (00:26 +0200)] 
manager dependencies: accept just about any pyyaml (problems with kresctl refusing to launch due to version mismatch)

2 years agopackaging tests: kresctl changing number of workers
Vasek Sraier [Mon, 22 Aug 2022 21:52:13 +0000 (23:52 +0200)] 
packaging tests: kresctl changing number of workers

2 years agokresctl: argument parsing infrastracture and init of tab completion
Vasek Sraier [Wed, 17 Aug 2022 08:44:26 +0000 (10:44 +0200)] 
kresctl: argument parsing infrastracture and init of tab completion

2 years agokresctl: basic implementation using the new HTTP API
Vasek Sraier [Fri, 12 Aug 2022 18:57:26 +0000 (20:57 +0200)] 
kresctl: basic implementation using the new HTTP API

2 years agohttp api improvements and tests
Vasek Sraier [Fri, 12 Aug 2022 09:08:03 +0000 (11:08 +0200)] 
http api improvements and tests

- adds versions to URL's (closes #759)
- adds a basic packaging test for consistent etags
- adds a basic packaging test for working metrics
- fix bugs with API implementation
- fix bugs with /metrics endpoint

2 years agomanager: config API: new query capability inspired by Caddy's HTTP API
Vasek Sraier [Sun, 7 Aug 2022 15:15:12 +0000 (17:15 +0200)] 
manager: config API: new query capability inspired by Caddy's HTTP API

2 years agoMerge branch 'manager-doc' into 'manager'
Aleš Mrázek [Thu, 25 Aug 2022 07:26:30 +0000 (09:26 +0200)] 
Merge branch 'manager-doc' into 'manager'

doc: sphinx-tabs added

See merge request knot/knot-resolver!1335

3 years agodoc/gettingstarted-config: configuration-chapter reference correction
Aleš Mrázek [Wed, 24 Aug 2022 19:52:41 +0000 (21:52 +0200)] 
doc/gettingstarted-config: configuration-chapter reference correction

3 years agoMerge !1338: macOS nits obs-knot-resolver-es11k1/deployments/2247
Vladimír Čunát [Wed, 24 Aug 2022 16:04:34 +0000 (18:04 +0200)] 
Merge !1338: macOS nits

3 years agodoc/gettingstarted-config.rst: network interfaces removed
Aleš Mrázek [Wed, 24 Aug 2022 13:32:46 +0000 (15:32 +0200)] 
doc/gettingstarted-config.rst: network interfaces removed
- added reference to usecases chapter

3 years agotests/config: skip `freebind` sub-test on macOS
Vladimír Čunát [Wed, 24 Aug 2022 09:51:49 +0000 (11:51 +0200)] 
tests/config: skip `freebind` sub-test on macOS

That option isn't supported there, so the test wouldn't work.
Now the config tests work for me on x86 macOS.

3 years agodaemon/http nit: silence a warning
Vladimír Čunát [Wed, 24 Aug 2022 09:50:14 +0000 (11:50 +0200)] 
daemon/http nit: silence a warning

Enums are more like ints anyway (in standard),
even when drawn from a small subset.

3 years agodaemon/io: log another message if `freebind` isn't supported
Vladimír Čunát [Wed, 24 Aug 2022 08:58:26 +0000 (10:58 +0200)] 
daemon/io: log another message if `freebind` isn't supported

So far the message wasn't pointing to freebind at all:
[net   ] bind to '::1@53' (UDP): Operation not supported

I used preprocessor to avoid duplication and unused warnings.

Another way would be to ignore the freebind option if not supported,
but I think it's better to convince users not to specify it.

3 years agodoc: usecases: network interfaces added
Aleš Mrázek [Thu, 18 Aug 2022 13:13:27 +0000 (15:13 +0200)] 
doc: usecases: network interfaces added

3 years agoMerge branch 'release-5.5.2' into 'master' obs-knot-resolver-8xyvhu/deployments/2238 obs-knot-resolver-bs4hbr/deployments/2276 obs-knot-resolver-bs4hbr/deployments/2277 obs-knot-resolver-es11k1/deployments/2239 obs-knot-resolver-es11k1/deployments/2240 obs-knot-resolver-es11k1/deployments/2241 obs-knot-resolver-es11k1/deployments/2242 obs-knot-resolver-es11k1/deployments/2243 obs-knot-resolver-es11k1/deployments/2244 obs-knot-resolver-es11k1/deployments/2245 obs-knot-resolver-es11k1/deployments/2246 obs-knot-resolver-kv62s6/deployments/2237 v5.5.2
Aleš Mrázek [Tue, 16 Aug 2022 11:43:52 +0000 (13:43 +0200)] 
Merge branch 'release-5.5.2' into 'master'

release 5.5.2

See merge request knot/knot-resolver!1337

3 years agoci OBS: replace Ubuntu 21.10 by 22.04 obs-knot-resolver-bs4hbr/deployments/2236
Vladimír Čunát [Tue, 16 Aug 2022 07:46:29 +0000 (09:46 +0200)] 
ci OBS: replace Ubuntu 21.10 by 22.04

21.10 isn't supported anymore, which is probably why it's failing.

3 years agoci OBS: replace Fedora 34 by 36
Vladimír Čunát [Tue, 16 Aug 2022 07:40:06 +0000 (09:40 +0200)] 
ci OBS: replace Fedora 34 by 36

We've already done that on OBS side, which is probably why it's failing.

3 years agorelease 5.5.2
Aleš Mrázek [Mon, 15 Aug 2022 13:52:16 +0000 (15:52 +0200)] 
release 5.5.2

3 years agodoc nit: fix broken link, luacov home moved
Vladimír Čunát [Mon, 15 Aug 2022 09:45:32 +0000 (11:45 +0200)] 
doc nit: fix broken link, luacov home moved

https://github.com/lunarmodules/luacov/issues/99

3 years agoNEWS nit: prefer imperative formulations
Vladimír Čunát [Sun, 14 Aug 2022 15:15:18 +0000 (17:15 +0200)] 
NEWS nit: prefer imperative formulations

We're mostly using those in NEWS and first line of commit messages.
I'm not sure if they're much better than alternatives, but at least
consistency is nice.

3 years agoMerge !1328: daemon/worker: drop caching of kr_request mempools obs-knot-resolver-es11k1/deployments/2226 obs-knot-resolver-es11k1/deployments/2227 obs-knot-resolver-es11k1/deployments/2228 obs-knot-resolver-es11k1/deployments/2229 obs-knot-resolver-es11k1/deployments/2233
Vladimír Čunát [Thu, 11 Aug 2022 09:57:09 +0000 (11:57 +0200)] 
Merge !1328: daemon/worker: drop caching of kr_request mempools

3 years agodaemon/worker: drop caching of kr_request mempools
Vladimír Čunát [Wed, 3 Aug 2022 14:52:01 +0000 (16:52 +0200)] 
daemon/worker: drop caching of kr_request mempools

This caused a huge increase in real memory usage in case of queries
arriving to kresd while being disconnected from internet.
The usage was slowly creeping up, even over 2G.

Interesting past commits: b350d38d and two preceding.

There apparently was no real memory leak.  I assume that reusal of
long-living mempools is risky in terms of memory fragmentation,
though the extent of the issue surprised me very much.
The issue seemed the same with normal glibc and jemalloc.

I generally dislike ad-hoc optimization attempts like these freelists.
Now the allocator can better decide *itself* how to reuse memory.

3 years agodaemon/worker: drop a long unused #define
Vladimír Čunát [Wed, 3 Aug 2022 14:39:02 +0000 (16:39 +0200)] 
daemon/worker: drop a long unused #define

3 years agodoc/index.rst: structural changes
Aleš Mrázek [Wed, 10 Aug 2022 09:01:47 +0000 (11:01 +0200)] 
doc/index.rst: structural changes

3 years agodoc/build.rst: sphinx-tabs added
Aleš Mrázek [Wed, 10 Aug 2022 08:21:11 +0000 (10:21 +0200)] 
doc/build.rst: sphinx-tabs added

3 years agodoc: gettingstarted update
Aleš Mrázek [Tue, 9 Aug 2022 08:36:41 +0000 (10:36 +0200)] 
doc: gettingstarted update

3 years agoMerge !1336: lib/generic/array: avoid quadratic work for long arrays obs-knot-resolver-es11k1/deployments/2224 obs-knot-resolver-es11k1/deployments/2225
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

3 years agolib/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.

3 years agoMerge !1334: modules/renumber: fix renumber.name behaviour obs-knot-resolver-es11k1/deployments/2223
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

3 years agomodules/renumber: fix renumber.name behaviour
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.

3 years agoMerge !1333: lib/log: Coverity Scan nits
Vladimír Čunát [Mon, 8 Aug 2022 14:05:12 +0000 (16:05 +0200)] 
Merge !1333: lib/log: Coverity Scan nits

3 years agolib/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.

3 years agopkg: doc and its deps removed
Aleš Mrázek [Wed, 27 Jul 2022 09:32:38 +0000 (11:32 +0200)] 
pkg: doc and its deps removed

3 years agodoc: new section 'Use Cases' added
Aleš Mrázek [Thu, 21 Jul 2022 13:53:06 +0000 (15:53 +0200)] 
doc: new section 'Use Cases' added

3 years agodoc: 'Quick Start' section renamed to 'Getting Started'
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

3 years agodoc: conf.py: rst_prolog added
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

3 years agomanager: architecture diagram added
Aleš Mrázek [Wed, 13 Jul 2022 11:24:30 +0000 (13:24 +0200)] 
manager: architecture diagram added

3 years agomanager: docs directory removed
Aleš Mrázek [Wed, 13 Jul 2022 11:05:01 +0000 (13:05 +0200)] 
manager: docs directory removed

3 years agodoc: quickstart-config: added sphinx group-tab
Aleš Mrázek [Wed, 29 Jun 2022 13:27:06 +0000 (15:27 +0200)] 
doc: quickstart-config: added sphinx group-tab

3 years agodoc: sphinx-tabs added
Aleš Mrázek [Wed, 29 Jun 2022 12:59:39 +0000 (14:59 +0200)] 
doc: sphinx-tabs added
- tabs tried in quickstart-config

3 years agoMerge !1332{ ci/images/README: clarify build.sh for Coverity Scan
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

3 years agoci/images/README: clarify usage of 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

3 years agoMerge !1329: README.md: distro updates
Vladimír Čunát [Mon, 8 Aug 2022 09:40:09 +0000 (11:40 +0200)] 
Merge !1329: README.md: distro updates

3 years agoREADME.md: use a working link for Fedora
Vladimír Čunát [Fri, 5 Aug 2022 12:39:40 +0000 (14:39 +0200)] 
README.md: use a working link for Fedora

3 years agoREADME.md: update Ubuntu link from 18.04 to 22.04
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.

3 years agoREADME.md: add Repology badge
Jakub Jirutka [Thu, 4 Aug 2022 15:45:15 +0000 (17:45 +0200)] 
README.md: add Repology badge

3 years agoREADME.md: add Alpine Linux package to the list
Jakub Jirutka [Thu, 4 Aug 2022 15:44:27 +0000 (17:44 +0200)] 
README.md: add Alpine Linux package to the list

3 years agoMerge !1326: various nits
Vladimír Čunát [Mon, 8 Aug 2022 09:38:26 +0000 (11:38 +0200)] 
Merge !1326: various nits

3 years agoMerge branch 'manager-max-worker-count' into 'manager'
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

3 years agomanager: supervisord: assert number of workers before starting a new one
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

3 years agomanager: improve handling of max-workers configuration
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

3 years agoMerge branch 'master' into manager
Vasek Sraier [Tue, 2 Aug 2022 10:48:48 +0000 (12:48 +0200)] 
Merge branch 'master' into manager

3 years agoMerge branch 'manager-integration-without-submodule' 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

3 years agodistro: drop tomas.krizek
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.

3 years agolib/utils: drop long unused parts
Vladimír Čunát [Fri, 1 Jul 2022 08:33:59 +0000 (10:33 +0200)] 
lib/utils: drop long unused parts

3 years agodrop unused #include lines
Vladimír Čunát [Fri, 1 Jul 2022 07:52:29 +0000 (09:52 +0200)] 
drop unused #include lines

3 years agomodules/dnstap nit: silence a lint:tidy warning
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

3 years agoci: packaging - removed ubuntu 21.10 (EOL soon) and Debian 10 (failing, ignoring...
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)

3 years agodeb packaging: reenable PIE in hardening options
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.

3 years agoci: use apkg from PyPI, not manually from git
Vasek Sraier [Thu, 21 Jul 2022 16:50:08 +0000 (18:50 +0200)] 
ci: use apkg from PyPI, not manually from git

3 years agorpm packaging: opensuse dependencies
Vasek Sraier [Mon, 18 Jul 2022 09:01:15 +0000 (11:01 +0200)] 
rpm packaging: opensuse dependencies

3 years agoci pkgtest: added more distros and removed old ones
Vasek Sraier [Mon, 18 Jul 2022 08:38:08 +0000 (10:38 +0200)] 
ci pkgtest: added more distros and removed old ones

3 years agomanager: supervisord plugin for creating PIPE to stdout
Vasek Sraier [Tue, 12 Jul 2022 13:46:27 +0000 (15:46 +0200)] 
manager: supervisord plugin for creating PIPE to stdout

3 years agomanager: supervisord plugins: using sd_notify to report state upstream
Vasek Sraier [Tue, 12 Jul 2022 11:33:51 +0000 (13:33 +0200)] 
manager: supervisord plugins: using sd_notify to report state upstream

3 years agopackaging: systemd service Type=notify did not work with supervisord
Vasek Sraier [Tue, 12 Jul 2022 10:56:03 +0000 (12:56 +0200)] 
packaging: systemd service Type=notify did not work with supervisord

3 years agopackaging: default package config update
Vasek Sraier [Mon, 11 Jul 2022 09:52:09 +0000 (11:52 +0200)] 
packaging: default package config update

3 years agodependencies: added supervisord to proper dependencies (moved from dev dependencies)
Vasek Sraier [Mon, 11 Jul 2022 09:22:10 +0000 (11:22 +0200)] 
dependencies: added supervisord to proper dependencies (moved from dev dependencies)

3 years agopackaging: missing supervisord dependendency in rocky
Vasek Sraier [Mon, 11 Jul 2022 09:13:11 +0000 (11:13 +0200)] 
packaging: missing supervisord dependendency in rocky

3 years agopackaging: rpm python install directory shenanigans
Vasek Sraier [Mon, 11 Jul 2022 08:50:31 +0000 (10:50 +0200)] 
packaging: rpm python install directory shenanigans

3 years agomanager: fix bug in ignore pattern for black in pyproject.toml
Vasek Sraier [Mon, 4 Jul 2022 16:24:25 +0000 (18:24 +0200)] 
manager: fix bug in ignore pattern for black in pyproject.toml

3 years agopackaging: manually add rocky dependencies
Vasek Sraier [Mon, 4 Jul 2022 14:45:33 +0000 (16:45 +0200)] 
packaging: manually add rocky dependencies

3 years agomanager packaging tests: added a test checking existance of dependencies
Vasek Sraier [Tue, 17 May 2022 09:34:46 +0000 (11:34 +0200)] 
manager packaging tests: added a test checking existance of dependencies

3 years agoWIP: packaing tests using apkg's new test feature
Vasek Sraier [Tue, 17 May 2022 09:34:46 +0000 (11:34 +0200)] 
WIP: packaing tests using apkg's new test feature

3 years agomanager: explicitely crash on old Python versions
Vasek Sraier [Thu, 9 Jun 2022 21:21:41 +0000 (23:21 +0200)] 
manager: explicitely crash on old Python versions

3 years agomanager: replaced Click with argparse to "solve" issues with encoding
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.

3 years agomanager's service file: prefixed all commands with /usr/bin/env to ensure absolute...
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

3 years agopackaging: listed kresctl in rpm .spec file
Vasek Sraier [Thu, 21 Apr 2022 21:09:05 +0000 (23:09 +0200)] 
packaging: listed kresctl in rpm .spec file

3 years agoci: added basic manager tests to pkgtests
Vasek Sraier [Thu, 21 Apr 2022 20:53:23 +0000 (22:53 +0200)] 
ci: added basic manager tests to pkgtests

3 years agomanager: improved logging of subprocess controller selection
Vasek Sraier [Sun, 17 Apr 2022 15:11:39 +0000 (17:11 +0200)] 
manager: improved logging of subprocess controller selection

3 years agomanager's packaging fixes & better systemd integration
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

3 years agomanager: add simple packaging tests
Vasek Sraier [Sun, 10 Apr 2022 19:41:17 +0000 (21:41 +0200)] 
manager: add simple packaging tests

3 years agomanager: added placeholder for manager's future CLI interface
Vasek Sraier [Sun, 10 Apr 2022 18:40:14 +0000 (20:40 +0200)] 
manager: added placeholder for manager's future CLI interface

3 years agomanager: fix packaging script
Vasek Sraier [Fri, 8 Apr 2022 13:11:02 +0000 (15:11 +0200)] 
manager: fix packaging script

3 years agodistro: add knot-resolver-manager rpm packaging
Jakub Ružička [Wed, 10 Nov 2021 11:32:20 +0000 (12:32 +0100)] 
distro: add knot-resolver-manager rpm packaging

3 years agodistro: add knot-resolver-manager deb packaging
Jakub Ružička [Mon, 25 Oct 2021 12:16:37 +0000 (14:16 +0200)] 
distro: add knot-resolver-manager deb packaging

3 years agoMerge !1325: ci/pkgtest: remove Ubuntu 21.10 obs-knot-resolver-es11k1/deployments/2211 obs-knot-resolver-es11k1/deployments/2212 obs-knot-resolver-es11k1/deployments/2213 obs-knot-resolver-es11k1/deployments/2214 obs-knot-resolver-es11k1/deployments/2215 obs-knot-resolver-es11k1/deployments/2216 obs-knot-resolver-es11k1/deployments/2217 obs-knot-resolver-es11k1/deployments/2218 obs-knot-resolver-es11k1/deployments/2219 obs-knot-resolver-es11k1/deployments/2220 obs-knot-resolver-es11k1/deployments/2221 obs-knot-resolver-es11k1/deployments/2222
Vladimír Čunát [Wed, 27 Jul 2022 09:36:11 +0000 (11:36 +0200)] 
Merge !1325: ci/pkgtest: remove Ubuntu 21.10