Commit graph

7585 commits

Author SHA1 Message Date
Mike McLean
030a54b8d4 use hub version check for compat code 2024-03-20 13:48:58 +01:00
Tomas Kopecek
fe3474c0e8 better compatibility errors 2024-03-20 13:48:58 +01:00
Tomas Kopecek
f3306a371b backward compatibility 2024-03-20 13:48:58 +01:00
Tomas Kopecek
43b173bb17 --limit from scheduler-logs/info
Related: https://pagure.io/koji/issue/4042
2024-03-20 13:48:58 +01:00
Tomas Kopecek
91f410f8fb PR#4025: docs: mock's configuration
Merges #4025
https://pagure.io/koji/pull-request/4025

Fixes: #4019
https://pagure.io/koji/issue/4019
RLIMITS settings for nspawn
2024-03-19 11:10:03 +01:00
Mike McLean
88ea24441d doc updates 2024-03-19 11:09:54 +01:00
Tomas Kopecek
54f32e8266 docs: mock's configuration
Related: https://pagure.io/koji/issue/4019
2024-03-19 11:09:54 +01:00
Tomas Kopecek
296cf75468 PR#4052: fix formatting of rpm in title
Merges #4052
https://pagure.io/koji/pull-request/4052

Fixes #4053
https://pagure.io/koji/issue/4053
2024-03-19 10:53:32 +01:00
Mike McLean
2af702b71c fix formatting of rpm in title 2024-03-19 10:53:24 +01:00
Tomas Kopecek
d7d4e4f1d2 PR#4026: Better index for rpm lookup
Merges #4026
https://pagure.io/koji/pull-request/4026

Fixes: #4022
https://pagure.io/koji/issue/4022
rpminfo_unique_nvra_not_draft index is insufficient for rpm lookups
2024-03-19 10:52:47 +01:00
Tomas Kopecek
d0c1b4d37d Better index for rpm lookup
Related: https://pagure.io/koji/issue/4022
2024-03-19 10:52:33 +01:00
Tomas Kopecek
c44be86c40 PR#4023: split out buildroot log watching logic
Merges #4023
https://pagure.io/koji/pull-request/4023

Fixes: #4009
https://pagure.io/koji/issue/4009
RFE: Grab /var/log/dnf5.log from Mock buildroot

Relates: #3875
https://pagure.io/koji/issue/3875
Log the macros enabled in side tag
2024-03-13 10:09:25 +01:00
Mike McLean
aa370c20a2 capture dnf logs
Fixes https://pagure.io/koji/issue/4009
2024-03-13 10:09:15 +01:00
Mike McLean
9694f07aef reduce log noise a bit 2024-03-13 10:09:15 +01:00
Mike McLean
60b71020f0 split out buildroot log watching logic 2024-03-13 10:09:15 +01:00
Mike McLean
c51ae5d6b3 typo in BuildMavenTask 2024-03-13 10:09:15 +01:00
Mike McLean
27160b1a58 also use in appliance/livecd/liveimage 2024-03-13 10:09:15 +01:00
Mike McLean
c08b3fd042 rename var 2024-03-13 10:09:15 +01:00
Tomas Kopecek
91f176ccb5 Track uploads in BuildRoot and log mock config
Related: https://pagure.io/koji/issue/3875
2024-03-13 10:09:15 +01:00
Tomas Kopecek
eba8de2473 PR#3970: Add CLI with users with given permission
Merges #3970
https://pagure.io/koji/pull-request/3970

Fixes: #3950
https://pagure.io/koji/issue/3950
Add command to list users with a particular permission
2024-03-11 13:12:33 +01:00
Jana Cupova
c62e3467b5 Add CLI with users with given permission
Fixes: https://pagure.io/koji/issue/3950
2024-03-11 13:12:20 +01:00
Tomas Kopecek
7d126abe91 PR#4032: implicit task refusals
Merges #4032
https://pagure.io/koji/pull-request/4032

https://pagure.io/koji/issue/4035
2024-03-06 11:14:20 +01:00
Mike McLean
c00e9b3c2e unit test 2024-03-06 11:14:12 +01:00
Mike McLean
df55636d6d implicit task refusals 2024-03-06 11:14:12 +01:00
Tomas Kopecek
47e2d35c33 PR#4041: Use host maxtasks if available
Merges #4041
https://pagure.io/koji/pull-request/4041

