Commit graph

7641 commits

Author SHA1 Message Date
Mike McLean
71898e43f4 show basic draft info in web ui 2024-01-05 10:00:43 +00:00
Mike McLean
ea86bd90b7 change draft suffix format to be url friendly 2024-01-05 10:00:42 +00:00
Mike McLean
8b9a44954c temporary fallback code for missing content.json 2024-01-05 10:00:42 +00:00
Mike McLean
ecdeba8c72 raise http errors in downloadFile 2024-01-05 10:00:42 +00:00
Yuming Zhu
009de1e688 fix typo 2024-01-05 10:00:42 +00:00
Yu Ming Zhu
3b1df037be distRepo: denying draft builds 2024-01-05 10:00:41 +00:00
Yu Ming Zhu
c06e7f9ba0 reject draft rpms as rpm components of an image build 2024-01-05 10:00:41 +00:00
Yu Ming Zhu
72fa1b8c58 reject draft build in buildroot of winbuild 2024-01-05 10:00:40 +00:00
Yu Ming Zhu
44209718d9 reject draft build in buildroot of CG 2024-01-05 10:00:40 +00:00
Yu Ming Zhu
a79c8ef468 kojid.BuildRoot: mapping id for each internal rpm by content.json 2024-01-05 10:00:40 +00:00
Yu Ming Zhu
a3b6b8c43a repoInit: reject duplicate nvras and write content.json in repodir 2024-01-05 10:00:39 +00:00
Yu Ming Zhu
08a2d6c389 revert tests/test_cli/test_import.py 2024-01-05 10:00:39 +00:00
Yu Ming Zhu
753f691148 cli: clean changes in handle_import 2024-01-05 10:00:39 +00:00
Yu Ming Zhu
f29e5e143e parse target_release from draft release instead of extra.draft.target_release 2024-01-05 10:00:38 +00:00
Yu Ming Zhu
d3ac45ca60 move clauses.append out of append_draft_clause 2024-01-05 10:00:37 +00:00
Yu Ming Zhu
2195be9f8d a comment for CONSTRAINT draft_for_rpminfo 2024-01-05 10:00:37 +00:00
Yu Ming Zhu
74ba6c947f cli rpminfo: handle no srpm case 2024-01-05 10:00:36 +00:00
Yuming Zhu
0859f1ba89 promoteBuild: update volume based on volume policy 2024-01-05 10:00:36 +00:00
Yu Ming Zhu
44d59ecbc7 can only promote COMPLETE draft build 2024-01-05 10:00:35 +00:00
Yuming Zhu
6fe42b6212 cil wrapper-rpm: input check and more reasonable opt --create-draft 2024-01-05 10:00:35 +00:00
Yuming Zhu
c045bc7100 promoteBuild: split main function to _promote_build 2024-01-05 10:00:34 +00:00
Yuming Zhu
70518c01a1 remove unused yesno helper 2024-01-05 10:00:33 +00:00
Yuming Zhu
241daabecd remove unused methods in PathInfo 2024-01-05 10:00:33 +00:00
Yu Ming Zhu
77a06c98b3 draft filter opt: use bool/None instead of bit flag 2024-01-05 10:00:33 +00:00
Yu Ming Zhu
8a34f7efa0 promote-build command 2024-01-05 10:00:32 +00:00
Yuming Zhu
75a1afc794 fix None draft for import_build and new_build 2024-01-05 10:00:31 +00:00
Yuming Zhu
af3cfab61d fix rpminfo table 2024-01-05 10:00:30 +00:00
Yuming Zhu
3ff5eaadd6 misc fixes 2024-01-05 10:00:30 +00:00
Yuming Zhu
87409499a3 draft builds 2024-01-05 10:00:29 +00:00
Tomas Kopecek
124450cec0 PR#3965: Fix unittests for python-mock-5.x
Merges #3965
https://pagure.io/koji/pull-request/3965

