Commit graph

8,302 commits

Author SHA1 Message Date
06add5e72e Merge pull request 'avoid masking AuthError details' (#4608) from mikem/koji:masked-auth-errors into master
All checks were successful
/ tests (fedora-43@sha256:cf1ef55da0d7dd9251b79263c4d1e2350d4291fcd6dc54a1e751d3fe2cf4614d) (push) Successful in 1m13s
/ tests (centos-10@sha256:1f53b2b040e449b0cfce526f1a221e6dbd6648506270220ea333728a6b52a90b) (push) Successful in 1m54s
/ tests (fedora-rawhide@sha256:5e1187ee4536674e08961cbe6b1b84dfc9df15a513dee328365909be5a0d5ed8) (push) Successful in 54s
/ tests (centos-9@sha256:c5fe30a62d4b62b46acdf764bf1f7293e9fa4287972ec6a86ccb43209646dc32) (push) Successful in 2m42s
/ flake8 (push) Successful in 18s
/ bandit (push) Successful in 19s
/ tests (fedora-44@sha256:5e1187ee4536674e08961cbe6b1b84dfc9df15a513dee328365909be5a0d5ed8) (push) Successful in 1m11s
Reviewed-on: #4608
2026-07-17 15:55:19 +00:00
43b421f1a5 avoid masking AuthError details
All checks were successful
/ tests (fedora-43@sha256:cf1ef55da0d7dd9251b79263c4d1e2350d4291fcd6dc54a1e751d3fe2cf4614d) (pull_request) Successful in 1m17s
/ tests (fedora-rawhide@sha256:5e1187ee4536674e08961cbe6b1b84dfc9df15a513dee328365909be5a0d5ed8) (pull_request) Successful in 1m0s
/ flake8 (pull_request) Successful in 17s
/ bandit (pull_request) Successful in 20s
/ tests (fedora-44@sha256:5e1187ee4536674e08961cbe6b1b84dfc9df15a513dee328365909be5a0d5ed8) (pull_request) Successful in 1m12s
/ tests (centos-10@sha256:1f53b2b040e449b0cfce526f1a221e6dbd6648506270220ea333728a6b52a90b) (pull_request) Successful in 1m54s
/ tests (centos-9@sha256:c5fe30a62d4b62b46acdf764bf1f7293e9fa4287972ec6a86ccb43209646dc32) (pull_request) Successful in 2m41s
Fixes koji/koji#4607
2026-07-17 11:51:09 -04:00
ab11f28684 Merge pull request 'More selection options in scheduler-logs cli' (#4561) from scheduler-logs-cli-options into master
All checks were successful
/ tests (fedora-44@sha256:5e1187ee4536674e08961cbe6b1b84dfc9df15a513dee328365909be5a0d5ed8) (push) Successful in 1m9s
/ tests (fedora-43@sha256:cf1ef55da0d7dd9251b79263c4d1e2350d4291fcd6dc54a1e751d3fe2cf4614d) (push) Successful in 1m11s
/ tests (centos-9@sha256:c5fe30a62d4b62b46acdf764bf1f7293e9fa4287972ec6a86ccb43209646dc32) (push) Successful in 2m41s
/ tests (centos-10@sha256:1f53b2b040e449b0cfce526f1a221e6dbd6648506270220ea333728a6b52a90b) (push) Successful in 1m55s
/ tests (fedora-rawhide@sha256:5e1187ee4536674e08961cbe6b1b84dfc9df15a513dee328365909be5a0d5ed8) (push) Successful in 55s
/ flake8 (push) Successful in 18s
/ bandit (push) Successful in 18s
Reviewed-on: #4561
Reviewed-by: Tomas Kopecek <tkopecek@redhat.com>
2026-07-17 15:47:12 +00:00
57563c6200 more output tweaks 2026-07-17 15:47:12 +00:00
965ff34c83 strict lookups and keep header aligned 2026-07-17 15:47:12 +00:00
ffaa863727 tweak output format 2026-07-17 15:47:12 +00:00
b9ced60c50 more query options for scheduler logs 2026-07-17 15:47:12 +00:00
6ec00b08f8 Merge pull request 'Basic forgejo test actions' (#4616) from tkopecek/koji:actions into master
All checks were successful
/ flake8 (push) Successful in 18s
/ bandit (push) Successful in 19s
/ tests (fedora-44@sha256:5e1187ee4536674e08961cbe6b1b84dfc9df15a513dee328365909be5a0d5ed8) (push) Successful in 1m11s
/ tests (fedora-43@sha256:cf1ef55da0d7dd9251b79263c4d1e2350d4291fcd6dc54a1e751d3fe2cf4614d) (push) Successful in 1m14s
/ tests (centos-10@sha256:1f53b2b040e449b0cfce526f1a221e6dbd6648506270220ea333728a6b52a90b) (push) Successful in 1m54s
/ tests (fedora-rawhide@sha256:5e1187ee4536674e08961cbe6b1b84dfc9df15a513dee328365909be5a0d5ed8) (push) Successful in 54s
/ tests (centos-9@sha256:c5fe30a62d4b62b46acdf764bf1f7293e9fa4287972ec6a86ccb43209646dc32) (push) Successful in 2m40s
Reviewed-on: #4616
2026-07-17 14:36:04 +00:00
398c089830 Move images to forgejo's registry 2026-07-17 14:36:04 +00:00
3828aa2b28 Basic forgejo test actions 2026-07-17 14:36:04 +00:00
c3239d46c1 Merge pull request 'release notes for 1.36.1 and version bump' (#4612) from mikem/koji:koji-1.36.1-release into master koji-1.36.1
Reviewed-on: #4612
Reviewed-by: Tomas Kopecek <tkopecek@redhat.com>
2026-07-08 17:25:44 +00:00
0b55dafdd1 include pr 4587 in notes, fix typo, and bump date 2026-07-08 13:24:11 -04:00
02529ebdc3 release notes for 1.36.1 and version bump 2026-07-08 13:24:11 -04:00
9bc57c3c60 Merge pull request 'Allow restarted tasks to recycle their existing draft builds' (#4587) from mikem/koji:draft-recycle into master
Reviewed-on: #4587
Reviewed-by: Tomas Kopecek <tkopecek@redhat.com>
2026-06-24 07:47:20 +00:00
dec25644da unit tests 2026-06-24 07:47:20 +00:00
e37e27d7c5 attempt to recycle draft builds when a task is restarted 2026-06-24 07:47:20 +00:00
ba571578fb Merge pull request 'multicall-docstring' (#4610) from mikem/koji:multicall-docstring into master
Reviewed-on: #4610
Reviewed-by: Tomas Kopecek <tkopecek@redhat.com>
2026-06-23 06:41:28 +00:00
64c06980a7 Better error if client mixes multicall methods 2026-06-23 06:41:28 +00:00
9714b5e2ee update old multiCall docstring 2026-06-23 06:41:28 +00:00
6e24be12c7 Merge pull request 'better scm path normalization' (#4585) from mikem/koji:scm-normalization into master
Reviewed-on: #4585
Reviewed-by: Tomas Kopecek <tkopecek@redhat.com>
2026-06-10 14:57:37 +00:00
bec209c437 better scm path normalization 2026-06-10 14:57:37 +00:00
b23c30d1e8 Merge pull request 'handle BuildRoot.getList in fakepolicy' (#4599) from mikem/koji:fakepolicy-buildroot into master
Reviewed-on: #4599
Reviewed-by: Tomas Kopecek <tkopecek@redhat.com>
2026-06-10 06:09:45 +00:00
8cdf1a859f handle BuildRoot.getList in fakepolicy
Needed for testing policies that use koji/koji!4598
2026-06-09 16:41:38 -04:00
5e149d7521 Merge pull request 'add by_tag_subtask policy test' (#4578) from mikem/koji:tag-subtask-test into master
Reviewed-on: #4578
Reviewed-by: Tomas Kopecek <tkopecek@redhat.com>
2026-06-05 14:02:02 +00:00
16ed2b3e47 fix task.getInfo args and make sure tests will catch this error 2026-06-05 14:02:02 +00:00
611684eca3 basic unit test for host.tagBuild 2026-06-05 14:02:02 +00:00
9834a34df5 unit test for new policy test 2026-06-05 14:02:02 +00:00
e492abfef4 fakepolicy hook 2026-06-05 14:02:02 +00:00
35f126dfa1 by_tag_subtask test 2026-06-05 14:02:02 +00:00
e41a862f74 Merge pull request 'download-build: add --nofailarch' (#4575) from adamwill/koji:download-no-fail-arch into master
Reviewed-on: #4575
Reviewed-by: Tomas Kopecek <tkopecek@redhat.com>
2026-06-05 12:17:18 +00:00
e4b6984b76 download-build: add --nofailarch
This arg makes `koji download-build` warn, but exit 0, if the
specified build has no packages for any of the specified arches.

This is useful for `bodhi update download`. An update can contain
many builds. If you want to download "the update" for a given
arch, and just one or two builds within it aren't built on all
arches, that's fine. It's useful for Bodhi to not have to deal
with Koji exiting 1 in this case, and distinguish it from the
download failing for other reasons.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-06-05 12:17:18 +00:00
55481bcac2 Merge pull request 'Reset callnum when a session is renewed' (#4588) from mikem/koji:renew-reset-callnum into master
Reviewed-on: #4588
Reviewed-by: Tomas Kopecek <tkopecek@noreply.forge.fedoraproject.org>
2026-06-05 12:14:03 +00:00
e1db1571e0 unit test for createSession 2026-06-05 12:14:03 +00:00
4909950747 reset callnum on session renewal 2026-06-05 12:14:03 +00:00
d3f78c5110 Merge pull request 'parallel-tests' (#4592) from tkopecek/koji:parallel-tests into master
Reviewed-on: #4592
2026-06-04 16:22:22 +00:00
2e82b2fb63 avoid patching optparse 2026-06-04 16:22:22 +00:00
e7e8ac64c1 Locale-independent tests
Fixing places where local-dependent string are introduced to test suite.

Assisted-by: Claude Sonnet 4.5
2026-06-04 16:22:22 +00:00
a5f7b72afd Improve test parallelism
Fixing:
- timezone races
- LANGUAGE/COLUMNS restoration
- module-level assignment
- sys.path pollution

Assisted-by: Claude Sonnet 4.5
2026-06-04 16:22:22 +00:00
8eeeb1fc85 Merge pull request 'Extend sidetag documentation' (#4280) from sidetag-docs into master
Reviewed-on: #4280
2026-06-01 17:17:52 +00:00
246e3120a8 Extend sidetag documentation 2026-06-01 17:17:52 +00:00
54eda8f626 Merge pull request 'Additional docs for policy tests' (#4294) from docs-policies into master
Reviewed-on: #4294
2026-06-01 17:06:08 +00:00
9e35476cad Additional docs for policy tests 2026-06-01 17:06:08 +00:00
f267d8116e Merge pull request 'Add volume toplink info to release notes' (#4557) from volume-toplink-info into master
Reviewed-on: #4557
2026-06-01 16:47:06 +00:00
f6dabe9f39 Add volume toplink info to release notes
Fixes https://pagure.io/koji/issue/4556
2026-06-01 16:47:06 +00:00
3fbe1301af Merge pull request 'fakepolicy hooks for scm policy' (#4586) from mikem/koji:fakepolicy-scm into master
Reviewed-on: #4586
Reviewed-by: Tomas Kopecek <tkopecek@noreply.forge.fedoraproject.org>
2026-06-01 12:57:12 +00:00
04a6ec476f fakepolicy hooks for scm policy 2026-06-01 12:57:12 +00:00
dcfd5d6e6a Merge pull request 'Unify format of CLI help messages' (#4594) from jlibrova/koji:issue-4593 into master
Reviewed-on: #4594
Reviewed-by: Tomas Kopecek <tkopecek@noreply.forge.fedoraproject.org>
2026-06-01 10:56:31 +00:00
f65a3a3810 Unify format of CLI help messages
Fixes: #4593
2026-06-01 10:56:31 +00:00
877c35d3cb Merge pull request 'fix unit tests for rhel8' (#4564) from fix-rhel8-tests into master
Reviewed-on: #4564
2026-05-28 17:58:57 +00:00
e4e33b13ff skip api test on older pythons 2026-05-28 17:58:57 +00:00