]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
8 months agoMerge branch 'ci-docker-tags' into 'master' docs-develop-mast-tzgd0f/deployments/5675 docs-develop-mast-tzgd0f/deployments/5678 docs-develop-mast-tzgd0f/deployments/5680 docs-develop-nigh-589znp/deployments/5679 obs-knot-resolver-es11k1/deployments/5681
Aleš Mrázek [Mon, 18 Nov 2024 14:06:54 +0000 (15:06 +0100)] 
Merge branch 'ci-docker-tags' into 'master'

ci: added missing tags to docker jobs

See merge request knot/knot-resolver!1632

8 months ago.gitlab-ci.yml: added missing tags to docker jobs docs-develop-ci-d-t4l9g5/deployments/5674
Aleš Mrázek [Mon, 18 Nov 2024 14:02:51 +0000 (15:02 +0100)] 
.gitlab-ci.yml: added missing tags to docker jobs

8 months agoMerge branch 'ci-docker-except-null' into 'master' docs-develop-mast-tzgd0f/deployments/5672
Aleš Mrázek [Mon, 18 Nov 2024 13:53:44 +0000 (14:53 +0100)] 
Merge branch 'ci-docker-except-null' into 'master'

ci: reset 'except:' for docker jobs

See merge request knot/knot-resolver!1631

8 months ago.gitlab-ci.yml: reset 'except:' for docker jobs docs-develop-ci-d-28vljk/deployments/5671
Aleš Mrázek [Mon, 18 Nov 2024 13:49:53 +0000 (14:49 +0100)] 
.gitlab-ci.yml: reset 'except:' for docker jobs

8 months agoMerge branch 'ci-docker-images-tests' into 'master' docs-develop-mast-tzgd0f/deployments/5669
Aleš Mrázek [Mon, 18 Nov 2024 13:17:17 +0000 (14:17 +0100)] 
Merge branch 'ci-docker-images-tests' into 'master'

ci: docker: cross-platform build, test and deploy

See merge request knot/knot-resolver!1629

8 months ago.gitlab-ci.yml: docker:build docs-develop-ci-d-6lpii6/deployments/5668
Aleš Mrázek [Fri, 15 Nov 2024 05:06:50 +0000 (06:06 +0100)] 
.gitlab-ci.yml: docker:build

8 months ago.gitlab-ci.yml: docker: jobs better naming
Aleš Mrázek [Thu, 14 Nov 2024 21:06:27 +0000 (22:06 +0100)] 
.gitlab-ci.yml: docker: jobs better naming

8 months agodefault API socket update
Aleš Mrázek [Thu, 14 Nov 2024 18:45:41 +0000 (19:45 +0100)] 
default API socket update

- tests/packaging/interactive
- etc/config/config.yaml
- documentation

8 months agoetc/config/config.examples.docker.yaml: keep management API config default
Aleš Mrázek [Thu, 14 Nov 2024 15:17:41 +0000 (16:17 +0100)] 
etc/config/config.examples.docker.yaml: keep management API config default

8 months ago.gitlab-ci.yml: added docker image test
Aleš Mrázek [Wed, 13 Nov 2024 08:46:39 +0000 (09:46 +0100)] 
.gitlab-ci.yml: added docker image test

8 months ago.gitlab-ci.yml: docker: added cross-platform build and deploy
Aleš Mrázek [Wed, 13 Nov 2024 08:46:00 +0000 (09:46 +0100)] 
.gitlab-ci.yml: docker: added cross-platform build and deploy

