Jana Cupova
9740c1afd7
Fix list-hosts with show-channels shows * with disabled channels
2021-09-03 14:48:56 +02:00
Jana Cupova
b79f8e0462
Fix disabled and enabled option when empty result
...
Fixes: https://pagure.io/koji/issue/3015
2021-09-03 11:11:32 +02:00
Jana Cupova
43421a8e76
CLI channels, hosts methods works with older hub
...
Fixes: https://pagure.io/koji/issue/2990
2021-08-30 09:24:22 +02:00
Ken Dreyer
0adec2fd38
fix "an user" -> "a user" grammar in help text and errors
2021-08-24 10:54:03 -04:00
Tomas Kopecek
ec70d21c41
fix flake8
2021-08-16 13:52:20 +02:00
Ken Dreyer
241f4874e8
cli: improve help text for download-logs --match
...
Update the --help text to clarify that --match will match log filenames,
not log contents, and the matching algorithm is fnmatch.
2021-08-16 13:51:01 +02:00
Ken Dreyer
0837acdf67
cli: improve help text for download-logs --nvr
...
Explain that the --nvr option is an alternative to simply specifying a
task ID. In particular, this will not download the *build's* logs, just
the task logs for that build.
2021-08-16 13:51:01 +02:00
Ken Dreyer
4878f50fa7
cli: clarify that download-logs operates on tasks
2021-08-16 13:51:01 +02:00
Ken Dreyer
d79b11eabc
cli: remove duplicate download-logs --help text
...
The get_usage_str() helper already adds this global --help message, so
we do not need to add it.
2021-08-16 13:51:01 +02:00
Ken Dreyer
c6ad839942
cli: improve --config and --profile help text
...
Move "--profile" to the top of the argument list so it's easier to see
in --help. Most users should use --profile instead of --config.
Explain what the default --profile value is (it's progname).
Reword the "--config" help text to explain that this overrides a
profile's settings using a separate configuration file.
2021-08-16 13:41:07 +02:00
Mike McLean
6af614b71b
avoid masking hub errors, avoid duplicate check
2021-07-29 08:22:10 -04:00
Mike McLean
d227f0f626
fix unit tests, use error()
2021-07-28 15:22:37 -04:00
Mike McLean
0d815f8969
exit code, --all handling, typo
2021-07-28 13:12:17 -04:00
Jana Cupova
fb8cfc5678
Add delete-rpm-sig CLI and deleteRPMSig hub call
...
Fixes: https://pagure.io/koji/issue/2665
2021-07-21 13:43:09 +02:00
Jana Cupova
bc2a51350d
Enable/disable channel
...
Fixes: https://pagure.io/koji/issue/1851
2021-07-20 10:33:50 +02:00
Yu Ming Zhu
cf2a9cfd36
cli: pass nosslverify opt to image task
...
fixes : #2797
related: #2860
2021-07-19 09:18:15 +02:00
Jana Cupova
9682a2840c
Remove unnecessary line from unlock-tag CLI
...
Fixes: https://pagure.io/koji/issue/2940
2021-07-19 09:17:30 +02:00
Jana Cupova
31f0db591a
dist-repo takes inherited arch when arch is not set
...
Fixes: https://pagure.io/koji/issue/2805
2021-06-29 14:45:36 +02:00
Jana Cupova
aec9fba121
Add CLI related to channels + add comments to channels
...
Fixes: https://pagure.io/koji/issue/1711
Fixes: https://pagure.io/koji/issue/1849
2021-06-29 14:44:47 +02:00
Brendan Reilly
0f9a77c0e3
Add noverifyssl option to oz image builds
2021-06-17 15:46:11 +02:00
Ken Dreyer
02511496b4
cli: fix help text for download-build --type=remote-sources
...
OSBS's cachito "remote-sources" ArchiveType is plural, and the singular
"remote-source" ArchiveType is incorrect. Use the correct form in the
help text.
2021-06-10 09:34:52 -04:00
Jana Cupova
51e073f4a4
CLI Download-build check non exist sigkey
...
Fixes: https://pagure.io/koji/issue/2719
2021-06-08 15:58:47 +02:00
Jana Cupova
d45158ae97
Remove jump/stops options from readFullInheritance
...
Fixes: https://pagure.io/koji/issue/2656
2021-06-08 15:52:05 +02:00
Jana Cupova
5e09db79c7
New CLI command userinfo
...
Fixes: https://pagure.io/koji/issue/2836
2021-06-08 15:50:44 +02:00
mprahl
cd1b928a5f
Add the ability to specify custom metadata on an RPM build
...
This adds the `--custom-user-metadata` option to the
CLI `build` command. This is then stored under the
"extra.custom_user_metadata" field on the resulting build.
Signed-off-by: mprahl <mprahl@redhat.com>
2021-06-02 15:48:51 +02:00
Jana Cupova
8ecfc53119
Unify error messages related to hosts and users
...
Fixes: https://pagure.io/koji/issue/2858
2021-05-18 10:23:15 +02:00
Jana Cupova
5e861978c6
Check when list of hosts is empty.
...
Fixes: https://pagure.io/koji/issue/2497
2021-05-12 16:33:23 +02:00
Jana Cupova
56a2d86034
Consistent wait/nowait in all related functions
...
Fixes: https://pagure.io/koji/issue/2522
2021-05-10 09:17:26 +02:00
Jana Cupova
bef3eff0aa
Add squashfs-only and compress-arg options to livemedia
...
Fixes: https://pagure.io/koji/issue/2476
2021-05-10 09:12:27 +02:00
Tomas Kopecek
fdf64d0a8d
cli: list-api method
...
Limit output to given method
Fixes: https://pagure.io/koji/issue/2687
2021-04-22 09:58:08 +02:00
Tomas Kopecek
4fcb9815fa
fix flake8
2021-04-19 15:18:19 +02:00
Tomas Kopecek
0f3b231bc2
backward compatibility for CLI
2021-04-19 15:15:53 +02:00
Tomas Kopecek
3fed02c8ad
cleanup removed options
2021-04-19 15:15:53 +02:00
Tomas Kopecek
91aa557391
use listTagged with_owner=False
2021-04-19 15:15:53 +02:00
Tomas Kopecek
0b9437c723
use with_owners=False
2021-04-19 15:15:53 +02:00
Jana Cupova
508b7aa8cd
unify warn messages
...
Fixes: https://pagure.io/koji/issue/2795
2021-04-19 15:14:28 +02:00
Tomas Kopecek
855bc89ca3
cli: multicalls for write-signed-rpm
...
Fixes: https://pagure.io/koji/issue/2807
2021-04-19 15:12:22 +02:00
Jana Cupova
0c6f43a9a8
cli: mock-config check arch
...
Fixes: https://pagure.io/koji/issue/2640
2021-04-19 15:11:03 +02:00
Jana Cupova
8b1fbc45be
cli: list-builds sort-key warning
...
Fixes: https://pagure.io/koji/issue/2587
Fixes: https://pagure.io/koji/issue/2588
2021-04-19 15:10:24 +02:00
Tomas Kopecek
cac56b5014
fix flake8
2021-04-12 15:11:22 +02:00
Tomas Kopecek
5006625f06
cli: fix multicall usage in list_hosts
...
Related: https://pagure.io/koji/issue/2497
2021-04-08 14:22:37 +02:00
Jana Cupova
42546751be
Fix list-hosts and hostinfo for older hub
...
Fixes: https://pagure.io/koji/issue/2497
2021-04-08 12:05:39 +02:00
Jana Cupova
b9f261d8de
cli: buildinfo returns error for non exist build
...
Fixes: https://pagure.io/koji/issue/2762
2021-03-29 11:24:26 +02:00
Jana Cupova
9dc0efd476
api getLastHostUpdate returns timestamp
...
fixes: https://pagure.io/koji/issue/2497
2021-03-29 11:23:06 +02:00
Ken Dreyer
8d0b4bc618
cli: catch koji.ParameterError in list_task_output_all_volumes
...
When we send an RPC with a parameter that the hub does not understand,
we get a koji.ParameterError.
Update list_task_output_all_volumes() to catch the specific error we
expect here.
The purpose of this change is to make the code easier to understand.
2021-03-25 13:59:59 +01:00
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
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