Marcus Schäfer
400468a455
Cleanup use of temporary directories
...
All mkdtemp created directories are created with the 'kiwi_'
prefix. In addition all code parts which leaves tmpdirs in
the system after kiwi is done were fixed
2016-05-04 11:05:03 +02:00
Marcus Schäfer
a9d0b607d7
Refactor custom_args handling for FileSystem class
...
Any FileSystem class can receive a custom_args dictionary
which by defaults ensures the presence of an empty list
for create_options and mount_options. The create_options
are used in the subclasses when the filesystem is being
created and the mount_options are passed to the MountManager
when the filesystem is mounted for e.g data_sync
2016-04-26 11:02:28 +02:00
Marcus Schäfer
e6cc5bfa09
Move from nose to pytest
...
nose is no longer maintained, thus we have to move to another
testing system. This commit updates the tox setup and all tests
to use pytest instead of nose.
2016-03-14 12:23:14 +01:00
Marcus Schäfer
80bb7c5e78
Consolidate all rsync calls into DataSync class
2016-03-07 12:11:15 +01:00
Thomas Schraitle
45bc5a03a7
Refactor into subpackage to fix #23
...
Codecoverage are 100% and tests are green
Changes:
* Refactor archive_*.py -> archive subpackage
* Refactor partitioner_*.py -> partitioner subpackage
* Refactor package_manager_*.py -> package_manager/ subpackage
* Refactor bootloader_config*.py -> bootloader/config/ subpackage
* Refactor bootloader_template*.py -> bootloader/template/ subpackage
* Refactor bootloader_install*.py -> bootloader/install/ subpackage
* Refactor repository*.py -> repository/ subpackage
* Refactor filesystem*.py -> filesystem/ subpackage
* Refactor dist_*.py -> dist/dformat subpackage
The name `dformat` as package name is needed to avoid any name
conflicts with the built-in function `format`.
* Refactor volume_manager*.py -> volume_manager/ subpackage
* Refactor boot_image*.py -> boot/image/ subpackage
2016-02-27 10:31:31 +01:00
Marcus Schäfer
04764a42df
Refactor use of mount/umount calls
...
Provide a MountManager class and handle all mount/umount
calls in instances of MountManager
2016-02-26 16:50:31 +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
febd69ec0f
Refactor variable name for root directory
...
If it is clear the source directory is the root directory of
the image the variable should be named root_dir not source_dir
2016-01-19 11:15:18 +01:00
Marcus Schäfer
ecfa3136b5
pep8 fixes
2016-01-12 23:08:51 +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