Commit graph

199 commits

Author SHA1 Message Date
Tomas Kopecek
ba908fd2de report versions of components
Fixes: https://pagure.io/koji/issue/2430
2020-09-30 10:43:19 +02:00
Tomas Kopecek
08494de774 block inherited extra tag info
Fixes: https://pagure.io/koji/issue/2283
2020-09-28 11:03:43 +02:00
Tomas Kopecek
df8ce93699 fix test 2020-09-09 14:02:42 +02:00
Tomas Kopecek
aa16b5ccea cli: don't require --config in clone-tag
Fixes: https://pagure.io/koji/issue/2012
2020-09-08 11:00:38 +02:00
Tomas Kopecek
9f3f5ff37a fix test 2020-08-26 09:26:00 +02:00
Tomas Kopecek
c754713818 fix tests 2020-08-26 09:26:00 +02:00
Tomas Kopecek
bcdf0165c9 remove deprecated list-tag-history / tagHistory
Fixes: https://pagure.io/koji/issue/2215
2020-08-18 16:31:21 +02:00
Mike McLean
d6d342a74b fix unit test 2020-07-29 15:47:02 +02:00
Tomas Kopecek
f8419e3626 remove deprecated krbV support
Fixes: https://pagure.io/koji/issue/1991
2020-07-24 15:08:47 -04:00
Yuming Zhu
45a4867e67 cli clone-tag - get srctag info with event
So that tag config and extra honor `event` for clone-tag cmd

fixes: #2101
2020-07-15 11:44:02 -04:00
Tomas Kopecek
d47a45f576 cli: fix image-build-indirection --wait
Fixes: https://pagure.io/koji/issue/2046
2020-07-15 11:17:43 -04:00
Tomas Kopecek
1cbc9340db cli: --wait for download-task
If task is not finished yet, wait for it and download output then.

Fixes: https://pagure.io/koji/issue/2052
2020-07-02 14:23:42 +02:00
Tomas Kopecek
2bb460bc23 cli: output extra['rpm.macro.*'] to mock-config
Fixes: https://pagure.io/koji/issue/1859
2020-06-16 10:13:12 +02:00
Tomas Kopecek
637be55ef4 cli: drop unneeded activate_session
Fixes: https://pagure.io/koji/issue/2070
2020-05-22 09:36:21 +02:00
Ken Dreyer
235018eca6 cli: improve grant-permission --new --help message
The --new option only creates a new permission if the permission does
not already exist. Update the --help message to indicate this.
2020-04-29 10:13:44 +02:00
Tomas Kopecek
04f6ba886e fix tests 2020-04-22 14:54:10 +02:00
Tomas Kopecek
bba9907fc4 Fix automatic trailing-space removal 2020-04-15 11:19:32 +02:00
Tomas Kopecek
a85f51db3a fix tests 2020-04-14 09:09:49 +02:00
Tomas Kopecek
b8d56fa920 fix ordering for retagged builds 2020-04-14 09:09:49 +02:00
Tomas Kopecek
af14fc4a69 overtag existing builds 2020-04-14 09:09:49 +02:00
Tomas Kopecek
bd9ce26461 clone-tag --no-delete mode
Fixes: https://pagure.io/koji/issue/1384
2020-04-14 09:09:49 +02:00
Mike McLean
067d30080e more grammar changes 2020-04-02 10:55:30 +02:00
Tomas Kopecek
21b461ec25 fix test 2020-04-02 10:55:30 +02:00
Tomas Kopecek
4bf09bd398 Better help for build/latest-build
People can be confused by buildtag/desttag/target. Shed some light in
these commands' helps.

