Tomas Kopecek
bc43f8bdfc
modify activate_session to be easily used without CLI
...
Related: https://pagure.io/koji/issue/436
2017-09-14 18:18:35 -04:00
Brendan Reilly
09426d131e
Removed special maven case, added sorting option, now displays state
2017-09-08 16:20:17 -04:00
Brendan Reilly
f9f41b46e6
Added better state handling, prefix option, tz handling, sorting to list-builds
2017-09-08 16:20:17 -04:00
Brendan Reilly
571d68c223
Added more failure handling for list-builds
2017-09-08 16:20:17 -04:00
Brendan Reilly
0de93237f1
Added list builds command to koji CLI
2017-09-08 16:20:17 -04:00
Lubomír Sedlář
4060e1c026
cli: Fix exit code for building images
...
When spin-livemedia, image-build etc. start a task and watch it, they
never return a correct exit value. Pungi relies on the exit code to
determine if the task failed or not.
Fixes: https://pagure.io/koji/issue/555
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-08-23 15:40:24 -04:00
Tomas Kopecek
bdd4d41285
incorrect parameter for error message
...
Related: https://pagure.io/koji/issue/543
2017-08-08 12:30:55 -04:00
Yuming Zhu
ba087236dd
cli: using PROGRESSFUNCTION before libcurl 7.32.0 in download_file
2017-08-08 12:26:22 -04:00
Yuming Zhu
5df1e3e6e6
cli: do not print extra blank line when noprogress passed
2017-08-08 12:26:22 -04:00
Yuming Zhu
26bd419054
cli: add noprogress argument for download_file in download_build
2017-08-08 12:26:22 -04:00
Yuming Zhu
2d7ceb2992
cli: add c.close() in download_file and move inner function outside
2017-08-08 12:26:22 -04:00
Yuming Zhu
1958a2a314
cli: remove unnecessary continue in download_task
2017-08-08 12:26:22 -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
John Florian
3e2a737e32
New - custom lorax templates for livemedia tasks
...
This adds two new options (--lorax_url and --lorax_dir) to the Koji CLI
so that it's now possible to use custom lorax templates for livemedia
tasks. The custom templates must come from a supported, allowed SCM,
which makes it trivial to inject the whole directory structure of
template files that lorax expects.
In addition to the CLI changes, kojid's LiveMediaTask handler recognizes
these new options and acts accordingly by extending the
livemedia-creator call via its --lorax-templates option.
2017-08-08 11:44:18 -04:00
Ville Skyttä
10bc242c32
Spelling fixes
2017-07-30 12:49:19 +03:00
Tomas Kopecek
6c68b6ab34
CLI block-group command
...
Relates: https://pagure.io/koji/issue/462
2017-07-25 12:14:26 -04:00
Patrick Uiterwijk
21523a57fd
Fix the poll_interval access in handle_resubmit
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-25 10:45:13 -04:00
Patrick Uiterwijk
b511c6599f
Fix the call to _printTaskInfo in handle_resubmit
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-25 10:45:13 -04:00
Yanko Kaneti
addf7cdd01
download-build: suppress output on quiet and add --noprogress
2017-07-11 10:29:26 -04: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
Mike McLean
33566487d1
fix timeout logic in wait()
2017-06-21 08:39:08 -04:00
Mike McLean
81eb30d5ce
restart-hosts: new options and a timeout
2017-06-21 08:39:08 -04:00
Mike McLean
a5bd3b4495
restart-hosts: check for existing tasks first
2017-06-21 08:39:08 -04:00
Tomas Kopecek
519f792ce2
strip .py from module name
2017-06-16 10:55:08 +02:00
Mike McLean
94f116e898
watch-logs: fix py3 encoding issues
2017-06-16 10:16:07 +02:00
Mike McLean
3c548a9923
fix command options that default to global option value
2017-06-16 10:16:07 +02:00
Mike McLean
bd7c52afbf
avoid sorting dictionary fields
...
python3 is pickier about this than python2
2017-06-16 10:16:07 +02:00
Mike McLean
ada23043ee
cli makefile: make sure we create dir before installing to it
2017-06-16 10:16:07 +02:00
Tomas Kopecek
03ec96803a
Fix blank lines (pep8)
...
split_cli.py caused some missing or additional empty lines. Fixed
according to pep8.
2017-06-13 15:44:38 +02:00
Tomas Kopecek
df6aadec59
remove CLI plugins config options
2017-06-13 14:53:39 +02:00
Tomas Kopecek
1c0d5011c7
Makefile updates
2017-06-13 11:42:04 +02:00
Tomas Kopecek
ac3f76a4de
refactor activate_session
2017-06-13 11:42:04 +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
9dcc0a4032
spec update
2017-06-01 09:39:25 +02: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