8 months agoNEWS: add forgotten "rate-limiting" bullet docs-develop-mast-tzgd0f/deployments/5566 docs-develop-mast-tzgd0f/deployments/5576 docs-develop-mast-tzgd0f/deployments/5579 docs-develop-mast-tzgd0f/deployments/5594 docs-develop-mast-tzgd0f/deployments/5597 docs-develop-mast-tzgd0f/deployments/5600 docs-develop-mast-tzgd0f/deployments/5603 docs-develop-mast-tzgd0f/deployments/5638 docs-develop-mast-tzgd0f/deployments/5640 docs-develop-mast-tzgd0f/deployments/5652 docs-develop-mast-tzgd0f/deployments/5655 docs-develop-mast-tzgd0f/deployments/5656 docs-develop-mast-tzgd0f/deployments/5659 docs-develop-mast-tzgd0f/deployments/5660 docs-develop-mast-tzgd0f/deployments/5663 docs-develop-nigh-589znp/deployments/5577 docs-develop-nigh-589znp/deployments/5595 docs-develop-nigh-589znp/deployments/5601 docs-develop-nigh-589znp/deployments/5653 docs-develop-nigh-589znp/deployments/5657 docs-develop-nigh-589znp/deployments/5661 obs-knot-resolver-es11k1/deployments/5578 obs-knot-resolver-es11k1/deployments/5596 obs-knot-resolver-es11k1/deployments/5602 obs-knot-resolver-es11k1/deployments/5639 obs-knot-resolver-es11k1/deployments/5654 obs-knot-resolver-es11k1/deployments/5658 obs-knot-resolver-es11k1/deployments/5662
Vladimír Čunát [Mon, 11 Nov 2024 13:28:35 +0000 (14:28 +0100)] 
NEWS: add forgotten "rate-limiting" bullet

8 months agoMerge branch 'release-6.0.9' into 'master' docs-develop-mast-tzgd0f/deployments/5560 docs-release-v6-0-sc9se5/deployments/5562 obs-knot-resolver-8xyvhu/deployments/5563 obs-knot-resolver-kv62s6/deployments/5561 v6.0.9
Aleš Mrázek [Mon, 11 Nov 2024 09:40:01 +0000 (10:40 +0100)] 
Merge branch 'release-6.0.9' into 'master'

Release 6.0.9

See merge request knot/knot-resolver!1628

8 months ago.gitlab-ci.yml: update path for 'make-obs.sh' script docs-develop-rele-3s3vda/deployments/5558 docs-develop-rele-3s3vda/deployments/5559 obs-knot-resolver-bs4hbr/deployments/5557
Aleš Mrázek [Mon, 11 Nov 2024 09:27:19 +0000 (10:27 +0100)] 
.gitlab-ci.yml: update path for 'make-obs.sh' script

8 months agoAUTHORS: update docs-develop-rele-3s3vda/deployments/5554 docs-develop-rele-3s3vda/deployments/5556
Aleš Mrázek [Mon, 11 Nov 2024 08:59:41 +0000 (09:59 +0100)] 
AUTHORS: update

8 months agorelease 6.0.9
Aleš Mrázek [Mon, 11 Nov 2024 08:51:52 +0000 (09:51 +0100)] 
release 6.0.9

8 months agoMerge !1624: add rate-limiting docs-develop-mast-tzgd0f/deployments/5551
Vladimír Čunát [Mon, 11 Nov 2024 08:53:36 +0000 (09:53 +0100)] 
Merge !1624: add rate-limiting

8 months agoMerge branch 'master' into rrl-wip docs-develop-rrl-8r8r8r/deployments/5550
Vladimír Čunát [Mon, 11 Nov 2024 08:39:21 +0000 (09:39 +0100)] 
Merge branch 'master' into rrl-wip

8 months agodoc/user: add ratelimiting section
Lukáš Ondráček [Thu, 7 Nov 2024 16:11:53 +0000 (17:11 +0100)] 
doc/user: add ratelimiting section

(with minor changes from vcunat)

8 months agoMerge branch 'docker-cache' into 'master' docs-develop-mast-tzgd0f/deployments/5549
Aleš Mrázek [Mon, 11 Nov 2024 08:27:24 +0000 (09:27 +0100)] 
Merge branch 'docker-cache' into 'master'

docker: cache improvements

See merge request knot/knot-resolver!1627