Fixes: https://pagure.io/koji/issue/1808
2020-04-02 10:55:30 +02:00
Tomas Kopecek
291f04301b download_archive / download_rpm methods for CLI
Fixes: https://pagure.io/koji/issue/1880
2020-03-25 14:03:47 +01:00
Tomas Kopecek
5eafede60b add-host work even if host already tried to log in
Fixes: https://pagure.io/koji/issue/1874
2020-03-25 13:51:36 +01:00
Yuming Zhu
0ea008ac8a unittests: for edit-external-repo cmd and editTagExternalRepo API 2020-03-25 13:39:30 +01:00
Tomas Kopecek
718321298e allow to skip SRPM rebuild for scratch builds
Fixes: https://pagure.io/koji/issue/1719
2020-03-19 15:40:55 +01:00
Tomas Kopecek
bb9c72092b use only gssapi_login in CLI
Fixes: https://pagure.io/koji/issue/1906
2020-03-09 15:13:36 +01:00
Yuming Zhu
c5db34a8e1 flake8: apply E501 with max-line-length=99 2020-03-03 21:38:22 +08:00
Christopher O'Brien
ff1996564c Disable notifications from clone-tag by default
The tagBuildBypass and untagBuildBypass invocations in the clone-tag
CLI were not setting the notify option, leaving it at the default of
True. This means in some cases many hundreds of notification events
would be triggered from a clone-tag call.

Change the default behavior of clone-tag to explicitly disable
notifications

Add a new --notify option to clone-tag to re-enable notifications for
tagging and untagging of builds.

Fixes: #1890
2020-03-03 14:13:48 +01:00
Yu Ming Zhu
ecebcba90f unittest fix: tests/test_cli/test_list_tagged.py 2020-02-12 12:34:03 +01:00
Tomas Kopecek
4edb9b15c2 don't user full listTags in list-groups call
Fixes: https://pagure.io/koji/issue/1954
2020-02-10 15:35:48 +01:00
Tomas Kopecek
4e28eda265 fix usage message for add-pkg
Fixes: https://pagure.io/koji/issue/1212
2020-02-04 10:33:34 +01:00
Tomas Kopecek
11aa2bcead fix help message for list-groups
Fixes: https://pagure.io/koji/issue/1189
2020-02-04 09:15:28 +01:00
Yu Ming Zhu
bce5afdf0c hub: remove debugFunction API
testcase of list-api has some litaral reference. It doesn't matter but changed as well

fixes: #1833
2020-01-23 16:27:38 +01:00
Tomas Kopecek
b6837798a6 fix test for PR1918
Related: https://pagure.io/koji/pull-request/1918
2020-01-07 13:45:04 +01:00
Tomas Kopecek
ac42f9b8ba basic zchunk support for dist-repo
Fixes: https://pagure.io/koji/issue/1198
2020-01-02 11:30:55 +01:00
Tomas Kopecek
4d03794657 limit distRepo tasks per tag
Introduces 'distrepo.cancel_others` extra flag for tags. If enabled, new
distRepo task will cancel previous non-finished ones leaving only new
one.

Fixes: https://pagure.io/koji/issue/1630
2020-01-02 11:26:20 +01:00
Tomas Kopecek
418376dc81 build can wait for actual repo
New options --wait-for-build and --wait-for-repo for build command are
simplification of using wait-repo + build command succession. They have
same semantices as the original one.

Fixes: https://pagure.io/koji/issue/1619
2019-12-12 15:29:27 +01:00
Tomas Kopecek
98ab70dcff fix permission check in CLI 2019-12-11 11:47:02 +01:00
Tomas Kopecek
502e7ed2ca fix tests 2019-12-11 11:47:02 +01:00
Tomas Kopecek
bf45d6927f unify return values for permission denied
Fixes: https://pagure.io/koji/issue/1776
2019-12-11 11:47:01 +01:00
Tomas Kopecek
98b83eff69 fix downloads w/o content-length
Fixes: https://pagure.io/koji/issue/982
2019-11-25 14:51:08 +01:00
Tomas Kopecek
7c510f7dcd clarify --ts usage
Fixes: https://pagure.io/koji/issue/1774
2019-11-25 11:45:57 +01:00
Mohan Boddu
5b3dbd4fd8 Remove title option for livemedia-creator
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2019-11-21 15:19:58 +01:00
Christopher O'Brien
52088adbb1 make tests work 2019-10-31 11:40:16 +01:00
Yu Ming Zhu
f66bb81a85 cli: fix typo in edit-user cmd
fixes: #862
2019-10-22 10:44:55 +00:00
Tomas Kopecek
b96f828e7b fix test for RHEL6 2019-10-15 12:55:14 +02:00
Yuming Zhu
4ff3da3b6b fix unitest import for el6 2019-10-15 09:16:43 +02:00