Commit graph

6612 commits

Author SHA1 Message Date
Tomas Kopecek
aae0ff2bd6 kojid: don't fail on missing ccache file
Related: https://pagure.io/koji/issue/3369
2022-05-24 13:46:24 +02:00
Tomas Kopecek
0e5b77b111 PR#3365: tag2distrepo: Write signed RPMs for non-latest versions if needed
Merges #3365
https://pagure.io/koji/pull-request/3365
2022-05-23 15:13:46 +02:00
Igor Raits
f007c46893
tag2distrepo: Write signed RPMs for non-latest versions if needed
Signed-off-by: Igor Raits <igor.raits@gmail.com>
2022-05-20 18:52:15 +02:00
Tomas Kopecek
ae1b1f0e05 PR#3350: Configurable tag2distrepo options
Merges #3350
https://pagure.io/koji/pull-request/3350

Relates: #2820
https://pagure.io/koji/issue/2820
RFE: Incorporate tag2distrepo
2022-05-19 13:55:37 +02:00
Tomas Kopecek
ee32666722 Configurable tag2distrepo options
Related: https://pagure.io/koji/issue/2820
2022-05-19 13:55:20 +02:00
Tomas Kopecek
5b8465a0e8 Revert "PR#3276: Use PrivateTmp for kojid/kojira"
This reverts commit 1728c07f03, reversing
changes made to a7179d7edb.
2022-05-19 13:47:22 +02:00
Tomas Kopecek
92162369af PR#3294: koji-sidetag-cleanup: delete inactive tags
Merges #3294
https://pagure.io/koji/pull-request/3294

Fixes: #3293
https://pagure.io/koji/issue/3293
koji-sidetag-cleanup can detect inactive tags
2022-05-18 17:12:11 +02:00
Tomas Kopecek
2d132aebc2 missing option action 2022-05-18 14:56:27 +02:00
Tomas Kopecek
93f0f91f97 koji-sidetag-cleanup: delete inactive tags
Sidetags which don't have any activity (un/tagging builds) are not worth
of existence. They just trigger unnecessary repo regenerations. It
should be safe to delete them e.g. after one month. It is an additional
check compared to --old-delay and --empty-delay. These can hit the
middle ground between these two limits (empty shortest, inactive middle,
old longest).

Related: https://pagure.io/koji/issue/3293
2022-05-18 14:55:23 +02:00
Tomas Kopecek
269a5f8310 PR#3322: improved sensitive values handling (requests/urllib3)
Merges #3322
https://pagure.io/koji/pull-request/3322

Fixes: #3246
https://pagure.io/koji/issue/3246
Hide sensitive values in urllib3 exceptions (followup)
2022-05-16 16:20:05 +02:00
Tomas Kopecek
1652dcc606 improved sensitive values handling (requests/urllib3)
Related: https://pagure.io/koji/issue/3246
2022-05-16 16:19:33 +02:00
Tomas Kopecek
ba5ecbb0c9 PR#3358: kojid: permit forcing releasever/arch within mock per tag
Merges #3358
https://pagure.io/koji/pull-request/3358

Fixes #3304
https://pagure.io/koji/issue/3304
2022-05-16 16:15:10 +02:00
Tomas Kopecek
35735780e6 fix arch processing
Related: https://pagure.io/koji/issue/3304
2022-05-16 16:15:03 +02:00
Pat Riehecky
4203fbee14 kojid: permit forcing the target arch within mock per tag 2022-05-16 16:15:03 +02:00
Pat Riehecky
a50ca237c7 kojid: permit forcing releasever within mock per tag 2022-05-16 16:15:03 +02:00
Tomas Kopecek
2af7e756dd fix mode 2022-05-16 10:54:03 +02:00
Tomas Kopecek
6b0dfae404 PR#3277: Weak dep on httpd.service for kojid/ra
Merges #3277
https://pagure.io/koji/pull-request/3277

