History | View | Annotate | Download (14.4 kB)
Remove all referencies to words like ~okeanos
In the documentation and the printed messages, remove all referencesto ~okeanos, pithos or cyclades.
Change the metadata file format to json
When registring an image, use the information returned by thekamaki register method to construct the metadata file.
When dumping the image to the local filesystem, store the imageproperties and the disk-format info in the metadata file.
Add --cloud option in snf-image-creator
This options can be used to get the authentication URL and tokenfrom a saved cloud section in the kamaki configuration file
Comply with kamaki 0.9
Code Cleanup
Move mount/umount from image to os_type module
Share the md5sum and meta file if image is public
If the image gets registered as public allow anyone to read themetadata and the md5sum file.
Check if remote files exist before uploading
Before uploading to pithos, check if any remote file getsoverwritten.
Fix an some error messages in snf-image-creator
Don't execute syspreps if the fs is not mounted rw
Check if the filesystem is mounted read-write before you executethe do_sysprep function
Rename DiskDevice class to Image
Rename DiskDevice class to Image and move it to a seperate module.Also, don't let the user access the os_type/* modules directly. InImage class create the `os' member variable that will host anappropriate instance of one of the OSBase classes.
Clean-up the code using flake8
Don't check the token if -t is not defined
Fix syntax errors
Support private images
Support images that can only be deployed by the user that registersthe image to cyclades
Fix minor typos
Use only the token to authenticate to synnefo
You don't need the account name. You can fetch it from astakos usingthe authentication token.
Allow users to specify tmp dir for large files
The cow file when creating images or the temporary image file whenbundling the host system may be large. Allow the user to overwritethe directory under which those files get created.
Minor fixes in output messages
Revert "Monkey patch the source to work with gevent"
This reverts commit 883e57b07a5cfcb2d0462d67399bfa57bacba846.Drop the greenlet support.
Monkey patch the source to work with gevent
Needed by new kamaki, otherwise it throughs an exception at the end.
Handle keaboard interrupts and TERM signals.
Mount the media ro if --print-sysprep is specified
Fix various typos, add .gitignore file
Fix various typos in messages, add .gitignore file forautomatically produced intermediate files.
Remove the image size from the image metadata
Remove an unused import in main.py
Fix pep8 errors
Fixed many `E127 continuation line over-indented for visual indent'errors
Add get_sysprep_by_name method in os_type classes
This method returns a sysprep object with a given name. Now,(enable,disable)_sysprep work with sysprep objects instead of sysprepnames
Open snapshot in binary mode before uploading
In some circumstances mount the image readonly
If no customization is to be applied the image should be mountedreadonly.
Don't handle kamaki exceptions in kamaki_wrapper
Let the application decide what to do with them. If image-creatorreceives an error from kamaki it will terminate. But this may not bethe proper thing to do for an interactive application likeimage-creator-dialog
Fix a bug introduced in 4e58b51b
The error function main.py used for outputing errors has been removedand the code was not updated to use the error method of SimpleOutputoutput class.Also did a minor cleanup: git_os_class function was renamed to os_cls
Create a new output subpackage
Fix copyright date in main.py
Check if stdout is a tty
If not then don't output progressbars and colors
Unify output by creating a seperated output module
All image-creator components now output messages using an instanceof one of the output classes.
Remove get_metadata() from os_type classes
The metadata are collected in the constructor and are saved in themeta variable. This way they can be accessed and altered by thesysprep methods. There are cases where some metadata are not validand need to be updated after a sysprep action is performed. For...
Add option for passing user-defined image metadata
The metadata passed by the user will overwrite any automaticallycollected metadata with the same key.
Remove the swap partition when shrinking
If the swap partition is the last partition in the media, then it canbe safely removed. The image-creator will save enough info in theSWAP metadata to recreate it.
Move get_os_class from image_creator to os_type
This is needed because otherwise setup.py fails on some systems. Alsodo some more cleanup.
Cleanup code in disk module
Add new line in metadata and md5sum string
Minor cleanup (typos, comments, etc)
Switch to ansicolor for coloring & fix pep8 errors
Use progress for progress bar & implement register
Add progress bar in pithos upload & compute md5sum
Seperate snapshoting from get_device in Disk class
Fix image upload
Also rearrange input options
Make -u and -r input options require an argument
Add options for enabling/disabling sysprep tasks
Also merge data_cleanup tasks with syspreps and did a major cleanup
Add options for printing sysprep and data cleanup
Add --print-data-cleanup and --print sysprep input options. If enabledthe program will output what data cleanup and syspep operations willand won't run a a selected input media
Add silent mode option
All printing had to be reordered and now it is done from a central point.
Capitalize all image metadata keys
Fix cli options help messages
Move image_extract method into DiskDevice
Fix linux sysprep_acpid & remove output indents
Beautify program's output.
Fix license, copyright and pep8 infractions
Create an exception based error reporting system
All modules should use image_creator.FatalError exception to reportfatal errors.
Add sysprep method in os_type classes.
This is used to prepare the media for image extraction. The maindifference from data_cleanup is that the tasks performed with thismethod are mandatory in order to make the image workable.
Added the following sysprep methods for linux:...
Remove python-losetup dependency
The package is buggy and we can use pbs to do the same thing.
Add options for image upload/register with kamaki
Not workable. Kamaki is not imported yet.
Add input options and populate image metadata
Hooray! This is the first release that actually works!
Document basic classes and methods
Major code revision
Fix code for cleanup of image data
Add OS specific classes
Use libguestfs to access the image
Initial commit