Commit graph

524 commits

Author SHA1 Message Date
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
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
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
Tomas Kopecek
70968aba33 Remove python2.4 OptionParse fix
Fixes: https://pagure.io/koji/issue/1341
2019-03-20 16:09:44 -04:00
Franz Chih-Ping Hsieh
f356ac4f17 force using python2 to run script
Fixes #945
2018-05-24 00:01:30 -04:00
Tomas Kopecek
1b07d95ccf print debug and error messages to stderr
Fixes: https://pagure.io/koji/issue/671
2018-04-24 17:01:51 -04:00
Tomas Kopecek
64202285b2 don't fail on CLI plugins without docstrings
Related: https://pagure.io/koji/issue/644
2017-10-30 21:36:18 -04:00
Mike McLean
ea89245352 allow profiles to request a specific python version 2017-09-18 16:26:55 -04:00
Ville Skyttä
10bc242c32 Spelling fixes 2017-07-30 12:49:19 +03:00
Tomas Kopecek
2f42c28286 python 2.6 doesn't know named components 2017-06-27 15:45:20 +02:00
Yuming Zhu
6fe90a170d unit tests for cli.load_plugins 2017-06-22 11:59:28 -04:00
Yuming Zhu
617241bcc1 use six.class_types instead of ClassType, TypeType in cli 2017-06-22 11:59:28 -04:00
Yuming Zhu
e64c57e866 fix StringType and itervalues in plugin and cli 2017-06-22 11:59:28 -04:00
Tomas Kopecek
519f792ce2 strip .py from module name 2017-06-16 10:55:08 +02:00
Tomas Kopecek
df6aadec59 remove CLI plugins config options 2017-06-13 14:53:39 +02:00
Tomas Kopecek
c15c553048 fix entry path 2017-06-13 11:42:04 +02:00
Tomas Kopecek
37bcef025c cleanup after automatic split 2017-06-13 11:42:04 +02:00
Tomas Kopecek
81b2b36d07 apply split 2017-06-13 11:20:38 +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
e5ac8557e9 Fix traceback for missing update 2017-06-06 10:41:13 -04:00
Tomas Kopecek
0f6a9fdcf3 honor --quiet in list-tagged
Related: https://pagure.io/koji/issue/452
2017-06-06 10:38:46 -04:00
Tomas Kopecek
c0fccab2b7 correct sort() usage 2017-06-01 09:39:24 +02:00
Tomas Kopecek
d625c0aa4d remove changes not relevant to cli 2017-06-01 09:39:24 +02:00
Tomas Kopecek
d2ab86584a explicit unicode in cli 2017-06-01 09:39:24 +02:00
Tomas Kopecek
449390cff9 cli-related test fixes 2017-06-01 09:39:23 +02:00
Tomas Kopecek
644792ff76 replace urlgrabber with pycurl 2017-06-01 09:39:23 +02:00
Tomas Kopecek
5abd334e85 python-modernize -f libmodernize.fixes.fix_map 2017-06-01 09:39:23 +02:00
Tomas Kopecek
62288597f1 python-modernize -f libmodernize.fixes.fix_filter 2017-06-01 09:39:22 +02:00
Tomas Kopecek
a4a1536a03 python-modernize -f libmodernize.fixes.fix_file 2017-06-01 09:39:22 +02:00
Tomas Kopecek
68bf19c739 python-modernize -f libmodernize.fixes.fix_dict_six 2017-06-01 09:39:22 +02:00
Tomas Kopecek
8567044a20 python-modernize -f libmodernize.fixes.fix_classic_division 2017-06-01 09:39:22 +02:00
Tomas Kopecek
f6e5bd11f3 python-modernize -f lib2to3.fixes.fix_numliterals 2017-06-01 09:39:22 +02:00
Tomas Kopecek
1220008f8f python-modernize -f lib2to3.fixes.fix_except 2017-06-01 09:39:22 +02:00
Tomas Kopecek
b1da150c01 python-modernize -f libmodernize.fixes.fix_imports_six 2017-06-01 09:39:21 +02:00
Tomas Kopecek
0eaf3349c4 python-modernize -f libmodernize.fixes.fix_zip 2017-06-01 09:39:21 +02:00
Tomas Kopecek
7f946b37be python-modernize -f libmodernize.fixes.fix_xrange_six 2017-06-01 09:39:21 +02:00
Mike McLean
d01346796b handle task fault results in download-logs
Fixes #423
https://pagure.io/koji/issue/423
2017-05-19 10:14:23 -04:00
Brendan Reilly
6c69a6f5cb Added hostinfo command to cli 2017-05-01 14:30:54 -04:00
Andrew Jorgensen
619a101e73 Optional JSON output for 'koji call'
Python pprint is easy enough for a developer to read, but harder to parse.
2017-04-25 11:29:24 -04:00
Tomas Kopecek
ae8adfc4e7 backward-compatible try/except 2017-04-10 16:38:52 +02:00
Mike McLean
df416f7c3c missed one listTaskOutput call 2017-04-04 17:48:59 -04:00
Mike McLean
2009780198 fall back to old behavior if hub doesn't understand all_volumes option
Fixes #366
2017-04-04 13:45:53 -04:00
Mike McLean
96d5d0f73b rename some options for clarity 2017-03-30 09:49:58 -04:00
Mike McLean
63029e3d37 fix arg sanity check 2017-03-30 09:49:58 -04:00
Mike McLean
3bdd64f4ff Don't require specifying a key if --allow-unsigned is given 2017-03-30 09:49:58 -04:00
Mike McLean
dc58f50fc6 print('') is more 2.4 friendly 2017-03-30 09:49:58 -04:00
Mike McLean
884a20c0cd propagate the full name of the skip_unsigned option 2017-03-30 09:49:58 -04:00
Mike McLean
dda2549d9c handle case where tag archlist is None 2017-03-30 09:49:58 -04:00
Mike McLean
33e1c3ac4f cleanup: has_key and print
2to3 -pvwn --fix has_key
2to3 -pvwn --fix print
2017-03-30 09:49:58 -04:00