Commit graph

6057 commits

Author SHA1 Message Date
Jana Cupova
9682a2840c Remove unnecessary line from unlock-tag CLI
Fixes: https://pagure.io/koji/issue/2940
2021-07-19 09:17:30 +02:00
Tomas Kopecek
369b4442e8 PR#2937: Update webUI number of tasks
Merges #2937
https://pagure.io/koji/pull-request/2937

Fixes: #2930
https://pagure.io/koji/issue/2930
web UI - can't see total number of tasks in progress
2021-07-19 09:16:48 +02:00
Jana Cupova
138d8f4e37 Update webUI number of tasks
Fixes: https://pagure.io/koji/issue/2930
2021-07-19 09:16:42 +02:00
Tomas Kopecek
5809e4bb5b PR#2928: Fix py2 packaging
Merges #2928
https://pagure.io/koji/pull-request/2928

Fixes: #2902
https://pagure.io/koji/issue/2902
Wrong py2 packaging
2021-07-19 09:15:01 +02:00
Jana Cupova
ddf88775a8 Fix py2 packaging
Fixes: https://pagure.io/koji/issue/2902
2021-07-19 09:14:54 +02:00
Tomas Kopecek
49fe78d897 PR#2921: Release notes 1.25.1
Merges #2921
https://pagure.io/koji/pull-request/2921

Fixes: #2920
https://pagure.io/koji/issue/2920
1.25.1 Release notes
2021-07-01 08:59:30 +02:00
Tomas Kopecek
bdb9f91890 Release notes 1.25.1
Fixes: https://pagure.io/koji/issue/2920
2021-07-01 08:58:46 +02:00
Tomas Kopecek
544dbbfbde PR#2909: add_rpm_sign catches IntegrityError
Merges #2909
https://pagure.io/koji/pull-request/2909

Fixes: #2835
https://pagure.io/koji/issue/2835
hub doesn't check for rpmsig uniqueness
2021-06-29 14:47:28 +02:00
Jana Cupova
42b985ef22 add_rpm_sign catches IntegrityError
fixes: https://pagure.io/koji/issue/2835
2021-06-29 14:47:22 +02:00
Tomas Kopecek
562e970aed PR#2912: dist-repo takes inherited arch when arch is not set
Merges #2912
https://pagure.io/koji/pull-request/2912

Fixes: #2805
https://pagure.io/koji/issue/2805
dist-repo archs could be inherited
2021-06-29 14:45:45 +02:00
Jana Cupova
31f0db591a dist-repo takes inherited arch when arch is not set
Fixes: https://pagure.io/koji/issue/2805
2021-06-29 14:45:36 +02:00
Tomas Kopecek
1206011bec PR#2905: Add CLI related to channels + add comments to channels
Merges #2905
https://pagure.io/koji/pull-request/2905

Fixes: #1711
https://pagure.io/koji/issue/1711
RFE: koji add-channel

Fixes: #1849
https://pagure.io/koji/issue/1849
[RFE] channel comments
2021-06-29 14:44:54 +02:00
Jana Cupova
aec9fba121 Add CLI related to channels + add comments to channels
Fixes: https://pagure.io/koji/issue/1711
Fixes: https://pagure.io/koji/issue/1849
2021-06-29 14:44:47 +02:00
Tomas Kopecek
ed2b0ad19b PR#2932: [kojixmlrpc] clean noisy error log
Merges #2932
https://pagure.io/koji/pull-request/2932

Fixes: #2929
https://pagure.io/koji/issue/2929
noisy debug code in hub/kojixmlrpc.py
2021-06-28 11:32:07 +02:00
Yuming Zhu
a4152dc96f [kojixmlrpc] clean noisy error log
fixes: #2929
2021-06-28 15:17:12 +08:00
Tomas Kopecek
6f3b54bca4 PR#2910: Hosts page with more filters and added channel column
Merges #2910
https://pagure.io/koji/pull-request/2910

Fixes: #1423
https://pagure.io/koji/issue/1423
[RFE] www hosts page 1:1 with list-hosts