8 months agoNEWS: fixed formatting docs-develop-dock-51ud85/deployments/5548
Aleš Mrázek [Mon, 11 Nov 2024 08:16:39 +0000 (09:16 +0100)] 
NEWS: fixed formatting

8 months agoNEWS: update docker improvements docs-develop-dock-51ud85/deployments/5545
Aleš Mrázek [Mon, 11 Nov 2024 08:00:38 +0000 (09:00 +0100)] 
NEWS: update docker improvements

8 months agodoc/user/deployment-docker.rst: added info about cache docs-develop-dock-51ud85/deployments/5532
Aleš Mrázek [Fri, 8 Nov 2024 06:07:28 +0000 (07:07 +0100)] 
doc/user/deployment-docker.rst: added info about cache

8 months agoDockerfile: added VOLUME for cache
Aleš Mrázek [Fri, 8 Nov 2024 06:06:42 +0000 (07:06 +0100)] 
Dockerfile: added VOLUME for cache

8 months agorate-limiting config: use more precise types docs-develop-rrl-8r8r8r/deployments/5522
Vladimír Čunát [Wed, 6 Nov 2024 10:16:11 +0000 (11:16 +0100)] 
rate-limiting config: use more precise types

This gives us a bit more consistency.
I suppose that IntRangeBase isn't worth doing for the other cases.

Aleš helped with this.

8 months agoMerge !1625: docker: improvements and fixes docs-develop-mast-tzgd0f/deployments/5500 docs-develop-mast-tzgd0f/deployments/5507 docs-develop-mast-tzgd0f/deployments/5510 docs-develop-mast-tzgd0f/deployments/5523 docs-develop-mast-tzgd0f/deployments/5526 docs-develop-mast-tzgd0f/deployments/5528 docs-develop-mast-tzgd0f/deployments/5531 docs-develop-mast-tzgd0f/deployments/5533 docs-develop-mast-tzgd0f/deployments/5536 docs-develop-mast-tzgd0f/deployments/5537 docs-develop-mast-tzgd0f/deployments/5540 docs-develop-mast-tzgd0f/deployments/5541 docs-develop-mast-tzgd0f/deployments/5544 docs-develop-nigh-589znp/deployments/5508 docs-develop-nigh-589znp/deployments/5524 docs-develop-nigh-589znp/deployments/5529 docs-develop-nigh-589znp/deployments/5534 docs-develop-nigh-589znp/deployments/5538 docs-develop-nigh-589znp/deployments/5542
Vladimír Čunát [Tue, 5 Nov 2024 09:58:17 +0000 (10:58 +0100)] 
Merge !1625: docker: improvements and fixes

8 months agoNEWS: update about docker multiplatform builds docs-develop-dock-tuv9my/deployments/5499
Aleš Mrázek [Mon, 4 Nov 2024 12:47:57 +0000 (13:47 +0100)] 
NEWS: update about docker multiplatform builds

8 months agoDockerfile: set root user and group in constants.py
Aleš Mrázek [Mon, 4 Nov 2024 10:13:29 +0000 (11:13 +0100)] 
Dockerfile: set root user and group in constants.py

8 months agoDockerfile: prepare shared directories
Aleš Mrázek [Fri, 1 Nov 2024 10:03:44 +0000 (11:03 +0100)] 
Dockerfile: prepare shared directories

8 months agoDockerfile: edit config path
Aleš Mrázek [Fri, 1 Nov 2024 10:03:00 +0000 (11:03 +0100)] 
Dockerfile: edit config path

8 months agodoc/user/deployment-docker.rst: info update
Aleš Mrázek [Fri, 1 Nov 2024 09:45:28 +0000 (10:45 +0100)] 
doc/user/deployment-docker.rst: info update

8 months agolib/mmapped: fix typo docs-develop-rrl-8r8r8r/deployments/5489
Lukáš Ondráček [Mon, 4 Nov 2024 16:19:12 +0000 (17:19 +0100)] 
lib/mmapped: fix typo

