Commit graph

226 commits

Author SHA1 Message Date
Tomas Kopecek
7333a8e174 cli: use multicall for cancel command
Fixes: https://pagure.io/koji/issue/2607
2021-03-22 15:12:01 +01:00
Jana Cupova
de09faca6c cli: hostinfo with non-exist host
Fixes: https://pagure.io/koji/issue/2763
2021-03-18 10:50:36 +01:00
Tomas Kopecek
8ed86e86ee tests: fix locale setting
Fixes: https://pagure.io/koji/issue/2767
2021-03-18 10:11:51 +01:00
Jana Cupova
0c9c8c6a81 cli: rpminfo with non-exist rpm
Fixes: https://pagure.io/koji/issue/2643
2021-03-17 10:11:03 +01:00
Jana Cupova
e784373000 Unify error messages
Unify error messages for CLI

Unify error messages for hub

Fixes: https://pagure.io/koji/issue/2720
2021-03-16 08:43:33 +01:00
Tomas Kopecek
29a34f31a5 cli: show connection exception
For anonymous calls (whose use ensure_connection) is now shown also
original exception if --debug is specified.

Fixes: https://pagure.io/koji/issue/2592
2021-03-10 15:31:11 +01:00
Jana Cupova
ffc9bedd00 cli: list-untagged returns error non-exist package
When package is not existing, list-untagged returns an error.

Fixes: https://pagure.io/koji/issue/2601
2021-03-10 14:38:39 +01:00
Tomas Kopecek
b6bdad7d50 cli: fix help message formatting
Related: https://pagure.io/koji/issue/2718
2021-03-05 15:36:12 +01:00
Jana Cupova
b96935c2cc Fix progname 2021-02-24 17:08:19 +01:00
Jana Cupova
5f23b8e814 cli: list-history error non-exist channel, host
When channel or host are non-existing, list-history returns error.

Fixes: https://pagure.io/koji/issue/2599
2021-02-23 13:09:59 +01:00
Jana Cupova
dc5230c4ba cli: mock-config error for non existing buildroot
When buildroot is not existing, mock-config returns an error.

Fixes: https://pagure.io/koji/issue/2642
2021-02-22 13:52:19 +01:00
lrossett
1014ad08b7 adding invalid target name error message 2021-02-22 13:38:07 +01:00
Tomas Kopecek
c6e69b4f8b backport py27 compatible file open with encoding
client and builder needs to run on py27 which doesn't support
open(encoding='utf-8')

Related: https://pagure.io/koji/issue/2641
2021-02-16 14:13:03 +01:00
Tomas Kopecek
72cf4a02de cli: fix tests
PR #2654 changed the help output but tests were not updated.

Related: https://pagure.io/koji/issue/2620
2021-02-02 14:13:49 +01:00
Tomas Kopecek
96ae0ecef5 explicit encoding for text file operations
Fixes: https://pagure.io/koji/issue/2641
2021-01-26 13:36:25 +01:00
Tomas Kopecek
e63508f8a0 cli: hide import-sig --write option
It is no more used, hide it from the user.

Fixes: https://pagure.io/koji/issue/2620
2021-01-19 13:37:56 +01:00
Tomas Kopecek
b3732c508b lower batches in clone-tag multicalls
Fixes: https://pagure.io/koji/issue/2616
2021-01-13 16:17:10 +01:00
Tomas Kopecek
254c766b1f cli: create after/before OptionParser helper 2020-12-01 14:40:51 +01:00
Tomas Kopecek
0256282a84 cli: list-task --after/--before/--all
allow querying for closed tasks

Fixes: https://pagure.io/koji/issue/2565
2020-12-01 13:02:25 +01:00
Tomas Kopecek
24bd694865 external repos can have specified arch list
Fixes: https://pagure.io/koji/issue/2538
2020-11-24 13:56:29 +01:00
Tomas Kopecek
0f56d39487 remove deprecated --ca option
Fixes: https://pagure.io/koji/issue/2192
2020-11-23 11:03:38 +01:00
Brendan Reilly
b97813d6e2 Add option to use repos from kickstart for livemedia builds
Fixes: https://pagure.io/koji/issue/2260
2020-11-12 15:48:47 +01:00
Brendan Reilly
c62f15172f Add nomacboot option for spin-livemedia
Fixes: https://pagure.io/koji/issue/2259
2020-10-27 14:37:01 +01:00
Tomas Kopecek
b030b46f74 remove unittest2 2020-10-06 15:00:23 +02:00
Tomas Kopecek
2518e8106f cli: fix tests
Related: https://pagure.io/koji/issue/1870
2020-10-06 14:58:15 +02:00
Tomas Kopecek
2a8fc19600 cli: clone-tag --config clones also extra info
Fixes: https://pagure.io/koji/issue/2371
2020-10-06 14:02:44 +02:00
Tomas Kopecek
bc478c2d68 cli: show log urls for failed tasks
Fixes: https://pagure.io/koji/issue/2188
2020-10-02 12:44:07 -04:00
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