Fixes: #827
https://pagure.io/koji/issue/827
[RFE] Web page listing hosts, could show channels
2021-06-23 15:32:25 +02:00
Jana Cupova
6e1c7e772c Hosts page with more filters and added channel column
Fixes: https://pagure.io/koji/issue/1423
Fixes: https://pagure.io/koji/issue/827
2021-06-23 15:32:18 +02:00
Tomas Kopecek
cadede442c PR#2927: fix test by using datetime.timezone instead of psycopg2.tz
Merges #2927
https://pagure.io/koji/pull-request/2927

Fixes: #2926
https://pagure.io/koji/issue/2926
psycopg2.tz has been deprecated
2021-06-23 13:19:57 +02:00
Yu Ming Zhu
11d88ee709 fix test by using datetime.timezone instead of psycopg2.tz
according to https://www.psycopg.org/docs/tz.html

fixes: #2926
2021-06-23 10:04:59 +00:00
Tomas Kopecek
6420dc1051 PR#2925: Fix tests on centos 8
Merges #2925
https://pagure.io/koji/pull-request/2925

Fixes: #2924
https://pagure.io/koji/issue/2924
Fix tests on centos8
2021-06-22 13:56:35 +02:00
Tomas Kopecek
c587eb81bf Fix tests on centos 8
Fixes: https://pagure.io/koji/issue/2924
2021-06-22 13:17:10 +02:00
Tomas Kopecek
00ffe20b40 PR#2916: [policy] use "name" in result of lookup_name for CGs
Merges #2916
https://pagure.io/koji/pull-request/2916

Fixes: #2915
https://pagure.io/koji/issue/2915
"cg_match_any" policy check fails when doing cg_import
2021-06-22 11:54:22 +02:00
Yu Ming Zhu
bf3ee393ce [policy] use "name" in result of lookup_name for CGs
fixes: #2915
2021-06-22 11:54:16 +02:00
Tomas Kopecek
fada0c9d7e PR#2922: listBuilds returns empty list, not error when not existing
Merges #2922
https://pagure.io/koji/pull-request/2922

Fixes: #1209
https://pagure.io/koji/issue/1209
listBuilds only accepts package IDs, not package names
2021-06-22 11:53:49 +02:00
Jana Cupova
12481d43d3 listBuilds returns empty list, not error when not existing
Fixes: https://pagure.io/koji/issue/1209
2021-06-22 11:53:43 +02:00
Tomas Kopecek
367fc19068 PR#2877: Livecd handler set up release if release not given
Merges #2877
https://pagure.io/koji/pull-request/2877

Fixes: #2830
https://pagure.io/koji/issue/2830
livecd scratch build tracebacks if release not given
2021-06-22 11:53:04 +02:00
Jana Cupova
308cbf675b Livecd handler set up release if release not given
Fixes: https://pagure.io/koji/issue/2830
2021-06-22 11:52:58 +02:00
Tomas Kopecek
0019b0b555 PR#2900: kojiweb - Fix getting tag ID for buildMaven taskinfo page.
Merges #2900
https://pagure.io/koji/pull-request/2900

Fixes: #2899
https://pagure.io/koji/issue/2899
buildMaven task page results in a TypeError
2021-06-21 13:56:06 +02:00
Joe Talbott
cdb101225a kojiweb - Fix getting tag ID for buildMaven taskinfo page.
Fixes: https://pagure.io/koji/issue/2899
2021-06-21 13:56:00 +02:00
Tomas Kopecek
65497d7191 PR#2896: Drop download link from deleted build
Merges #2896
https://pagure.io/koji/pull-request/2896

Fixes: #2557
https://pagure.io/koji/issue/2557
web: deleted build still shows download links
2021-06-21 13:55:14 +02:00
Jana Cupova
f8257908f5 Drop download link from deleted build
Fixes: https://pagure.io/koji/issue/2557
2021-06-21 13:55:08 +02:00
Tomas Kopecek
0ad0da3ac4 PR#2889: kojihub - Use parse_task_params rather than manual task parsing.
Merges #2889
https://pagure.io/koji/pull-request/2889