8 months agommapped_* nit: move from daemon/ to lib/ docs-develop-rrl-8r8r8r/deployments/5488
Vladimír Čunát [Mon, 4 Nov 2024 14:54:48 +0000 (15:54 +0100)] 
mmapped_* nit: move from daemon/ to lib/

We'll utilize this for cache, so this will be an easy way for GC
to access the mmapped_* symbols.

In lib/ we usually prefix symbols by kr_ but I don't think it's worth
the hassle in this case, as mmapped_ seems like a good enough prefix.

8 months agodaemon/mmapped: use static_assert on undefined padding docs-develop-rrl-8r8r8r/deployments/5486
Lukáš Ondráček [Thu, 31 Oct 2024 16:39:31 +0000 (17:39 +0100)] 
daemon/mmapped: use static_assert on undefined padding

8 months agodaemon/ratelimiting: add log-period and dry-run
Lukáš Ondráček [Thu, 31 Oct 2024 16:28:01 +0000 (17:28 +0100)] 
daemon/ratelimiting: add log-period and dry-run

8 months agolib/kru: improve code formatting
Lukáš Ondráček [Thu, 31 Oct 2024 14:03:30 +0000 (15:03 +0100)] 
lib/kru: improve code formatting

8 months agodaemon/ratelimiting: polish
Lukáš Ondráček [Wed, 30 Oct 2024 18:09:41 +0000 (19:09 +0100)] 
daemon/ratelimiting: polish

8 months agodaemon/ratelimiting: fix runtime configuration reload
Lukáš Ondráček [Wed, 30 Oct 2024 15:46:08 +0000 (16:46 +0100)] 
daemon/ratelimiting: fix runtime configuration reload

8 months agodaemon/ratelimiting: use slip instead of tc_limit
Lukáš Ondráček [Thu, 24 Oct 2024 16:37:00 +0000 (18:37 +0200)] 
daemon/ratelimiting: use slip instead of tc_limit

9 months agoMerge branch 'docker-makefile' into 'master' docs-develop-mast-tzgd0f/deployments/5458 docs-develop-mast-tzgd0f/deployments/5469 docs-develop-mast-tzgd0f/deployments/5472 docs-develop-mast-tzgd0f/deployments/5473 docs-develop-mast-tzgd0f/deployments/5476 docs-develop-mast-tzgd0f/deployments/5477 docs-develop-mast-tzgd0f/deployments/5480 docs-develop-mast-tzgd0f/deployments/5491 docs-develop-mast-tzgd0f/deployments/5494 docs-develop-nigh-589znp/deployments/5470 docs-develop-nigh-589znp/deployments/5474 docs-develop-nigh-589znp/deployments/5478 docs-develop-nigh-589znp/deployments/5492
Aleš Mrázek [Fri, 1 Nov 2024 09:17:29 +0000 (10:17 +0100)] 
Merge branch 'docker-makefile' into 'master'

scripts: created Makefile.docker

See merge request knot/knot-resolver!1623

9 months agoscripts/Makefile.docker: allow calling from a different directory docs-develop-dock-jputok/deployments/5445
Vladimír Čunát [Thu, 31 Oct 2024 09:12:13 +0000 (10:12 +0100)] 
scripts/Makefile.docker: allow calling from a different directory

9 months agoDockerfile: temporary fix for files/dirs permission validation bug in docker docs-develop-dock-jputok/deployments/5437
Aleš Mrázek [Wed, 30 Oct 2024 10:56:17 +0000 (11:56 +0100)] 
Dockerfile: temporary fix for files/dirs permission validation bug in docker

9 months agoscripts: created Makefile.docker docs-develop-dock-jputok/deployments/5436
Aleš Mrázek [Wed, 30 Oct 2024 10:47:15 +0000 (11:47 +0100)] 
scripts: created Makefile.docker

9 months agoRevert "pytests: change log level from debug to notice" docs-develop-rrl-8r8r8r/deployments/5397
Lukáš Ondráček [Wed, 23 Oct 2024 18:19:58 +0000 (20:19 +0200)] 
Revert "pytests: change log level from debug to notice"

