Mike McLean
9103efe6ea
fix up cli buildinfo
2016-09-28 18:20:09 -04:00
Mike McLean
f98c102722
fix up archiveinfo page
2016-09-28 18:20:09 -04:00
Mike McLean
7ee28e0e14
fix cli display for generic archives
2016-09-28 18:20:09 -04:00
Ian McLeod
bb07c4b9cb
Slight improvement to new-chroot to make the cli change less likely to confuse older builders
2016-09-28 18:02:59 -04:00
Ian McLeod
0273b77682
A stab at --new-chroot support for rhe runroot plugin
2016-09-28 18:02:59 -04:00
Xibo Ning
a1b5f3ce67
Expose assignTask via CLI
2016-09-28 14:52:43 -04:00
Xibo Ning
1bcc8c6433
have koji to gracefully hanle noneexistent tasks
2016-09-21 09:57:57 -04:00
Jakub Dorňák
ff52d4e19e
cli: fixed download-logs with nvr
2016-08-29 14:58:33 -04:00
Mike McLean
4250d9a67a
make yum.comps a soft dep
...
Merges #133
2016-08-26 09:47:09 -04:00
Ian McLeod
5b80c0777f
show hyperv support in CLI help
2016-06-08 09:11:52 -05:00
Mike McLean
c9f78235f5
cli support for querying by cg
2016-05-18 18:29:58 -04:00
Mike McLean
175f047288
s/LiveMEDIA/LiveMedia
2016-05-16 14:02:08 -04:00
Mike McLean
1112db1ee1
remove stray colon in option display
2016-05-16 14:02:07 -04:00
Mike McLean
b561e2a77d
inject install tree url for livemedia spins
2016-05-16 14:02:07 -04:00
Mike McLean
918f081ae5
parse task params for createLiveMedia
2016-05-16 14:02:07 -04:00
Mike McLean
c1d309e78c
fixing up cli task display
2016-05-16 14:02:07 -04:00
Mike McLean
0a4eabf9ce
fix arch splitting
2016-05-16 14:02:07 -04:00
Mike McLean
71bee265e5
allow multiple arches on spin-livemedia command line
2016-05-16 14:02:07 -04:00
Mike McLean
7dcc65ee29
refactor lmc args. only making live isos for now
2016-05-16 14:02:06 -04:00
Mike McLean
08d17d953d
make sure livemedia options are passed through to task
2016-05-16 14:02:06 -04:00
Mike McLean
cbd6ca9ced
misc fixes
2016-05-16 14:02:06 -04:00
Adam Miller
44f02cd254
- fix whitespace issues with tab characters vs spaces
...
- fix invalid variable names in livemediacreator handler
- add parser for ostree pxe2live to cli
2016-05-16 14:02:05 -04:00
Jon Disnard
622e22d22f
Optparsing for LMC
...
Initial LMC optparsing post for koji cli, and probably needs improvement as
backside arguments are fleshed out. Code taken iand modified slightly
from handle_spin_appliance() by Jay Greguski.
Signed-off-by: Jon Disnard <jdisnard@redhat.com>
2016-05-16 14:02:05 -04:00
Dennis Gilmore
e9c8891c4c
deprecate spin-livecd with spin-livemedia
...
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-13 22:02:50 -05:00
Mike McLean
32160aa47e
show source in buildinfo display, if available
2016-05-11 17:00:21 -04:00
Mike McLean
b0cdd312ec
add krb_rdns option. see https://fedorahosted.org/koji/ticket/328
2016-05-11 16:58:41 -04:00
Xibo Ning
57ad5fee82
structural help, categorize commands into groups
2016-04-28 09:33:30 -04:00
Mike McLean
0f5c155784
use correct epoch when recycling nvr
2016-04-26 13:32:52 -04:00
Mike McLean
e3c23f0bed
reworking cli import a bit. support importing over a failed/canceled nvr
2016-04-26 13:32:51 -04:00
Mike McLean
498714a2cc
honor --test in import-cg command
2016-04-21 11:59:34 -04:00
Mike McLean
5bcfe7034a
clean up the tar-gz patch a bit
...
remove the temp hardlink
don't really need format arg
hook tar-gz format in a bit
2016-04-11 12:05:03 -04:00
Tomas Mlcoch
60cf1f86c9
Fix wait-repo to not wait a minute if --timeout=0 is specified
...
Wait-repo had time.sleep(60) call before a check for timeout
expiration was done. This patch moves the check before
the sleep() call.
Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
2016-04-05 15:39:01 +02:00
Fabian Deutsch
4729adc5f9
Add support for liveimg-squashfs
...
This patch adds support to build squashfs images which are compatible to
anaconda's liveimg directive and dracuts liveimg feature.
The feature is pretty simple, as it just reuses the raw diskimage, and
strips the disklabel, to retrieve the plain filesystem image.
Two open issues:
- Stripping the disk label is a pretty hack
- Database schema upgrade is missing
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
2016-03-30 12:18:56 -04:00
Mike McLean
f639899d2f
upload-blocksize doesn't need to be a cli opt
2016-03-24 15:48:21 -04:00
Mike McLean
acbe00ff1b
Merge branch 'upload_blocksize'
...
Conflicted with the recent profiles changes. Option defaults now live in koji/__init__.py
2016-03-24 15:06:41 -04:00
Xibo Ning
2f507ec69a
make the upload block size configurable
2016-03-24 14:52:27 -04:00
Mike McLean
88e7d0c1e1
use urlgrab instead of urlopen in download-build
2016-03-21 17:15:05 -04:00
Tomas Mlcoch
3d205c48c6
Fix handling of --arch param when a target is specified
...
Without this patch mock-config ignores --arch option
and generates invalid mock config files which contain
incorrect statements like:
config_optstarget_arch? = None config_optsyum.conf? = '..SNIP..baseurl=URL_WITH_ARCH_NONE..SNIP..'
Resolves:
* https://fedorahosted.org/koji/ticket/301
* https://bugzilla.redhat.com/show_bug.cgi?id=1248368
* https://bugzilla.redhat.com/show_bug.cgi?id=1161610
Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
2016-03-21 15:56:34 -04:00
Tomas Mlcoch
d20e62b76e
Move config processing from CLI to koji.read_config()
...
This patch is dmach's patch [1] refactored according to mikem's comments [2].
[1] https://lists.fedoraproject.org/pipermail/buildsys/2015-August/004858.html
[2] https://lists.fedoraproject.org/pipermail/buildsys/2015-October/004900.html
Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
2016-03-21 15:45:26 -04:00
Mike Bonnet
7aef1232d8
remove use of dict comprehensions to retain python 2.6 support
...
Dict comprehensions (PEP-274) were added to python 2.7+. The patch that added the --mine
option to list-tasks made use of a dict comprehension, which broke python 2.6 support.
This patch restores the older dict() + list comprehension approach, which restores
support for python 2.6.
2016-03-18 16:47:33 -04:00
Zbigniew Jędrzejewski-Szmek
6e80ecfe16
Add watch-tasks alias
...
list-tasks wants a matching watch-tasks counterpart.
2016-03-11 15:21:56 -05:00
Zbigniew Jędrzejewski-Szmek
3b8861c78b
Implement watch-task --mine, --user, etc
...
This is useful to e.g. wait on tasks you have fired off without
having to explicitly list their ids. For simplicity,
watch-tasks accepts the same options as list-tasks.
2016-03-11 15:21:56 -05:00
Zbigniew Jędrzejewski-Szmek
79f2fb565d
Split out task list retrieval
2016-03-11 14:51:23 -05:00
Mike McLean
736eb068fd
add --krbservice cli opt
2016-02-16 12:17:41 -05:00
Pavol Babincak
401e232508
CLI: fix download-task's session typo
...
Koji CLI calls on like this:
koji -d download-task $TASK_ID
which involve getTaskChildren() XMLRPC call fail:
...
File "/usr/bin/koji", line 6460, in anon_handle_download_task
base_task = session.getTaskInfo(base_task_id)
NameError: global name 'session' is not defined
2016-02-04 11:41:02 -05:00
Mike McLean
709558eaa9
cli: if given an rpm name without --rpm, download the containing build
2016-01-18 16:34:15 -05:00
Mike McLean
393dba2fa9
cli: handle rpms in download-build
2016-01-18 16:34:09 -05:00
Mike McLean
4365699e84
add-pkg: use multicall and ignore existing packages
2016-01-18 16:22:59 -05:00
Mike McLean
a6c218df94
avoid traceback when cli fails to parse task parameters
...
also, fix parameter parsing for createLiveCD and createAppliance
2016-01-11 14:30:55 -05:00
Till Maas
ffcf1a30eb
Remove dead client CA code
...
The client CA is only needed to for authentication on the server side,
not for authentication on the client side. Therefore remove it from all
client login code.
2015-12-10 18:51:10 -05:00