[Libguestfs] [PATCH v5 0/2] Improve OVA manifest parsing

Tomáš Golembiovský tgolembi at redhat.com
Fri Oct 7 12:12:20 UTC 2016


This series fixes and enhances parsing of the OVA manifest file.
The changes are:

- Added mandatory space to the regexp
- Process all lines in the file, not just one
- Warn on improperly formated lines
- Support SHA256 hashes

v4 -> v5:
- fix tests
- change one test to include the SHA256 checksum

Tomáš Golembiovský (2):
  v2v: ova: fix checking of the manifest file
  v2v: ova: support SHA256 hashes in manifest

 test-data/guestfs-hashsums.sh    | 13 +++++++++++++
 v2v/input_ova.ml                 | 18 ++++++++++++------
 v2v/test-v2v-i-ova-formats.sh    |  2 +-
 v2v/test-v2v-i-ova-gz.sh         |  2 +-
 v2v/test-v2v-i-ova-subfolders.sh |  2 +-
 v2v/test-v2v-i-ova-two-disks.sh  |  4 ++--
 v2v/test-v2v-i-ova.sh            |  4 ++--
 7 files changed, 32 insertions(+), 13 deletions(-)

-- 
2.10.0




More information about the Libguestfs mailing list