This reverts commit b2cbbac2504106438326ee83dc01e305d9cb64f6.

9 months agodaemon/defer: disable by default, use real time in KRU
Lukáš Ondráček [Wed, 23 Oct 2024 17:59:02 +0000 (19:59 +0200)] 
daemon/defer: disable by default, use real time in KRU

9 months agoRevert "daemon/defer: use total accounted time as KRU time"
Lukáš Ondráček [Wed, 23 Oct 2024 14:02:32 +0000 (16:02 +0200)] 
Revert "daemon/defer: use total accounted time as KRU time"

This reverts commit 9d4ad75d103f1fe5811a1bd2765d5fddaaab0a27.

9 months agoMerge remote-tracking branch 'master' into rrl-wip docs-develop-rrl-8r8r8r/deployments/5381
Lukáš Ondráček [Mon, 21 Oct 2024 17:48:46 +0000 (19:48 +0200)] 
Merge remote-tracking branch 'master' into rrl-wip

9 months agoMerge !1621: python: Ruff linter and formatter docs-develop-dock-tuv9my/deployments/5459 docs-develop-mast-tzgd0f/deployments/5375 docs-develop-mast-tzgd0f/deployments/5376 docs-develop-mast-tzgd0f/deployments/5379 docs-develop-mast-tzgd0f/deployments/5382 docs-develop-mast-tzgd0f/deployments/5385 docs-develop-mast-tzgd0f/deployments/5391 docs-develop-mast-tzgd0f/deployments/5394 docs-develop-mast-tzgd0f/deployments/5398 docs-develop-mast-tzgd0f/deployments/5400 docs-develop-mast-tzgd0f/deployments/5404 docs-develop-mast-tzgd0f/deployments/5407 docs-develop-mast-tzgd0f/deployments/5408 docs-develop-mast-tzgd0f/deployments/5411 docs-develop-mast-tzgd0f/deployments/5412 docs-develop-mast-tzgd0f/deployments/5415 docs-develop-mast-tzgd0f/deployments/5417 docs-develop-mast-tzgd0f/deployments/5418 docs-develop-mast-tzgd0f/deployments/5421 docs-develop-mast-tzgd0f/deployments/5422 docs-develop-mast-tzgd0f/deployments/5425 docs-develop-mast-tzgd0f/deployments/5432 docs-develop-mast-tzgd0f/deployments/5435 docs-develop-mast-tzgd0f/deployments/5441 docs-develop-mast-tzgd0f/deployments/5444 docs-develop-mast-tzgd0f/deployments/5454 docs-develop-mast-tzgd0f/deployments/5457 docs-develop-nigh-589znp/deployments/5377 docs-develop-nigh-589znp/deployments/5383 docs-develop-nigh-589znp/deployments/5392 docs-develop-nigh-589znp/deployments/5405 docs-develop-nigh-589znp/deployments/5409 docs-develop-nigh-589znp/deployments/5413 docs-develop-nigh-589znp/deployments/5419 docs-develop-nigh-589znp/deployments/5423 docs-develop-nigh-589znp/deployments/5433 docs-develop-nigh-589znp/deployments/5442 docs-develop-nigh-589znp/deployments/5455
Vladimír Čunát [Sun, 20 Oct 2024 09:24:06 +0000 (11:24 +0200)] 
Merge !1621: python: Ruff linter and formatter

9 months agodoc/dev/manager-dev-env.rst: update docs-develop-lint-bm6t77/deployments/5357
Aleš Mrázek [Thu, 17 Oct 2024 10:09:55 +0000 (12:09 +0200)] 
doc/dev/manager-dev-env.rst: update

9 months agotests/pytests: ruff linter fixes
Aleš Mrázek [Tue, 15 Oct 2024 15:58:00 +0000 (17:58 +0200)] 
tests/pytests: ruff linter fixes

9 months agopython/knot_resolver: ruff linter fixes
Aleš Mrázek [Tue, 15 Oct 2024 15:57:29 +0000 (17:57 +0200)] 
python/knot_resolver: ruff linter fixes

