Commit graph

7425 commits

Author SHA1 Message Date
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
Tomas Kopecek
48205e08bd PR#3935: fix task_id extraction for missing extra
Merges #3935
https://pagure.io/koji/pull-request/3935

Fixes: #3906
https://pagure.io/koji/issue/3906
 Retrieve task_id for older OSBS builds for volume policy
2023-10-31 14:43:56 +01:00
Tomas Kopecek
4f78acca12 fix task_id extraction for missing extra
Related: https://pagure.io/koji/issue/3906
2023-10-31 11:27:32 +01:00
Tomas Kopecek
7f177a0478 PR#3927: more getSessionInfo updates
Merges #3927
https://pagure.io/koji/pull-request/3927

Fixes: #3793
https://pagure.io/koji/issue/3793
getSessionInfo returns fewer items when user_id is used than default
2023-10-30 11:50:05 +01:00
Mike McLean
7a6ab7aafa unit test fixes 2023-10-30 11:49:56 +01:00
Mike McLean
455f37f1ec also include renew time 2023-10-30 11:49:56 +01:00
Tomas Kopecek
efcef6a65a PR#3911: Display two decimal points for the task load in hosts page
Merges #3911
https://pagure.io/koji/pull-request/3911

Fixes #3916
https://pagure.io/koji/issue/3916
2023-10-30 09:09:59 +01:00
alisboav
b178d6b36c Display two decimal points for the task load in hosts page 2023-10-30 09:09:52 +01:00
Tomas Kopecek
9f0583f797 PR#3897: Retrieve task_id for older OSBS builds
Merges #3897
https://pagure.io/koji/pull-request/3897

Fixes #3906
https://pagure.io/koji/issue/3906
2023-10-26 11:20:59 +02:00
Tomas Kopecek
0c58cd954d Retrieve task_id for older OSBS builds
Related: https://pagure.io/koji/issue/3906
2023-10-23 14:24:16 +02:00
Tomas Kopecek
268d07caf4 PR#3884: short option for watch-logs --follow
Merges #3884
https://pagure.io/koji/pull-request/3884

Related: #3909
https://pagure.io/koji/issue/3909
2023-10-23 14:21:01 +02:00
Tomas Kopecek
15bdb0cdf9 Revert "short option for watch-logs --follow"
This reverts commit 0b7a97dc19.

It was not pushed via correct PR merge. Same commit will follow with
correct workflow.
2023-10-23 14:09:39 +02:00
Tomas Kopecek
0b7a97dc19 short option for watch-logs --follow
Related: https://pagure.io/koji/issue/3909
2023-10-23 14:04:54 +02:00
Tomas Kopecek
96f784c781 PR#3886: Raise an error on missing build directory
Merges #3886
https://pagure.io/koji/pull-request/3886

Related: #3908
https://pagure.io/koji/issue/3908
2023-10-23 13:59:14 +02:00
Mike McLean
9f8ed4e600 drop dir_moves var 2023-10-23 13:59:07 +02:00
Tomas Kopecek
a171b85bed Raise an error on missing build directory
Related: https://pagure.io/koji/issue/3908
2023-10-23 13:59:07 +02:00
Tomas Kopecek
b3d37d22ca PR#3894: Sort channels on hosts page
Merges #3894
https://pagure.io/koji/pull-request/3894
2023-10-23 13:56:54 +02:00