Commit graph

685 commits

Author SHA1 Message Date
Brendan Reilly
bc7250f312 Added CLI counterpart to groupListRemove
Fixes: #893
2019-10-11 15:54:08 -04:00
Yu Ming Zhu
2034695e88 add an option to set server realm for all clients 2019-10-10 16:37:56 +02:00
Yu Ming Zhu
831f0dfdaf cli: fix moshimoshi for krbLogin 2019-10-10 16:37:56 +02:00
Tomas Kopecek
b1db812e47 check options for list-signed
Fixes: https://pagure.io/koji/issue/1552
2019-10-10 11:45:24 +02:00
Yuming Zhu
90d3447e44 cli: [make-task] raise readable error when no args 2019-10-08 10:40:03 +02:00
Tomas Kopecek
0b4f0fb3a1 query builds per chunks in prune-signed-builds
For bigger installations query all builds can run out of memory on hub
side. Query these in 50k chunks.

Fixes: https://pagure.io/koji/issue/1587
2019-09-26 16:00:08 +02:00
Tomas Kopecek
3de3f61fbb move tag/package owners to separate table
Changing owner is triggering repo regeneration in kojira. As it is
something which doesn't have any effect on repodata, let's put it to
separate table and let kojira ignore these changes.

Fixes: https://pagure.io/koji/issue/956
2019-08-29 15:44:24 +02:00
Brendan Reilly
8b59f488d5 Extend help message to clarify clone-tag usage 2019-08-28 15:00:34 +02:00
Tomas Kopecek
9491c078bb remove deprecated koji_cli.lib_unique_path
Fixes: https://pagure.io/koji/issue/1459
2019-08-12 17:57:49 -04:00
Tomas Kopecek
dfbe322222 deprecate sha1/md5_constructor from koji.util
These functions are now fully provided by hashlib. Commit removes their
usage from koji's codebase and leaves deprecation message in lib.

Final removal from lib is scheduled to 1.21.

Fixes: https://pagure.io/koji/issue/1487
2019-08-12 16:07:55 -04:00
Yu Ming Zhu
75d8a8e036 cli: verify user in block-notification command 2019-07-30 16:18:16 -04:00
Yu Ming Zhu
3f35913c0f cli:fix typo in mock-config 2019-07-23 12:03:35 +00:00
Tomas Kopecek
9ff34438b8 CLI shows reservation 2019-07-16 10:11:55 -04:00
Tomas Kopecek
9524718a91 fix tests for CLI 2019-07-16 10:11:55 -04:00
Tomas Kopecek
707d2b2b00 move token from metadata to api option 2019-07-16 10:11:55 -04:00
Yuming Zhu
823774177f cli: change --force to real bool arg for add-tag-inheritance 2019-07-12 00:50:46 -04:00
Pat Riehecky
0c15978110 cli: add option for custom cert location 2019-07-11 17:54:01 -04:00
Mike McLean
8834bb6d6b shorten help text 2019-07-11 15:18:15 -04:00
Yu Ming Zhu
1ec14ec5dc adjust cli plugin config description 2019-07-11 15:18:15 -04:00
Yuming Zhu
ded43dec53 cli: also load plugins from ~/.koji/plugins
- add plugin_path in koji.conf
- add `--plugin-paths` in cli arguments

fixes: #887
2019-07-11 15:18:15 -04:00
Tomas Kopecek
9fd12d1a45 reflect module_hotfixes also in CLI 2019-07-11 15:12:47 -04:00
Tomas Kopecek
b7d273b2fa API/CLI/tests for notification blocks 2019-07-09 13:34:36 -04:00
Tomas Kopecek
79f1c8b359 remove merge option from edit-external-repo
Related: https://pagure.io/koji/issue/1404
2019-06-18 18:20:45 -04:00
Mike McLean
14b25b1f4b use multicall in a few more places in the cli 2019-06-17 10:19:12 -04:00
Tomas Kopecek
15421a5637 put fix_pyver before printing command help
If pyver forces koji to reload under different interpreter, it could
happen, that different set of plugins is available. In such case help
printed under original interpreter can be misleading.