9 months ago.gitlab-ci.manager.yml: lint and format added
Aleš Mrázek [Fri, 11 Oct 2024 09:17:12 +0000 (11:17 +0200)] 
.gitlab-ci.manager.yml: lint and format added

9 months agoscripts/poe-tasks: separate lint from other check script
Aleš Mrázek [Fri, 11 Oct 2024 09:15:35 +0000 (11:15 +0200)] 
scripts/poe-tasks: separate lint from other check script

9 months ago.gitlab-ci.manager.yml: install optional deps
Aleš Mrázek [Thu, 10 Oct 2024 13:59:16 +0000 (15:59 +0200)] 
.gitlab-ci.manager.yml: install optional deps

9 months agolint: pylint and flake8 removed
Aleš Mrázek [Thu, 10 Oct 2024 12:36:28 +0000 (14:36 +0200)] 
lint: pylint and flake8 removed

9 months agopython: linting fixes
Aleš Mrázek [Wed, 9 Oct 2024 20:27:56 +0000 (22:27 +0200)] 
python: linting fixes

9 months agopython: code format fixes
Aleš Mrázek [Wed, 9 Oct 2024 20:19:31 +0000 (22:19 +0200)] 
python: code format fixes

9 months agoscripts/poe-tasks: use ruff instead of black, isort, pylint and flake8
Aleš Mrázek [Wed, 9 Oct 2024 20:15:14 +0000 (22:15 +0200)] 
scripts/poe-tasks: use ruff instead of black, isort, pylint and flake8

9 months agopyproject.toml: ruff linter and code formatter added
Aleš Mrázek [Wed, 9 Oct 2024 16:55:36 +0000 (18:55 +0200)] 
pyproject.toml: ruff linter and code formatter added

9 months agopytests: change log level from debug to notice docs-develop-rrl-8r8r8r/deployments/5355
Lukáš Ondráček [Thu, 17 Oct 2024 12:11:27 +0000 (14:11 +0200)] 
pytests: change log level from debug to notice

9 months agodaemon/ratelimiting: lint fixes docs-develop-rrl-8r8r8r/deployments/5347
Lukáš Ondráček [Wed, 16 Oct 2024 14:43:02 +0000 (16:43 +0200)] 
daemon/ratelimiting: lint fixes

9 months agoMerge !1620: distro/pkg/deb: deep clean Debian packaging with pedantic lintian docs-develop-mast-tzgd0f/deployments/5346 docs-develop-mast-tzgd0f/deployments/5349 docs-develop-mast-tzgd0f/deployments/5352 docs-develop-mast-tzgd0f/deployments/5359 docs-develop-mast-tzgd0f/deployments/5362 docs-develop-mast-tzgd0f/deployments/5367 docs-develop-mast-tzgd0f/deployments/5370 docs-develop-mast-tzgd0f/deployments/5371 docs-develop-mast-tzgd0f/deployments/5374 docs-develop-nigh-589znp/deployments/5350 docs-develop-nigh-589znp/deployments/5360 docs-develop-nigh-589znp/deployments/5368 docs-develop-nigh-589znp/deployments/5372
Vladimír Čunát [Wed, 16 Oct 2024 13:24:06 +0000 (15:24 +0200)] 
Merge !1620: distro/pkg/deb: deep clean Debian packaging with pedantic lintian

9 months agodistro/pkg/deb: silence more irrelevant lintian cries docs-develop-pkg-ztv58y/deployments/5336
Jakub Ružička [Mon, 7 Oct 2024 14:31:53 +0000 (16:31 +0200)] 
distro/pkg/deb: silence more irrelevant lintian cries

9 months agodistro/pkg/deb: make pkgconfig available for cross-compilation
Jakub Ružička [Mon, 7 Oct 2024 15:09:36 +0000 (17:09 +0200)] 
distro/pkg/deb: make pkgconfig available for cross-compilation

This addresses lintian warning