Fixes: #3967
https://pagure.io/koji/issue/3967
Unittests not working with python-mock-5.x
2024-01-02 14:46:29 +01:00
Jana Cupova
1b8b96a70d Add allowed versions of requests-mock for tests 2024-01-02 14:32:56 +01:00
Jana Cupova
ce624342d8 Fix unittests for python-mock-5.x
Fixes: https://pagure.io/koji/issue/3967
2024-01-02 13:06:22 +01:00
Tomas Kopecek
e4cf97b42f PR#3960: cli: [list-permissions] backward compatibility for getUserPermsInheritance call
Merges #3960
https://pagure.io/koji/pull-request/3960

Fixes: #3959
https://pagure.io/koji/issue/3959
getUserPermsInheritance doesn't exist in older koji
2023-12-19 14:03:01 +01:00
Yu Ming Zhu
7b1f2a6137 cli: [list-permissions] backward compatibility for getUserPermsInheritance call
fixes: #3959
2023-12-08 23:52:39 +00:00
Tomas Kopecek
e55303c2ce PR#3957: Fix test
Merges #3957
https://pagure.io/koji/pull-request/3957
2023-12-08 11:18:46 +01:00
Tomas Kopecek
abe0bc47fb Fix test
Test was not mocking properly log calls, creating log file at local
filesystem.
2023-12-08 11:16:36 +01:00
Tomas Kopecek
c9185468bf PR#3949: docstring typo
Merges #3949
https://pagure.io/koji/pull-request/3949
2023-12-05 14:58:17 +01:00
Mike McLean
54a8bdf9ff docstring typo 2023-12-05 14:58:03 +01:00
Tomas Kopecek
5fcba0baa6 PR#3905: More general CG import logging
Merges #3905
https://pagure.io/koji/pull-request/3905

Fixes: #3867
https://pagure.io/koji/issue/3867
Noisy FileNotFoundError errors in hub logs
2023-12-04 10:35:34 +01:00
Tomas Kopecek
4eceb79c5e fix typo 2023-12-04 10:33:18 +01:00
Tomas Kopecek
2857830c13 use joinpath 2023-12-04 09:35:06 +01:00
Tomas Kopecek
2a549d444d More general CG import logging
Related: https://pagure.io/koji/issue/3867
2023-12-04 09:35:06 +01:00
Tomas Kopecek
435045efd9 PR#3948: fix arg passing in exclusiveSession
Merges #3948
https://pagure.io/koji/pull-request/3948

Fixes: #3947
https://pagure.io/koji/issue/3947
ClientSession.exclusiveSession() always uses force
2023-11-28 12:56:12 +01:00
Mike McLean
629a0f2628 fix arg passing in exclusiveSession
Fixes https://pagure.io/koji/issue/3947
2023-11-27 20:51:48 -05:00
Tomas Kopecek
db85c7f027 PR#3946: fix flake8 errors
Merges #3946
https://pagure.io/koji/pull-request/3946
2023-11-27 11:52:08 +01:00
Tomas Kopecek
2fea15042e fix flake8 errors 2023-11-27 11:50:24 +01:00
Tomas Kopecek
bdf2b3feac PR#3902: queryOpts for queryHistory
Merges #3902
https://pagure.io/koji/pull-request/3902

Fixes: #3899
https://pagure.io/koji/issue/3899
add queryOpts support to queryHistory
2023-11-27 11:48:29 +01:00
Tomas Kopecek
81cbee2c02 queryOpts for queryHistory
Related: https://pagure.io/koji/issue/3899
2023-11-27 11:48:20 +01:00
Tomas Kopecek
f5d6c81675 PR#3940: Remove six.configparser.SafeConfingParser from tests
Merges #3940
https://pagure.io/koji/pull-request/3940

Fixes: #3939
https://pagure.io/koji/issue/3939
Python 3.12 loses SafeConfigParser
2023-11-09 14:01:20 +01:00
Tomas Kopecek
41869961f6 Remove six.configparser.SafeConfingParser from tests
Fixes: https://pagure.io/koji/issue/3939
2023-11-09 13:58:53 +01:00