Fixes: #2875
https://pagure.io/koji/issue/2875
SourceTest should use parse_task_params
2021-06-21 13:54:46 +02:00
Joe Talbott
b1d5e5d3b5 kojihub - Use parse_task_params rather than manual task parsing.
Fixes: https://pagure.io/koji/issue/2875
2021-06-21 13:54:33 +02:00
Tomas Kopecek
adc443b984 PR#2918: additional import for test for some OS versions
Merges #2918
https://pagure.io/koji/pull-request/2918
2021-06-21 10:37:55 +02:00
Tomas Kopecek
3518bc245c additional import for test for some OS versions 2021-06-21 10:36:31 +02:00
Tomas Kopecek
d5d7c1acfe PR#2860: Add noverifyssl option to oz image builds
Merges #2860
https://pagure.io/koji/pull-request/2860

Fixes: #2797
https://pagure.io/koji/issue/2797
image-build target does not have a way to specify SSL certificates (or disable SSL)
2021-06-17 15:46:18 +02:00
Brendan Reilly
0f9a77c0e3 Add noverifyssl option to oz image builds 2021-06-17 15:46:11 +02:00
Joe Talbott
912a34a8c8 Fix flake8 warnings. 2021-06-14 13:27:21 +02:00
Joe Talbott
e68166b29d koji-gc: Allow admins to force untagging builds.
* Add check for needed permsission and skip the tag if the user doesn't
  have the needed permission.

Fixes: https://pagure.io/koji/issue/2189
2021-06-14 13:27:21 +02:00
Tomas Kopecek
3f0743a5e6 PR#2908: Fix download-build unit test
Merges #2908
https://pagure.io/koji/pull-request/2908
2021-06-14 13:20:10 +02:00
Jana Cupova
849fd0f800 Fix download-build unit test 2021-06-14 08:21:39 +02:00
Tomas Kopecek
7b30833f9a PR#2907: cli: fix help text for download-build --type=remote-sources
Merges #2907
https://pagure.io/koji/pull-request/2907
2021-06-10 16:01:25 +02:00
Ken Dreyer
02511496b4 cli: fix help text for download-build --type=remote-sources
OSBS's cachito "remote-sources" ArchiveType is plural, and the singular
"remote-source" ArchiveType is incorrect. Use the correct form in the
help text.
2021-06-10 09:34:52 -04:00
Tomas Kopecek
99df7063e3 PR#2906: lib: return taskLabel for unknown tasks
Merges #2906
https://pagure.io/koji/pull-request/2906

Fixes: #2904
https://pagure.io/koji/issue/2904
Plugins can add new method signatures but they are not reflected in web ui.
2021-06-10 11:39:08 +02:00
Tomas Kopecek
d53c3f88fa lib: return taskLabel for unknown tasks
"malformed task" has been returned for everything unknown, but external
plugins can create completely valid tasks which we can't parse without
those plugins. In such case we want to return at least method/arch info.

Related: https://pagure.io/koji/issue/2904
2021-06-09 14:44:04 +02:00
Tomas Kopecek
ef39e057a9 PR#2903: dev: use CentOS/Fedora registries for containers
Merges #2903
https://pagure.io/koji/pull-request/2903
2021-06-09 11:25:54 +02:00
Tomas Kopecek
d9a49f7ba0 dev: use CentOS/Fedora registries for containers 2021-06-09 11:23:57 +02:00
Tomas Kopecek
88feb6bd2a PR#2849: hub: replace with py3 exception
Merges #2849
https://pagure.io/koji/pull-request/2849

Fixes: #2848
https://pagure.io/koji/issue/2848
replace OSError + code with FileNotFoundError
2021-06-08 16:07:58 +02:00
Tomas Kopecek
fe3e7491a5 hub: replace with py3 exception
Fixes: https://pagure.io/koji/issue/2848
2021-06-08 16:07:39 +02:00
Tomas Kopecek
42af6952d4 PR#2888: web: docs for KojiHubCA/ClientCA
Merges #2888
https://pagure.io/koji/pull-request/2888

Fixes: #2878
https://pagure.io/koji/issue/2878
[1.24.1] : Koji-web can't authenticate with hub through TLS auth
2021-06-08 16:05:05 +02:00