Commit Graph

21 Commits

Author SHA1 Message Date
Marcus Schäfer
aa296716c8
Use docopt's default value feature for cache dir 2016-10-25 21:59:51 +02:00
Marcus Schäfer
5b755e7b92 Added global option --shared-cache-dir
The option allows to specify an alternative shared host_to_image
cache directory. The default location is /var/cache/kiwi.
Fixes #92
2016-10-25 17:51:57 +02:00
Marcus Schäfer
d85060d73c
Explicitly bool check for the service name option
From docopt we expect a True/False value for the selected
service name positional parameter. Thus the code should
also make it clear what we expect
2016-10-18 17:20:00 +02:00
Marcus Schäfer
c9c71f4dc5 Added kiwi image resize command
The image resize command allows to resize a disk image
and its optional disk format to a new disk geometry
2016-10-18 10:13:41 +02:00
Marcus Schäfer
319fb9e6e4
Adapt to common python style
Private methods should start with _f() not __f()
2016-06-15 16:27:45 +02:00
Bo Maryniuk
168b0f92dc Add print function for Python 2 2016-06-07 16:03:46 +02:00
Marcus Schäfer
0ebe777056 Don't search for kiwicompat in fixed absolute path
Allow alternative locations from search PATH
2016-05-31 15:49:31 +02:00
Marcus Schäfer
75458c9e12
Fixed completion generator
In addition cleanup the main docopt definition
2016-05-26 00:33:13 +02:00
Marcus Schäfer
cfa7714f31
Exit code for --version call should be zero 2016-05-12 21:10:15 +02:00
Marcus Schäfer
b2f8f2a40e
Fixup usage messages 2016-04-29 21:16:49 +02:00
Marcus Schäfer
e0f2418984 Add docstrings for Cli class
References Issue #49
2016-04-08 16:10:14 +02:00
Marcus Schäfer
e68d61dc6b
Make color output an option
By default no color output is used
2016-04-01 22:50:00 +02:00
Marcus Schäfer
1ab40fa33a
Continue Refactor into subpackage
Move task classes into tasks namespace
2016-03-08 16:21:00 +01:00
Marcus Schäfer
40e6308aa9 Port application from python 2.7 to 3.4
For new applications like this kiwi version and its use cases
it is better to base it on a more recent python version
2016-02-17 22:38:38 +01:00
Marcus Schäfer
a1aab40cae
Added git like command completion
Provide a 'Did you mean' log message for unclear task names
2016-02-09 21:12:03 +01:00
Marcus Schäfer
f2ff481bf2
Added support for kiwi --compat
The --compat call will trigger the call of the kiwicompat
tool written to support legacy kiwi commandlines. An example
could look like the following call:

    sudo kiwi --compat -- --build /my/description --type vmx -d /my/dest

Please be aware the -- is required to tell docopt to treat all
options as parameters
2016-02-04 15:06:56 +01:00
Marcus Schäfer
9c60b1f128
Added kiwi result task
Implementing 'kiwi result list' which marshal loads the
serialized result instance from a previous build and shows
the build results
2016-01-15 11:38:08 +01:00
Marcus Schäfer
39aae1e154 Better error message for call with unknown command
If kiwi is called with an unknown command an error message
showing which commands actually exists should be shown
2015-12-21 12:18:53 +01:00
Thomas Schraitle
f00d4eb727 Use "next generation" string
To distinguish it between old and new KIWI
2015-12-15 14:01:07 +01:00
Thomas Schraitle
686e6d1bba __VERSION__ -> __version__ 2015-12-11 16:42:50 +01:00
Marcus Schäfer
09daca60c0
KIWI - appliance builder next generation
a rewrite of the current kiwi from https://github.com/openSUSE/kiwi
2015-12-05 16:17:10 +01:00