W: knot-resolver6-dev: pkg-config-unavailable-for-cross-compilation [usr/lib/pkgconfig/libkres.pc]

9 months agodistro/pkg/deb: exclude redundant COPYING file
Jakub Ružička [Mon, 7 Oct 2024 15:19:10 +0000 (17:19 +0200)] 
distro/pkg/deb: exclude redundant COPYING file

Silences lintian cry:

I: knot-resolver6: extra-license-file [usr/share/doc/knot-resolver6/COPYING.gz]

9 months agodistro/pkg/deb: extend -dev package description
Jakub Ružička [Mon, 7 Oct 2024 15:13:27 +0000 (17:13 +0200)] 
distro/pkg/deb: extend -dev package description

9 months agodistro/pkg/deb: remove Multi-Arch: same from dnstap
Jakub Ružička [Mon, 7 Oct 2024 13:58:11 +0000 (15:58 +0200)] 
distro/pkg/deb: remove Multi-Arch: same from dnstap

The module isn't really Multi-Arch, remove the false declaration.

9 months agodistro/pkg/deb: improve knot-resolver6.postinst
Jakub Ružička [Mon, 7 Oct 2024 14:14:56 +0000 (16:14 +0200)] 
distro/pkg/deb: improve knot-resolver6.postinst

Switching to deb-systemd-invoke saves one lintian warning about directly
invoking systemd.

9 months agodaemon/defer: cleanup heads of queues after idle docs-develop-rrl-8r8r8r/deployments/5334
Lukáš Ondráček [Mon, 14 Oct 2024 16:36:15 +0000 (18:36 +0200)] 
daemon/defer: cleanup heads of queues after idle

9 months agodaemon/defer: defer or close whole streams at once docs-develop-rrl-8r8r8r/deployments/5316
Lukáš Ondráček [Thu, 10 Oct 2024 17:08:44 +0000 (19:08 +0200)] 
daemon/defer: defer or close whole streams at once

9 months agodistro/pkg/deb: update knot-resolver6.links
Jakub Ružička [Mon, 7 Oct 2024 13:49:40 +0000 (15:49 +0200)] 
distro/pkg/deb: update knot-resolver6.links

9 months agodistro/pkg/deb: use meson through debhelper
Jakub Ružička [Mon, 7 Oct 2024 12:50:47 +0000 (14:50 +0200)] 
distro/pkg/deb: use meson through debhelper

Use standard debhelper as opposed to calling meson and ninja manually.

9 months agoMerge branch 'ci-manager-py3.13' into 'master' docs-develop-mast-tzgd0f/deployments/5304 docs-develop-mast-tzgd0f/deployments/5307 docs-develop-mast-tzgd0f/deployments/5310 docs-develop-mast-tzgd0f/deployments/5317 docs-develop-mast-tzgd0f/deployments/5319 docs-develop-mast-tzgd0f/deployments/5322 docs-develop-mast-tzgd0f/deployments/5325 docs-develop-mast-tzgd0f/deployments/5326 docs-develop-mast-tzgd0f/deployments/5329 docs-develop-mast-tzgd0f/deployments/5330 docs-develop-mast-tzgd0f/deployments/5333 docs-develop-mast-tzgd0f/deployments/5337 docs-develop-mast-tzgd0f/deployments/5339 docs-develop-mast-tzgd0f/deployments/5342 docs-develop-mast-tzgd0f/deployments/5345 docs-develop-nigh-589znp/deployments/5308 docs-develop-nigh-589znp/deployments/5323 docs-develop-nigh-589znp/deployments/5327 docs-develop-nigh-589znp/deployments/5331 docs-develop-nigh-589znp/deployments/5343
Aleš Mrázek [Wed, 9 Oct 2024 15:56:16 +0000 (17:56 +0200)] 
Merge branch 'ci-manager-py3.13' into 'master'

python: support for the new python 3.13

See merge request knot/knot-resolver!1619

