make check-local errors:
[danielhb@arthas kimchi]$ make check-local
contrib/check_i18n.py ./i18n.py
Checking for invalid i18n string...
Checking for invalid i18n string successfully
find . -path './.git' -prune -type f -o \
-name '*.py' -o -name '*.py.in' | xargs /bin/pyflakes | \
while read LINE; do echo "$LINE"; false; done
./vmtemplate.py:32: 'InvalidOperation' imported but unused
Makefile:1035: recipe for target 'check-local' failed
make: *** [check-local] Error 1
[danielhb@arthas kimchi]$
On 12/23/2015 01:12 PM, Ramon Medeiros wrote:
This patch changes how templates are created. Instead of specifying
cdrom and
disks, add them into a single field and kimchi will identify it.
Points to take noteL
1) UI support. Another task will need to change UI for a single entry.
2) Old support for cdrom and disk installation are still available. All tests
are running under tests/test*.
Ramon Medeiros (4):
Create new field to create VM
Method to retrieve stored templates at object store
Fix checking duplicate template before creating it
Identify installation media while creating template
API.json | 5 +++
model/templates.py | 9 ++--
utils.py | 28 ++++++++++++
vmtemplate.py | 122 +++++++++++++++++++++++++++++++++++++++++++++++------
4 files changed, 146 insertions(+), 18 deletions(-)