Commit graph

45 commits

Author SHA1 Message Date
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
52026bcfcb Remove deprecated remove-channel/removeChannel
Fixes: https://pagure.io/koji/issue/3356
2022-06-30 08:53:43 +02:00
Jana Cupova
1252129136 Add description for permissions
Fixes: https://pagure.io/koji/issue/335
2022-01-31 10:21:58 +01:00
Jana Cupova
18b136d386 Remove rename-channel CLI and use editChannel in renameChannel
Fixes: https://pagure.io/koji/issue/3035
2021-12-15 15:28:19 +01:00
Ken Dreyer
0adec2fd38 fix "an user" -> "a user" grammar in help text and errors 2021-08-24 10:54:03 -04:00
Ken Dreyer
4878f50fa7 cli: clarify that download-logs operates on tasks 2021-08-16 13:51:01 +02: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
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
Jana Cupova
5e09db79c7 New CLI command userinfo
Fixes: https://pagure.io/koji/issue/2836
2021-06-08 15:50:44 +02: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
ba908fd2de report versions of components
Fixes: https://pagure.io/koji/issue/2430
2020-09-30 10:43:19 +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
Yu Ming Zhu
4c1928f377 extract read_config_files util for config parsing 2019-10-15 09:14:16 +02:00
Brendan Reilly
fda86ce710 Added editUser api call
Fixes: #862
2019-10-14 10:14:50 +02:00
Brendan Reilly
bc7250f312 Added CLI counterpart to groupListRemove
Fixes: #893
2019-10-11 15:54:08 -04:00
Mike McLean
546d7fb4e8 fix whitespace 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
b7d273b2fa API/CLI/tests for notification blocks 2019-07-09 13:34:36 -04:00
Yuming Zhu
fa5ccf0eac using explicit coverage2/3 in Makefile 2019-01-28 08:46:11 -05:00
Tomas Kopecek
7f6b717eb6 python-modernize -f libmodernize.fixes.fix_import 2018-07-11 17:37:39 -04:00
Tomas Kopecek
c68396c059 Use unittest2 for rhel6 compatibility
Fixes: https://pagure.io/koji/issue/830
2018-06-07 09:39:39 -04:00
Tomas Kopecek
252c9e1c20 CLI commands for notifications
Fixes: https://pagure.io/koji/issue/680
2018-04-24 16:54:08 -04:00
Mike McLean
2b0146a0ba another watch-tasks test 2017-11-28 13:40:29 -05:00
Mike McLean
d97cf1f961 use fake client for watch_tasks testing 2017-11-28 13:40:29 -05:00
Tomas Kopecek
26474b72fc drop importBuildInPlace call
"The importBuildInPlace call is an artifact of a particular bootstrap
event that happened a long time ago. It's not really documented or
recommended for current use."

Related: https://pagure.io/koji/issue/553
2017-09-26 17:32:16 -04:00
Tomas Kopecek
1891892c25 move spin-livemedia to build section
Related: https://pagure.io/koji/issue/586
2017-09-26 12:42:56 +02:00
Brendan Reilly
f9f41b46e6 Added better state handling, prefix option, tz handling, sorting to list-builds 2017-09-08 16:20:17 -04:00
Yuming Zhu
1e77866b35 cli: change download-task to regular curl download
also make 301/302 redirect acceptable by download-build & download-task
2017-08-08 12:26:22 -04:00
Tomas Kopecek
6c68b6ab34 CLI block-group command
Relates: https://pagure.io/koji/issue/462
2017-07-25 12:14:26 -04:00
Yuming Zhu
6fe90a170d unit tests for cli.load_plugins 2017-06-22 11:59:28 -04:00
Tomas Kopecek
c02eb739aa update cli tests 2017-06-13 11:42:04 +02:00
Tomas Kopecek
c5f910ffd9 list-channels CLI command
Related: https://pagure.io/koji/issue/437
2017-06-07 14:51:28 -04:00
Tomas Kopecek
449390cff9 cli-related test fixes 2017-06-01 09:39:23 +02:00
Brendan Reilly
6c69a6f5cb Added hostinfo command to cli 2017-05-01 14:30:54 -04:00
Mike McLean
1ceb366f9d last bit of renaming 2017-03-30 09:49:58 -04:00
Mike McLean
c86b5c3ac0 first stab at renaming signed repos to dist repos
sed -i -e 's/signed\(.\?[Rr]epo\)/dist\1/g'
sed -i -e 's/Signed\(.\?[Rr]epo\)/Dist\1/g'
2017-03-30 09:47:20 -04:00
Mike McLean
0957834e0c update data for list-commands test 2017-03-30 09:45:59 -04:00
Tomas Kopecek
437afbb720 CLI for save_failed_tree 2017-03-30 09:25:51 -04:00
Yuming Zhu
6641eb0510 cli: move list-permissions to info category 2017-03-07 10:22:41 -05:00
Tomas Kopecek
8999162807 convert test data to json 2017-01-11 21:28:34 -05:00
Yuming Zhu
86822c6399 ut: cli - test_import_comps 2016-10-13 00:16:15 -04:00
Tomas Kopecek
68d8ee874d Update cli tests for assign-task command 2016-09-28 14:52:43 -04:00
Ralph Bean
57d7dbf8b8 The beginnings of some cli tests. 2016-06-08 14:53:41 -04:00