Fixes #3285
https://pagure.io/koji/issue/3285
2022-05-13 14:26:54 +02:00
Pat Riehecky
10cf1e494e Weak ordering on httpd.service for kojid/ra
If you're running `kojid` or `kojira` on the same
host as as the koji-hub, it is helpful to have
these startup after the `httpd.service` has loaded.
2022-05-13 14:26:47 +02:00
Tomas Kopecek
3733c04341 PR#3349: Py3 re pattern fix
Merges #3349
https://pagure.io/koji/pull-request/3349

Fixes: #3312
https://pagure.io/koji/issue/3312
showOpts returns json output
2022-05-11 09:59:11 +02:00
Jana Cupova
5655cea21b Py3 re pattern fix 2022-05-11 09:59:04 +02:00
Tomas Kopecek
5fa3cb569b PR#3338: Add header separaton to list-hosts and list-channels
Merges #3338
https://pagure.io/koji/pull-request/3338

Fixes: #3337
https://pagure.io/koji/issue/3337
cli: list-hosts and list-channels - missing header separator
2022-05-11 09:56:54 +02:00
Jana Cupova
3c84d99bf4 Add header separaton to list-hosts and list-channels
Fixes: https://pagure.io/koji/issue/3337
2022-05-11 09:56:48 +02:00
Tomas Kopecek
8732cf0499 PR#3336: Fix list-permissions ordering and header
Merges #3336
https://pagure.io/koji/pull-request/3336

Fixes: #3335
https://pagure.io/koji/issue/3335
cli: list-permissions is not sorted and missing header separator
2022-05-11 09:53:49 +02:00
Tomas Kopecek
d8dbadede4 Fix list-permissions ordering and header
https://pagure.io/koji/issue/3335
2022-05-11 09:53:43 +02:00
Tomas Kopecek
31a93916ce PR#3325: cli: fix more users in userinfo
Merges #3325
https://pagure.io/koji/pull-request/3325

Fixes: #3324
https://pagure.io/koji/issue/3324
cli: userinfo doesn't handle correctly more than one user
2022-05-11 09:52:55 +02:00
Tomas Kopecek
88ff7758e5 cli: fix more users in userinfo
Fixes: https://pagure.io/koji/issue/3324
2022-05-11 09:52:50 +02:00
Tomas Kopecek
904ab88069 PR#3355: call git rev-parse before chowning source directory
Merges #3355
https://pagure.io/koji/pull-request/3355

Fixes: #3351
https://pagure.io/koji/issue/3351
git 2.35.2+ breaks buildSRPMFromSCM
2022-05-11 09:43:52 +02:00
Tomas Kopecek
61b843256f call git rev-parse before chowning source directory
Fixes: https://pagure.io/koji/issue/3351
2022-05-10 10:59:14 +02:00
Tomas Kopecek
a36a5cb373 PR#3353: Fix wrapper-rpm unit test
Merges #3353
https://pagure.io/koji/pull-request/3353
2022-05-10 09:56:49 +02:00
Jana Cupova
1027854ad5 Fix wrapper-rpm unit test 2022-05-10 09:52:55 +02:00
Tomas Kopecek
b8f67df491 PR#3326: Add tag2distrepo plugin to hub
Merges #3326
https://pagure.io/koji/pull-request/3326

Fixes: #2820
https://pagure.io/koji/issue/2820
RFE: Incorporate tag2distrepo
2022-05-09 14:10:40 +02:00
Jana Cupova
7785be7758 Add tag2distrepo plugin to hub
Fixes: https://pagure.io/koji/issue/2820
2022-05-09 14:10:33 +02:00
Tomas Kopecek
d96cc0c015 PR#3321: Add admin check when priority has negative value in wrapperRPM
Merges #3321
https://pagure.io/koji/pull-request/3321