9 months agodaemon/ratelimiting: disable for non-UDP requests docs-develop-rrl-8r8r8r/deployments/5303
Lukáš Ondráček [Wed, 9 Oct 2024 12:27:42 +0000 (14:27 +0200)] 
daemon/ratelimiting: disable for non-UDP requests

9 months agopython: utils: 'typing.Pattern' compatibility fix docs-develop-ci-m-6n00ea/deployments/5302
Aleš Mrázek [Tue, 8 Oct 2024 20:33:10 +0000 (22:33 +0200)] 
python: utils: 'typing.Pattern' compatibility fix

9 months agopython: datamodel: types: pylint error fix
Aleš Mrázek [Tue, 8 Oct 2024 19:27:19 +0000 (21:27 +0200)] 
python: datamodel: types: pylint error fix

9 months ago.python-version: versions update
Aleš Mrázek [Tue, 8 Oct 2024 19:06:38 +0000 (21:06 +0200)] 
.python-version: versions update

9 months ago.gitlab-ci.manager.yml: python3.13 unit tests
Aleš Mrázek [Tue, 8 Oct 2024 18:09:31 +0000 (20:09 +0200)] 
.gitlab-ci.manager.yml: python3.13 unit tests

9 months agodaemon/defer: add alternate UDP and non-UDP phases docs-develop-rrl-8r8r8r/deployments/5284
Lukáš Ondráček [Mon, 7 Oct 2024 16:28:49 +0000 (18:28 +0200)] 
daemon/defer: add alternate UDP and non-UDP phases

9 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 agodaemon/defer: use total accounted time as KRU time docs-develop-rrl-8r8r8r/deployments/5260
Lukáš Ondráček [Wed, 2 Oct 2024 15:13:10 +0000 (17:13 +0200)] 
daemon/defer: use total accounted time as KRU time

10 months agolib/kru: fix zero increment docs-develop-rrl-8r8r8r/deployments/5259
Lukáš Ondráček [Wed, 2 Oct 2024 13:27:10 +0000 (15:27 +0200)] 
lib/kru: fix zero increment

10 months agofixup! lib/log: add [defer ] group docs-develop-rrl-8r8r8r/deployments/5254
Lukáš Ondráček [Tue, 1 Oct 2024 15:34:23 +0000 (17:34 +0200)] 
fixup! lib/log: add [defer ] group

10 months agofixup! lib/log: add [defer ] group docs-develop-rrl-8r8r8r/deployments/5253
Vladimír Čunát [Tue, 1 Oct 2024 13:18:11 +0000 (15:18 +0200)] 
fixup! lib/log: add [defer ] group

10 months agodaemon/mmapped: remove padding from header where used docs-develop-rrl-8r8r8r/deployments/5252
Lukáš Ondráček [Tue, 1 Oct 2024 13:13:21 +0000 (15:13 +0200)] 
daemon/mmapped: remove padding from header where used

10 months agolib/log: add [defer ] group docs-develop-rrl-8r8r8r/deployments/5251
Vladimír Čunát [Tue, 1 Oct 2024 13:08:13 +0000 (15:08 +0200)] 
lib/log: add [defer ] group

In particular this turns off those debug logs by default.

10 months agofixup! Merge branch 'master' into rrl-wip docs-develop-rrl-8r8r8r/deployments/5250
Vladimír Čunát [Tue, 1 Oct 2024 10:57:35 +0000 (12:57 +0200)] 
fixup! Merge branch 'master' into rrl-wip

The python module was renamed in 79af7dea85687fb399ff4654c87

10 months agolib/utils: deduplicate kr_straddr_socket* + describe docs-develop-rrl-8r8r8r/deployments/5249
Vladimír Čunát [Tue, 1 Oct 2024 08:42:36 +0000 (10:42 +0200)] 
lib/utils: deduplicate kr_straddr_socket* + describe

10 months agoMerge branch 'master' into rrl-wip
Vladimír Čunát [Mon, 30 Sep 2024 13:34:11 +0000 (15:34 +0200)] 
Merge branch 'master' into rrl-wip

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.