Use borg list --glob-archives instead of --prefix, as the latter seems to have been obsoleted. default

Wed, 23 Nov 2022 10:57:57 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Wed, 23 Nov 2022 10:57:57 +0200
changeset 146
e79cc90c7798
parent 145
2e8b9a3caa56
child 147
c42d69c44170

Use borg list --glob-archives instead of --prefix, as the latter seems to have been obsoleted.

borgend/backup.py file | annotate | diff | comparison | revisions
setup.py file | annotate | diff | comparison | revisions
--- a/borgend/backup.py	Mon Feb 07 11:38:54 2022 +0200
+++ b/borgend/backup.py	Wed Nov 23 10:57:57 2022 +0200
@@ -495,7 +495,7 @@
 
         elif op.type==Operation.LIST:
             self.__do_launch(op, self.repository.location, params.common,
-                             [{'prefix': self.archive_prefix}])
+                             [{'glob-archives': self.archive_prefix + '*'}])
         else:
             raise NotImplementedError("Invalid operation '%s'" % str(op.type))
 
--- a/setup.py	Mon Feb 07 11:38:54 2022 +0200
+++ b/setup.py	Wed Nov 23 10:57:57 2022 +0200
@@ -2,7 +2,7 @@
 
 setup(
     name = 'borgend',
-    version = '0.1.0',
+    version = '0.1.1',
     author = 'Tuomo Valkonen',
     author_email = 'tuomov@iki.fi',
     url = 'https://tuomov.iki.fi/software/borgend/',

mercurial