Fixes: #3320
https://pagure.io/koji/issue/3320
wrapperRPM check use negative priority value only for admin
2022-05-09 14:08:10 +02:00
Jana Cupova
56d4ec8e21 Add admin check when priority has negative value in wrapperRPM
Fixes: https://pagure.io/koji/issue/3320
2022-05-09 14:08:03 +02:00
Tomas Kopecek
6caca6f49f PR#3347: Fix input validation
Merges #3347
https://pagure.io/koji/pull-request/3347

Fixes: #3319
https://pagure.io/koji/issue/3319
Input validation
2022-05-09 14:05:59 +02:00
Jana Cupova
d67c36151b Fix input validation
Fixes: https://pagure.io/koji/issue/3319
2022-05-09 14:05:52 +02:00
Tomas Kopecek
87aa8eb17b PR#3282: Add extra of builds to listTagged call result
Merges #3282
https://pagure.io/koji/pull-request/3282

Fixes: #3110
https://pagure.io/koji/issue/3110
RFE: expose build.extra by listTagged API directly
2022-05-09 14:04:36 +02:00
Jana Cupova
75d545e740 Add extra param to listTagged*
Fixes: https://pagure.io/koji/issue/3110
2022-05-09 14:04:24 +02:00
Tomas Kopecek
c9bca5b910 PR#3344: Fix age to max_age in protonmsg
Merges #3344
https://pagure.io/koji/pull-request/3344

Fixes: #3332
https://pagure.io/koji/issue/3332
protonmsg: age config name mismatch
2022-05-09 13:59:19 +02:00
Jana Cupova
ff500a2c4e Age in protonmsg config file is deprecated
Fixes: https://pagure.io/koji/issue/3332
2022-05-09 13:59:10 +02:00
Tomas Kopecek
f72f033465 fix flake8 2022-05-04 15:25:36 +02:00
Tomas Kopecek
b0a2875f7e PR#3289: log content-length when we get an error reading request
Merges #3289
https://pagure.io/koji/pull-request/3289

Fixes: #3288
https://pagure.io/koji/issue/3288
rfe: log content length on request read errors
2022-05-04 15:19:45 +02:00
Mike McLean
c5ca8f39b9 log content-length when we get an error reading request
Fixes https://pagure.io/koji/issue/3288
2022-05-04 15:19:38 +02:00
Tomas Kopecek
a4a329f249 PR#3334: Add blocked option to packages page
Merges #3334
https://pagure.io/koji/pull-request/3334

Fixes: #3330
https://pagure.io/koji/issue/3330
webUI packages add select for blocked
2022-05-04 15:17:09 +02:00
Jana Cupova
0faf0d8409 Add blocked option to packages page
Fixes: https://pagure.io/koji/issue/3330
2022-05-04 15:17:03 +02:00
Tomas Kopecek
c1b45d3d91 PR#3346: www: display load/capacity at hosts page
Merges #3346
https://pagure.io/koji/pull-request/3346

Fixes #3345
https://pagure.io/koji/issue/3345
2022-05-04 15:14:23 +02:00
Tomas Kopecek
75580d8296 www: display load/capacity at hosts page
https://pagure.io/koji/issue/3345
2022-05-04 15:14:17 +02:00
Tomas Kopecek
5d5b02dbac PR#3278: Download-logs with nvr without task ID downloads a logs
Merges #3278
https://pagure.io/koji/pull-request/3278

Fixes: #3232
https://pagure.io/koji/issue/3232
Noisy error in download-logs
2022-05-03 12:53:21 +02:00
Jana Cupova
6c8359fd44 Download-logs with nvr without task ID downloads a logs
Fixes: https://pagure.io/koji/issue/3232
2022-05-03 12:53:13 +02:00
Tomas Kopecek
47c4cb05b9 PR#3313: Add as_string option to showOpts for raw string or dict output
Merges #3313
https://pagure.io/koji/pull-request/3313

Fixes: #3312
https://pagure.io/koji/issue/3312
showOpts returns json output
2022-05-03 12:47:57 +02:00