Commit graph

6234 commits

Author SHA1 Message Date
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
Tomas Kopecek
a77e340fde web: better docs for KojiHubCA
Related: https://pagure.io/koji/issue/2878
2021-06-08 16:04:57 +02:00
Tomas Kopecek
3a49ddf985 drop old ClientCA reference 2021-06-08 16:04:57 +02:00
Tomas Kopecek
65e8593f73 PR#2867: listBuilds accept also package name and user name
Merges #2867
https://pagure.io/koji/pull-request/2867

Fixes: #1209
https://pagure.io/koji/issue/1209
listBuilds only accepts package IDs, not package names
2021-06-08 16:01:50 +02:00
Jana Cupova
c4a2f01184 listBuilds accept also package name and user name
Fixes: https://pagure.io/koji/issue/1209
2021-06-08 16:01:42 +02:00
Tomas Kopecek
58fe3930ed PR#2864: CLI Download-build check non exist sigkey
Merges #2864
https://pagure.io/koji/pull-request/2864

Fixes: #2719
https://pagure.io/koji/issue/2719
Error for download-build and non-existing sigkey should be improved
2021-06-08 15:59:01 +02:00
Jana Cupova
51e073f4a4 CLI Download-build check non exist sigkey
Fixes: https://pagure.io/koji/issue/2719
2021-06-08 15:58:47 +02:00
Tomas Kopecek
750b13e45a PR#2847: Remove jump/stops options from readFullInheritance
Merges #2847
https://pagure.io/koji/pull-request/2847

Fixes: #2656
https://pagure.io/koji/issue/2656
Remove deprecated stops/jump options from readFullInheritance
2021-06-08 15:52:11 +02:00
Jana Cupova
d45158ae97 Remove jump/stops options from readFullInheritance
Fixes: https://pagure.io/koji/issue/2656
2021-06-08 15:52:05 +02:00
Tomas Kopecek
da9e9310f7 PR#2840: New CLI command userinfo
Merges #2840
https://pagure.io/koji/pull-request/2840

Fixes: #2836
https://pagure.io/koji/issue/2836
RFE: koji userinfo
2021-06-08 15:50:52 +02:00
Jana Cupova
5e09db79c7 New CLI command userinfo
Fixes: https://pagure.io/koji/issue/2836
2021-06-08 15:50:44 +02:00
Tomas Kopecek
976120a5cd PR#2887: Read config options from main hub config and hub config dir
Merges #2887
https://pagure.io/koji/pull-request/2887

Fixes: #2839
https://pagure.io/koji/issue/2839
koji-sweep-db script don't read all config files in contrast to the hub module itself.
2021-06-08 15:49:55 +02:00
Jana Cupova
ee44d136e9 Read config options from main hub config and hub config dir
Fixes: https://pagure.io/koji/issue/2839
2021-06-08 15:49:48 +02:00
Tomas Kopecek
5de61d42f1 PR#2898: hub: fix SQL condition
Merges #2898
https://pagure.io/koji/pull-request/2898

Fixes: #2897
https://pagure.io/koji/issue/2897
`koji call list-tagged type=module` throws an SQL error
2021-06-03 16:09:48 +02:00
Tomas Kopecek
b2438c47ed hub: fix SQL condition
Fixes: https://pagure.io/koji/issue/2897
2021-06-03 16:09:29 +02:00
Tomas Kopecek
b345b62b6d PR#2894: sidetags: configurable naming template
Merges #2894
https://pagure.io/koji/pull-request/2894

Fixes: #2893
https://pagure.io/koji/issue/2893
sidetags: configurable naming template
2021-06-03 15:24:05 +02:00
Tomas Kopecek
61f85acde8 basic test 2021-06-03 15:23:56 +02:00
Tomas Kopecek
990fa73d27 remove debug 2021-06-03 15:23:56 +02:00
Tomas Kopecek
4892b4e922 use format for name_template 2021-06-03 15:23:56 +02:00
Tomas Kopecek
d1d07c1c0c update docs 2021-06-03 15:23:56 +02:00
Tomas Kopecek
ac4fb76b22 sidetags: configurable naming template
Fixes: https://pagure.io/koji/issue/2893
2021-06-03 15:23:56 +02:00
mprahl
cd1b928a5f Add the ability to specify custom metadata on an RPM build
This adds the `--custom-user-metadata` option to the
CLI `build` command. This is then stored under the
"extra.custom_user_metadata" field on the resulting build.

Signed-off-by: mprahl <mprahl@redhat.com>
2021-06-02 15:48:51 +02:00
Tomas Kopecek
b6b7d644b5 PR#2879: Remove deprecated readGlobalInheritance
Merges #2879
https://pagure.io/koji/pull-request/2879

Fixes: #2871
https://pagure.io/koji/issue/2871
remove deprecated readGlobalInheritance
2021-06-02 11:48:57 +02:00
Jana Cupova
1cf849f891 Remove deprecated readGlobalInheritance
Fixes: https://pagure.io/koji/issue/2871
2021-06-02 11:48:50 +02:00