~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image:logic-refine

Last commit made on 2017-11-09
Get this branch:
git clone -b logic-refine https://git.launchpad.net/~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image
Only Gary.Wang can upload to this branch. If you are Gary.Wang please log in for upload directions.

Branch merges

Branch information

Recent commits

c1e2196... by Gary.Wang on 2017-11-09

Don't double log error and only throw an exception.

7da59e8... by Gary.Wang on 2017-11-08

Fix wrong member variable name and add one more test case for NoneType
checking(extra_snaps).

581b692... by Gary.Wang on 2017-11-08

Move CustomBuilder into ImageAssembler and explicitly return non-zero if an error occurs.

a668942... by Gary.Wang on 2017-11-08

Fix failing unit tests and flake8 warnings, also a few test cases tweaks
for a better code coverage.

a194474... by Gary.Wang on 2017-11-07

Address some issues per the review comments.

0bb0865... by Gary.Wang on 2017-11-07

Implement ImageAssembler to move all image creation related logic into it.

Move parse_spec and prepare_image out of CustomBuilder and implement the
related logic in the new implemented Module(ImageAssembler).
We catch the ImageSpecError exception in main once something flaky
occurs during the specs parsing. Also rename classic_build to build_classic_image.

1fc7ea7... by Gary.Wang on 2017-11-07

Accessing the index via enumerate and leave loop early.

ed4b054... by Gary.Wang on 2017-11-06

Don't throw an exception when extra-snaps is empty.

b5e77b1... by Gary.Wang on 2017-11-06

Move the parse_image_specs to main.

c56f237... by Gary.Wang on 2017-11-06

Do not move the same image file within the same folder.