aruhier / virt-backup

Backup your kvm guests managed by libvirt
Other
107 stars 23 forks source link

Handle different definitions versions #22

Closed aruhier closed 4 years ago

aruhier commented 5 years ago

Some changes would need to be done in the definition content, related to the addition of packagers, in order to allow more modularity for them. Adding new options specific to a new packager is not currently really clean.

Some compatibility layers should be added in order to convert, if possible, a definition from a version A to version B. The actual file should not be changed, only the loaded representation of this def.

Edit: pending_info also needs compatibility layer.

aruhier commented 4 years ago

Configuration part fixed in 41598b46d301bdcb463a9a16e748433c0a9df7e6

aruhier commented 4 years ago

Definition fixed in 00995d165e4938c15af6a800ea3301293681a15b

aruhier commented 4 years ago

Pending_info fixed in c8bb805e03099fe776f6eb4aa967426af7dceec1