Mike McLean
48d78bd535
more mock.patch cleanup
2024-06-04 12:54:58 +02:00
Mike McLean
1a51320e86
avoid test failure when running in console
2024-06-04 12:54:58 +02:00
Mike McLean
bf6e437df3
new cli tests for coverage
2024-04-24 14:47:57 +02:00
Mike McLean
eb18210744
fix unit tests
2024-04-24 14:47:57 +02:00
Mike McLean
2485b87294
more missing tearDowns
2024-04-15 11:08:29 +02:00
Jana Cupova
63a6f43d8a
Fix remove-tag-inheritance with priority
...
Fix remote-tag-inheritance with priority
Fixes: https://pagure.io/koji/issue/3985
2024-03-26 15:11:24 +01:00
Jana Cupova
c62e3467b5
Add CLI with users with given permission
...
Fixes: https://pagure.io/koji/issue/3950
2024-03-11 13:12:20 +01:00
Tomas Kopecek
4ad92b5cd6
Use dnf5-compatible "group install" command
...
* yum knows only "yum groupinstall"
* dnf < 5 knows both
* dnf-5 only "dnf5 group install"
From RHEL5 version of yum, @group syntax is supported, so we can
replace all groupinstall commands with "install @group".
Related: https://pagure.io/koji/issue/3971
2024-03-05 13:17:35 +01:00
Mike McLean
cfd6d3064f
show hub version in koji hello
2024-02-29 15:40:03 +01:00
Tomas Kopecek
7a9b0561eb
Don't try to resolve server version for old hubs
...
Related: https://pagure.io/koji/issue/3890
2024-02-29 15:40:03 +01:00
Jana Cupova
d31750bf70
CLI list-users with filters from listUsers
...
Fixes: https://pagure.io/koji/issue/4001
2024-02-15 08:25:19 +01:00
Hector Martinez
d467810c7c
Read config file on image build indirection
2024-01-11 15:55:57 +01:00
Mike McLean
af36318ead
refactor get_rpm
2024-01-05 10:00:50 +00:00
Yu Ming Zhu
34c6712fde
simpler gen_draft_release and parse_target_release
2024-01-05 10:00:47 +00:00
Yu Ming Zhu
08a2d6c389
revert tests/test_cli/test_import.py
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
Yuming Zhu
6fe42b6212
cil wrapper-rpm: input check and more reasonable opt --create-draft
2024-01-05 10:00:35 +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
87409499a3
draft builds
2024-01-05 10:00:29 +00: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
Yu Ming Zhu
7b1f2a6137
cli: [list-permissions] backward compatibility for getUserPermsInheritance call
...
fixes : #3959
2023-12-08 23:52:39 +00: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
Mike McLean
e649e19be5
unit test
2023-10-03 15:23:02 +02:00
Tomas Kopecek
5a368dd72f
fix tests
...
Text change introduced in PR 3915
2023-10-03 15:18:51 +02:00
Tomas Kopecek
9f1f5b674d
short option for watch-logs --follow
...
Related: https://pagure.io/koji/issue/3909
2023-09-22 09:26:31 +02:00
Tomas Kopecek
f5f8e6c6a2
refactor get_user_perms
2023-09-04 09:16:21 +02:00
Tomas Kopecek
255ec21d00
Inherit group permissions
...
Related: https://pagure.io/koji/issue/3849
2023-09-04 09:16:21 +02:00
Tomas Kopecek
1f06c98fda
fix tests
2023-08-28 13:04:50 +02:00
Tomas Kopecek
60722acf09
Extend getUser to get user groups
...
Related: https://pagure.io/koji/issue/3854
2023-08-02 12:46:40 +02:00
Tomas Kopecek
ad0566d7cc
distrepo will not skip rpm stat by default
...
There is also CLI option which can override this behaviour if needed.
Related: https://pagure.io/koji/issue/3829
2023-07-18 11:31:07 +02:00
Mike McLean
61675aec2f
be pickier about keyword args and add a note about them in usage
2023-07-04 08:55:12 +02:00
Mike McLean
65d0bbb897
additional unit tests
2023-07-04 08:55:12 +02:00
Mike McLean
97932391de
unit tests
2023-07-04 08:55:12 +02:00
Tomas Kopecek
576e5d6f3b
PR#3819: track update time in host table
...
Merges #3819
https://pagure.io/koji/pull-request/3819
Fixes : #3789
https://pagure.io/koji/issue/3789
2023-05-17 10:58:12 +02:00
Tomas Kopecek
0986c118fd
fix unit tests
2023-05-17 09:31:35 +02:00
geargyri
0eedf36c41
add policy check
...
Related: https://pagure.io/koji/issue/3183
2023-05-17 09:31:35 +02:00
Mike McLean
48b8deef6e
fix unit tests
2023-05-16 13:14:16 +02:00
Jana Cupova
a87c6aedbe
Add component/built archives in list-buildroot
...
Fixes: https://pagure.io/koji/issue/3759
2023-05-09 09:20:44 +02:00
Jana Cupova
542d5c80fd
Fix prune-signed-copies unit tests
2023-04-17 09:35:46 +02:00
Jana Cupova
5aea4e2d54
prune-signed-copies unit tests
2023-04-11 15:13:19 +02:00
Jana Cupova
9a6daef300
Fix backward compatibility
...
Fixes: https://pagure.io/koji/issue/3715
2023-04-03 15:25:20 +02:00
Jana Cupova
de192e10f1
Add repoID in listBuildroots and create repoinfo command
...
Add repoID param in listBuildroots and show result in repoInfo
Create new command repoinfo which provides equivalent info as repoInfo
Add number of buildroots related to repo in repoinfo page
Fixes: https://pagure.io/koji/issue/2549
2023-04-03 15:20:18 +02:00
Jana Cupova
175c618e5b
CLI list-untagged: One space only instead of double space before references
...
Fixes: https://pagure.io/koji/issue/3730
2023-03-23 13:21:38 +01:00
Jana Cupova
3e09338db7
Increase CLI uni tests
2023-03-21 12:22:02 +01:00
Jana Cupova
886e8856b6
Fix timezone in clone-tag test case
...
Fixes: https://pagure.io/koji/issue/3733
2023-03-15 12:48:55 +01:00
Tomas Kopecek
9799a193c9
fix tests
...
Related: https://pagure.io/koji/issue/3711
2023-03-07 12:50:10 +01:00
Jana Cupova
334bc39375
CLI: cancel error msg
...
cancel returns error msg when build is not existing
cancel returns error mgs for all not existing tasks/builds
Fixes: https://pagure.io/koji/issue/3715
2023-03-06 14:24:53 +01:00