Pybackpack 0.5.3 - Amidst The Storm
By Andrew Price, 2007-12-09 16:57:04 in General.
Over the last week I've pushed out two versions of pybackpack. The first (0.5.2) included some background changes to encapsulate backup set data in two classes: BackupSet and BackupSets. This makes it easier to write extensions such as Seth Vidal's nautilus extension. I've updated his script and sent him the patch. The nifty highlight:
- total_files = backup['filelist_inc'] + real_files
- total_files.sort()
-
- flist = []
- for file in total_files:
- flist.append((file, True))
- extrakeys = {'default_dest':backup['default_dest'],
- 'removable':backup['removable']}
-
- rdiff_interface.WriteSet(backup['name'],
- backup['desc'],
- flist,
- True, extrakeys)
-
-
+ backup.files_include.extend(real_files)
+ backup.write()
Yay.
Oh, and 0.5.3 was a hurried bug-fix release because I'm an idiot.