Fixes: https://pagure.io/koji/issue/1276
2019-06-14 16:15:08 -04:00
Mike McLean
4bee4a5430 fix history display for parallel host_channels updates 2019-06-06 17:03:03 -04:00
Tomas Kopecek
8540302a59 more readable layout 2019-06-06 16:19:21 -04:00
Tomas Kopecek
afdc04be5d fix test 2019-06-06 16:19:21 -04:00
Tomas Kopecek
adb9d9049a show load/capacity in list-channels
Fixes: https://pagure.io/koji/issue/1448
2019-06-06 16:19:21 -04:00
James Molet
c943cf857b Allow taginfo cli to use tag IDs; fixed bug where Inheritance always
used the last tag when querying for multiple tags.
Tries string before ID in taginfo
2019-06-06 16:12:23 -04:00
Tomas Kopecek
e41d9ca756 list-hosts shouldn't error on empty list
Fixes: https://pagure.io/koji/issue/1470
2019-05-30 10:05:33 +02:00
Mikolaj Izdebski
3d058c50db Allow generating separate src repo for build repos
Fixes #1266
2019-05-23 10:01:12 -04:00
Tomas Kopecek
558e129c6b use same arch parsing for cli and hub
Related: https://pagure.io/koji/issue/1237
2019-05-21 18:39:52 -04:00
Mike McLean
489bcb8923 add --volume option to dist-repo command 2019-05-21 12:14:33 -04:00
Tomas Kopecek
e75ddc7a36 fix channel separator 2019-05-21 10:04:59 -04:00
Tomas Kopecek
30d303cab2 fix alignment 2019-05-21 10:04:59 -04:00
Tomas Kopecek
20b6239220 add --show-channels listing to list-hosts
Fixes: https://pagure.io/koji/issue/1424
2019-05-21 10:04:59 -04:00
Tomas Kopecek
0b30e73053 Check CLI arguments for enable/disable host
Fixes: https://pagure.io/koji/issue/1364
2019-04-12 21:30:02 -04:00
Tomas Kopecek
2187270185 CLI list-channels sorted output 2019-04-12 17:11:13 -04:00
Tomas Kopecek
b4755745a2 block_pkglist compatibility fix
On older hubs --force is not supported, so CLI will fail on unknown
parameter. This use force option only if it is explicitly required.

Fixes: https://pagure.io/koji/issue/1388
2019-04-10 17:32:50 -04:00
Tomas Kopecek
5614455e8c use context manager for open in CLI 2019-04-10 17:29:00 -04:00
Daniel Rodríguez
2f503070c3 Replace references to latest-pkg with latest-build
Replace latest-pkg with latest-build in common commands and
documentation. References to latest-pkg are removed where
latest-build is also present. Also, command description for
latest-build is updated to match the current one.
2019-04-10 17:23:18 -04:00
Mike McLean
25b70fe5b5 honor mock.package_manager tag setting in mock-config cli
Fixes: https://pagure.io/koji/issue/1167
2019-04-05 19:59:34 -04:00
Tomas Kopecek
70968aba33 Remove python2.4 OptionParse fix
Fixes: https://pagure.io/koji/issue/1341
2019-03-20 16:09:44 -04:00
Mike McLean
a55ea5c2d6 drop unused write_to_stdout function
this was added after 1.16 and no longer used, so no point in keeping it
2019-03-04 09:57:15 -05:00
Mike McLean
b4b6e2e6cc simpler function for dumping bytes to stdout 2019-03-04 09:57:15 -05:00
Mike McLean
24f9cb60ba use base64encode most places 2019-03-04 09:28:39 -05:00
Brendan Reilly
deb738fc1d Added warnings and failures for too long volid 2019-02-21 16:37:35 -05:00
Brendan Reilly
b92824cca0 Added volume id as argument to livemedia task 2019-02-21 16:37:35 -05:00
Tomas Kopecek
a4d41bd078 wrapper function for writing to stdout 2019-02-19 17:29:25 -05:00