Tomas Kopecek
f468aeb19a
extend listBuilds for search by source
...
Fixes: https://pagure.io/koji/issue/701
2018-03-06 12:26:43 -05:00
Franz Chih-Ping Hsieh
fce85a67c0
correct dict key check mechanism
...
Fixes : #742
https://pagure.io/koji/issue/742
2018-02-26 15:19:59 -05:00
Tomas Kopecek
7e643ce695
Don't allow combination of --mine and task-ids
2018-02-20 10:55:36 -05:00
Mike McLean
6b09de74d3
make default user value consistent
2018-02-19 17:10:34 -05:00
Tomas Kopecek
a954bfb84b
Fix values for non-existent options
2018-02-19 17:10:34 -05:00
Franz Chih-Ping Hsieh
b8bfc837fe
add coverage exclude check
2017-12-19 09:59:35 -05:00
Franz Chih-Ping Hsieh
a2f0de1a5a
fix issues found in handle_dist_repo()
...
Fixes : #758
https://pagure.io/koji/issue/758
2017-12-19 09:52:45 -05:00
Tomas Kopecek
c8242ed75f
Display license info in CLI's rpminfo and Web UI
...
Fixes: https://pagure.io/koji/issue/683
2017-11-30 17:39:01 -05:00
Franz Chih-Ping Hsieh
8da5f2bc2f
Use task id as key to sort
...
related: #713
https://pagure.io/koji/issue/713
2017-11-30 12:20:33 -05:00
Franz Chih-Ping Hsieh
5da7c18f1f
add argument detection to prevent array out of index error.
...
Fixes : #706
https://pagure.io/koji/issue/706
2017-11-29 04:05:50 +00:00
Yuming Zhu
d1f0ed41ac
set optional-arches to list
...
fixes #697
2017-11-22 14:27:15 -05:00
Mike McLean
f81c369724
avoid reporting incorrect info in is_success()
2017-11-22 00:24:24 -05:00
Yuming Zhu
73ebc0c98f
cli: make return code of watch_task to always ignore sub-task failure
...
fixes : #696
2017-11-22 00:24:24 -05:00
Mike McLean
6136c51f85
cli: use strict with getTag call when appropriate
2017-11-22 00:16:26 -05:00
Franz Chih-Ping Hsieh
699ba58e44
Fixes : #682
...
https://pagure.io/koji/issue/682
correct wrong mapping in print format
2017-11-08 08:06:13 -05: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
Tomas Kopecek
fc81129563
fix unreachable code
2017-10-30 16:53:59 -04:00
Tomas Kopecek
a12925fb72
remove unused calls
2017-10-30 16:48:59 -04:00
Mike McLean
d8fb302780
add krb_canon_host example in koji.conf
2017-10-27 15:32:25 -04:00
Tomas Kopecek
d756d8c5bd
remove python3 typo
2017-10-16 10:03:42 -04:00
Tomas Kopecek
bf0552e6de
use contextlib wrapper for older python-requests
2017-10-16 10:03:42 -04:00
Tomas Kopecek
7e2cb6b156
replace pycurl with requests
...
Related: https://pagure.io/koji/issue/600
2017-10-16 10:03:42 -04:00
Tomas Kopecek
77339cc7a1
unit test
2017-10-11 01:05:41 -04:00
Tomas Kopecek
c7fbf4ec81
move _list_task to client lib
2017-10-11 01:05:41 -04:00
Tomas Kopecek
db37cec5ae
watch-logs --mine --follow
...
Related: https://pagure.io/koji/issue/621
2017-10-11 01:05:41 -04: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
Tomas Kopecek
f22dcaf563
override build_arch_can_fail settings
...
Fixes: https://pagure.io/koji/issue/413
2017-09-18 16:56:22 -04:00
Mike McLean
ea89245352
allow profiles to request a specific python version
2017-09-18 16:26:55 -04:00
Mike McLean
3233dc760f
don't assume runas option in activate_session
2017-09-14 22:59:11 -04:00
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