https://pagure.io/koji/issue/4030
https://pagure.io/koji/issue/4038
2024-03-05 13:23:06 +01:00
Mike McLean
822b81644b flake8, fix typo 2024-03-05 13:22:58 +01:00
Mike McLean
f8c633f310 streamline hub calls 2024-03-05 13:22:58 +01:00
Mike McLean
fbb24d631d unit test 2024-03-05 13:22:58 +01:00
Mike McLean
fadee51aff handle missing host data, use self.maxjobs as default 2024-03-05 13:22:58 +01:00
Tomas Kopecek
8b554bd3ca Use also builder's maxjobs setting in scheduler
Related: https://pagure.io/koji/issue/4038
2024-03-05 13:22:58 +01:00
Tomas Kopecek
212059d049 json conversion 2024-03-05 13:22:58 +01:00
Tomas Kopecek
eb71941ea9 Basic host data for scheduler
Related: https://pagure.io/koji/issue/4030
2024-03-05 13:22:58 +01:00
Tomas Kopecek
3d6b10905e PR#4037: Fix temporary cg_import.log file path
Merges #4037
https://pagure.io/koji/pull-request/4037

Fixes: #4036
https://pagure.io/koji/issue/4036
cg import uses wrong log path
2024-03-05 13:20:01 +01:00
Tomas Kopecek
053c4f95b2 Fix temporary cg_import.log file path
Related: https://pagure.io/koji/issue/4036
2024-03-05 13:19:53 +01:00
Tomas Kopecek
d58031395f PR#3974: Use dnf5-compatible "group install" command
Merges #3974
https://pagure.io/koji/pull-request/3974

Fixes: #3971
https://pagure.io/koji/issue/3971
Do 'dnf group install' instead of 'dnf groupinstall'
2024-03-05 13:17:43 +01:00
Tomas Kopecek
4ad92b5cd6 Use dnf5-compatible "group install" command
* yum knows only "yum groupinstall"
 * dnf < 5 knows both
 * dnf-5 only "dnf5 group install"

From RHEL5 version of yum, @group syntax is supported, so we can
replace all groupinstall commands with "install @group".

Related: https://pagure.io/koji/issue/3971
2024-03-05 13:17:35 +01:00
Tomas Kopecek
dd128f8617 PR#4015: provide draft flag to build policy
Merges #4015
https://pagure.io/koji/pull-request/4015

Relates: #4014
https://pagure.io/koji/issue/4014
RFE: disable draft builds
2024-03-04 16:53:23 +01:00
Mike McLean
ecd5d96023 provide draft flag to build policy
Related: https://pagure.io/koji/issue/4014
2024-03-04 16:53:12 +01:00
Tomas Kopecek
d6a59cb585 PR#3891: Don't try to resolve server version for old hubs
Merges #3891
https://pagure.io/koji/pull-request/3891

Fixes: #3890
https://pagure.io/koji/issue/3890
Don't try to resolve server version for older hubs
2024-02-29 15:40:12 +01:00
Mike McLean
cfd6d3064f show hub version in koji hello 2024-02-29 15:40:03 +01:00
Mike McLean
8e6737a116 avoid clearing cached hub version 2024-02-29 15:40:03 +01:00
Mike McLean
62f279ad43 move version fetching to hub_version_str property 2024-02-29 15:40:03 +01:00
Tomas Kopecek
7a9b0561eb Don't try to resolve server version for old hubs
Related: https://pagure.io/koji/issue/3890
2024-02-29 15:40:03 +01:00
Tomas Kopecek
d43ad529c1 PR#3999: Have builders refuse repo tasks if they can't access /mnt/koji
Merges #3999
https://pagure.io/koji/pull-request/3999

Fixes: #4002
https://pagure.io/koji/issue/4002
Misconfigured createrepo builders can fail a ton of regens
2024-02-29 11:01:51 +01:00
Mike McLean
68009db154 log refusal message 2024-02-29 11:01:43 +01:00
Mike McLean
4a31c42edd handle refusal with an exception 2024-02-29 11:01:43 +01:00
Mike McLean
4b35b7b729 typo 2024-02-29 11:01:43 +01:00
Mike McLean
e169a6bf3e in newRepo too 2024-02-29 11:01:43 +01:00
Mike McLean
56d861bff3 refuse createrepo tasks if no fs access 2024-02-29 11:01:43 +01:00
Tomas Kopecek
4bc347ca03 PR#4018: Fix scheduler log ordering
Merges #4018
https://pagure.io/koji/pull-request/4018

Fixes: #4017
https://pagure.io/koji/issue/4017
scheduler logs are out of order
2024-02-27 12:33:01 +01:00