Commit graph

460 commits

Author SHA1 Message Date
Jay Greguske
53c379b6f8 initial hub implementation for signed-repos 2017-03-30 09:37:56 -04:00
Jay Greguske
0a06ec1318 implement CLI for signed-repos 2017-03-30 09:37:56 -04:00
Mike McLean
d1ab4ed287 refactor 2017-03-30 09:25:51 -04:00
Tomas Kopecek
182c8feb29 handle unknown exception in main 2017-03-30 09:25:51 -04:00
Tomas Kopecek
f023a7d636 remove unnecessary code 2017-03-30 09:25:51 -04:00
Tomas Kopecek
08beabe847 use print function everywhere 2017-03-30 09:25:51 -04:00
Tomas Kopecek
7b8fcd989f permissions 2017-03-30 09:25:51 -04:00
Tomas Kopecek
437afbb720 CLI for save_failed_tree 2017-03-30 09:25:51 -04:00
Tomas Kopecek
24ed63a74d extend CLI multi-volume support 2017-03-28 11:46:47 +02:00
Tomas Kopecek
4ef0bc2051 use only relative paths + volumes in downloadTaskOutput 2017-03-28 11:46:47 +02:00
Mike McLean
51148408cc cli: clarify some "mismatch" warnings 2017-03-28 02:09:42 -04:00
Mike McLean
b9400055ea cli: check # of args in handle_set_build_volume() 2017-03-28 02:08:39 -04:00
Mike McLean
2c9264e726 remove defaults from --debug and --debug-xmlrpc so configuration can supply 2017-03-20 15:34:12 -04:00
Tomas Kopecek
df1996d79e fix return value for watch_tasks 2017-03-20 15:19:11 -04:00
Tomas Kopecek
badf0e3be3 unify KeyboardInterrupt behaviour for watch commands 2017-03-20 15:19:11 -04:00
Yuming Zhu
75d07f6d01 make cli and hub to support remove-extra for edit-tag 2017-03-16 16:48:13 -04:00
Mike McLean
f9a30b90e6 fix traceback uploading empty file 2017-03-13 18:43:07 -04:00
Yuming Zhu
6641eb0510 cli: move list-permissions to info category 2017-03-07 10:22:41 -05:00
Tomas Kopecek
cc9fff9840 remove has_key (not working in python3) 2017-03-07 08:15:20 -05:00
Tomas Kopecek
1494301465 use new exception syntax 2017-03-02 10:52:30 -05:00
Tomas Kopecek
20f5c4a83f formatting typo 2017-03-01 11:37:53 +01:00
Mike McLean
53875831df a couple more prints 2017-02-28 11:06:09 -05:00
Tomas Kopecek
c143d0b88f print statement -> print function 2017-02-28 10:55:56 -05:00
Mike McLean
868212af98 also use multicall for setting the package list 2017-02-22 16:55:39 -05:00
Tomas Kopecek
1857271ea8 use multicall for clone tag 2017-02-22 16:33:42 -05:00
Tomas Kopecek
f609d8bc1f Make --can-fail option working for make-image
There are two issues:
1) --can-fail option was ignored when passing to hub
2) when using config, can_fail was ignored as internal variable has
different name
2017-02-15 12:54:37 -05:00
Tomas Kopecek
43fb086f97 Fix options.force in import_comps
Change from opts.force to opts['force'] was introduced in
434bfb86f4, but this one is not working
now.
2017-02-14 11:24:56 -05:00
Tomas Kopecek
919d8b23fb make optional_arches optional 2017-01-30 11:20:46 +01:00
Tomas Kopecek
5cd8ce8bae Don't fail on unimported krbV 2017-01-19 17:10:37 -05:00
Patrick Uiterwijk
253161f229 Allow principal and keytab in cli config
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-01-17 14:12:19 -05:00
Tomas Kopecek
43859db56f fix default value for --can-fail 2017-01-12 14:28:22 -05:00
Tomas Kopecek
ec2b8370f0 CLI options for failing arches 2017-01-12 14:28:22 -05:00
Tomas Kopecek
6a72638fd3 unify CLI parsing of multiple architectures 2017-01-12 10:20:50 -05:00
Mike McLean
66a80fef1a fix poll_interval ref in list-history cmd 2017-01-12 10:00:46 -05:00
Tomas Kopecek
347eaf5305 Extended clone-tag
Added possibility to clone tag from specific time (event) and limit type
of information which will be cloned.
2016-12-19 13:22:07 +01:00
Yuming Zhu
e083ddf058 cli: [rpminfo]rename "Payload" to "SIGMD5" 2016-12-08 09:39:41 -05:00
Tomas Kopecek
e9625f8240 missing check on number of arguments 2016-11-23 12:52:01 -05:00
Patrick Uiterwijk
480cdfb540 Implement GSSAPI login
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-11-22 16:45:31 -05:00
Mike McLean
3d16485c6f grab_session_options function 2016-11-22 16:41:31 -05:00
Mike McLean
7b33327030 avoid tickling race condition with common keep alive timeout setting
The default KeepAliveTimeout in Apache httpd 2.4 is 5 seconds. Sleeping for that
same time and then resuming calls can tickle a race condition.

The previous commit /should/ catch that now, but there's no sense hitting that
error so often.

See also: https://github.com/mikem23/keepalive-race
2016-11-22 16:41:31 -05:00
Mike McLean
d85fc2bed0 always pass serverca 2016-11-22 16:41:31 -05:00
Mike McLean
c3556dee43 add config for use_old_ssl. make new session on errors 2016-11-22 16:41:31 -05:00
Yuming Zhu
00fbfe274a ut: cli - test_maven_build 2016-11-21 10:52:32 -05:00
Mike McLean
3828b8a26f fix typo in assign-task command 2016-10-27 12:15:52 -04:00
Yuming Zhu
2aec75f476 ut: cli - test_chain_build
cli.handle_chain_build: remove unused '--noprogress'
                            add '--quiet'
2016-10-26 13:41:12 -04:00
Yuming Zhu
56e955819b ut: cli - test_running_in_bg 2016-10-26 13:41:12 -04:00
Yuming Zhu
ebf4e88d7d ut: cli - test_build 2016-10-26 13:41:12 -04:00
Yuming Zhu
dcb2d2336e ut: cli - test_upload_progress_callback 2016-10-26 13:41:12 -04:00
Mike McLean
b4be256abd no coverage for unreached code 2016-10-25 17:16:12 -04:00
Mike McLean
a1c8808544 ImportErrors are uncovered 2016-10-25 17:16:12 -04:00