commit benji for openSUSE:Factory

2020-09-22 Thread root
Hello community,

here is the log from the commit of package benji for openSUSE:Factory checked 
in at 2020-09-22 21:11:08

Comparing /work/SRC/openSUSE:Factory/benji (Old)
 and  /work/SRC/openSUSE:Factory/.benji.new.4249 (New)


Package is "benji"

Tue Sep 22 21:11:08 2020 rev:10 rq:835931 version:0.12.0

Changes:

--- /work/SRC/openSUSE:Factory/benji/benji.changes  2020-09-07 
21:35:54.473396100 +0200
+++ /work/SRC/openSUSE:Factory/.benji.new.4249/benji.changes2020-09-22 
21:11:37.283952489 +0200
@@ -1,0 +2,12 @@
+Mon Sep 21 20:59:41 UTC 2020 - Michael Vetter 
+
+- Update to 0.12.0:
+  * Fix type conversion bug in benji storage-usage command (issue #96)
+
+---
+Mon Sep 21 20:59:21 UTC 2020 - Michael Vetter 
+
+- Update to 0.11.0:
+  * Fix SQL generation for benji storage-usage command (issue #95)
+
+---

Old:

  v0.10.0.tar.gz

New:

  v0.12.0.tar.gz



Other differences:
--
++ benji.spec ++
--- /var/tmp/diff_new_pack.08bHrI/_old  2020-09-22 21:11:38.175953271 +0200
+++ /var/tmp/diff_new_pack.08bHrI/_new  2020-09-22 21:11:38.187953281 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   benji
-Version:0.10.0
+Version:0.12.0
 Release:0
 Summary:Deduplicating block based backup software
 License:LGPL-3.0-only

++ v0.10.0.tar.gz -> v0.12.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/benji-0.10.0/CHANGES.md new/benji-0.12.0/CHANGES.md
--- old/benji-0.10.0/CHANGES.md 2020-09-05 13:36:45.0 +0200
+++ new/benji-0.12.0/CHANGES.md 2020-09-21 13:08:50.0 +0200
@@ -1,3 +1,11 @@
+## 0.12.0, 21.09.2020
+
+* Fix type conversion bug in `benji storage-usage` command (issue #96)
+
+## 0.11.0, 18.09.2020
+
+* Fix SQL generation for `benji storage-usage` command (issue #95)
+
 ## 0.10.0, 05.09.2020
 
 Notable changes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/benji-0.10.0/docs/source/configuration.rst 
new/benji-0.12.0/docs/source/configuration.rst
--- old/benji-0.10.0/docs/source/configuration.rst  2020-09-05 
13:36:45.0 +0200
+++ new/benji-0.12.0/docs/source/configuration.rst  2020-09-21 
13:08:50.0 +0200
@@ -203,7 +203,7 @@
 
 Number of reader threads when reading from a backup source. Also
 affects the internal read queue length. It is highly recommended to
-increase this number to increase this number to get better concurrency
+increase this number to get better concurrency
 and performance.
 
 * name: **simultaneousWrites**
@@ -211,7 +211,7 @@
 * default: ``1``
 
 Number of writer threads when restoring a version. Also affects the internal 
write queue length. It is highly
-recommended to increase this number to increase this number to get better 
concurrency and performance.
+recommended to increase this number to get better concurrency and performance.
 
 I/O Module file
 
@@ -224,15 +224,14 @@
 
 Number of reader threads when reading from a backup source. Also
 affects the internal read queue length. It is highly recommended to
-increase this number to increase this number to get better concurrency
-and performance.
+increase this number to get better concurrency and performance.
 
 * name: **simultaneousWrites**
 * type: integer
 * default: ``1``
 
 Number of writer threads when restoring a version. Also affects the internal 
write queue length. It is highly
-recommended to increase this number to increase this number to get better 
concurrency and performance.
+recommended to increase this number to get better concurrency and performance.
 
 I/O Module rbd
 ~~
@@ -264,7 +263,7 @@
 
 Number of reader threads when reading from a backup source. Also
 affects the internal read queue length. It is highly recommended to
-increase this number to increase this number to get better concurrency
+increase this number to get better concurrency
 and performance.
 
 * name: **simultaneousWrites**
@@ -272,7 +271,7 @@
 * default: ``1``
 
 Number of writer threads when restoring a version. Also affects the internal 
write queue length. It is highly
-recommended to increase this number to increase this number to get better 
concurrency and performance.
+recommended to increase this number to get better concurrency and performance.
 
 * name: **cephConfigFile**
 * type: string
@@ -485,8 +484,8 @@
 from base64 import b64encode
 from Crypto.PublicKey import ECC
 key = ECC.generate(curve='NIST P-384')
-public_key = b64encode(key.public_key().export_key(format='DER', 
compress=True)).decode('ascii'))
-

commit benji for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package benji for openSUSE:Factory checked 
in at 2020-09-07 21:35:36

Comparing /work/SRC/openSUSE:Factory/benji (Old)
 and  /work/SRC/openSUSE:Factory/.benji.new.3399 (New)


Package is "benji"

Mon Sep  7 21:35:36 2020 rev:9 rq:832695 version:0.10.0

Changes:

--- /work/SRC/openSUSE:Factory/benji/benji.changes  2020-07-28 
17:26:52.858009748 +0200
+++ /work/SRC/openSUSE:Factory/.benji.new.3399/benji.changes2020-09-07 
21:35:54.473396100 +0200
@@ -1,0 +2,14 @@
+Mon Sep  7 08:04:41 UTC 2020 - Michael Vetter 
+
+- Update to 0.10.0:
+  * Helm chart changes:
+- Change chart's requirements to use URL based repository references.
+  This should help when deploying Benji via FluxCD's helm-operator (#89)
+- Fix rendering error when specifying a nodeSelector, node
+  affinities or tolerations. (#90)
+- Use API group rbac.authorization.k8s.io/v1 for RBAC related resources
+  * Add new transform module aes_256_gcm_ecc (#86)
+  * Add support for discovering RBD images provisioned by Ceph's CSI
+provisioner to the benji-backup-pvc script (#91)
+
+---

Old:

  v0.9.0.tar.gz

New:

  v0.10.0.tar.gz



Other differences:
--
++ benji.spec ++
--- /var/tmp/diff_new_pack.UYsXrg/_old  2020-09-07 21:35:56.089396848 +0200
+++ /var/tmp/diff_new_pack.UYsXrg/_new  2020-09-07 21:35:56.089396848 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   benji
-Version:0.9.0
+Version:0.10.0
 Release:0
 Summary:Deduplicating block based backup software
 License:LGPL-3.0-only

++ v0.9.0.tar.gz -> v0.10.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/benji-0.9.0/.travis.yml new/benji-0.10.0/.travis.yml
--- old/benji-0.9.0/.travis.yml 2020-07-27 11:20:08.0 +0200
+++ new/benji-0.10.0/.travis.yml2020-09-05 13:36:45.0 +0200
@@ -1,4 +1,4 @@
-dist: xenial
+dist: bionic
 language: python
 
 cache:
@@ -40,7 +40,7 @@
 
 install:
   - travis_retry pip install --upgrade setuptools pip
-  - travis_retry pip install '.[s3,b2,compression,readcache,dev,doc]'
+  - travis_retry pip install '.[s3,b2,compression,dev,doc]'
 
 script:
   - pip freeze
@@ -57,18 +57,28 @@
   include:
 - stage: test
   install:
-- travis_retry pip install --upgrade setuptools pip
+- travis_retry pip install --upgrade 'setuptools>=50.2.0' pip
   script:
 - SKIP_DOCKER_PUSH=1 DOCKER_BUILDKIT=0 VERSION_VARIANT=miniver 
DOCKERFILE_PATH=images/benji/Dockerfile maint-scripts/docker-build
 - SKIP_DOCKER_PUSH=1 DOCKER_BUILDKIT=0 VERSION_VARIANT=miniver 
DOCKERFILE_PATH=images/benji-k8s/Dockerfile maint-scripts/docker-build
 - stage: test
   before_install: skip
   install:
-- HELM_VERSION=2.12.3
+- HELM_VERSION=2.16.7
 - curl --retry 5 -sLO 
https://storage.googleapis.com/kubernetes-helm/helm-v$HELM_VERSION-linux-amd64.tar.gz
 - tar --strip-components=1 -xzvvf 
helm-v$HELM_VERSION-linux-amd64.tar.gz linux-amd64/helm
 - rm -f helm-v$HELM_VERSION-linux-amd64.tar.gz
 - chmod a+x helm
+  script:
+- ./helm lint charts/benji-k8s
+- stage: test
+  before_install: skip
+  install:
+- HELM_VERSION=3.3.1
+- curl --retry 5 -sLO 
https://get.helm.sh/helm-v$HELM_VERSION-linux-amd64.tar.gz
+- tar --strip-components=1 -xzvvf 
helm-v$HELM_VERSION-linux-amd64.tar.gz linux-amd64/helm
+- rm -f helm-v$HELM_VERSION-linux-amd64.tar.gz
+- chmod a+x helm
   script:
 - ./helm lint charts/benji-k8s
 - stage: push
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/benji-0.9.0/CHANGES.md new/benji-0.10.0/CHANGES.md
--- old/benji-0.9.0/CHANGES.md  2020-07-27 11:20:08.0 +0200
+++ new/benji-0.10.0/CHANGES.md 2020-09-05 13:36:45.0 +0200
@@ -1,5 +1,24 @@
+## 0.10.0, 05.09.2020
+
+Notable changes:
+
+* Helm chart changes:
+
+  * Change chart's requirements to use URL based repository references. This 
should help when deploying Benji via 
+FluxCD's helm-operator for example. (#89)
+
+  * Fix rendering error when specifying a nodeSelector, node affinities or 
tolerations. (#90)
+  
+  * Use API group rbac.authorization.k8s.io/v1 for RBAC related resources
+  
+* Add new transform module `aes_256_gcm_ecc` (#86)
+
+* Add support for discovering RBD images provisioned by Ceph's CSI provisioner 
to the `benji-backup-pvc` script (#91)
+
 ## 0.9.0, 27.07.2020
 
+Notable changes:
+
 * Sparse blocks are no longer explicitly represented in the database. This 
greatly 

commit benji for openSUSE:Factory

2020-07-28 Thread root
Hello community,

here is the log from the commit of package benji for openSUSE:Factory checked 
in at 2020-07-28 17:26:02

Comparing /work/SRC/openSUSE:Factory/benji (Old)
 and  /work/SRC/openSUSE:Factory/.benji.new.3592 (New)


Package is "benji"

Tue Jul 28 17:26:02 2020 rev:8 rq:823070 version:0.9.0

Changes:

--- /work/SRC/openSUSE:Factory/benji/benji.changes  2019-11-20 
13:44:00.420261157 +0100
+++ /work/SRC/openSUSE:Factory/.benji.new.3592/benji.changes2020-07-28 
17:26:52.858009748 +0200
@@ -1,0 +2,28 @@
+Tue Jul 28 07:04:45 UTC 2020 - Michael Vetter 
+
+- Update to 0.9.0:
+  * Sparse blocks are no longer explicitly represented in the database.
+This greatly speeds up the initial step of backup creation if the
+backup is based on an older version, and a lot of the blocks are
+sparse. It also reduces database size and speeds up database
+operations overall due to the reduced number of rows in the blocks
+table. No database migration is necessary, but the changed
+representation will only apply to newly created versions.
+  * Implement benji storage-usage command. See the documentation
+on how the usage is calculated and its inherent limitations.
+  * For the rbd and rbdaio IO modules add a feature to pass all Ceph
+credentials as part of the URL of the benji backup command. This
+can also be used to pass other Ceph configuration options, and it
+is also possible to override the client_identifier set in Benji's
+configuration file. This allows Benji to connect to any Ceph cluster
+without setting up /etc/ceph/ceph.conf beforehand.
+See the documentation for the full URL syntax.
+  * benji enforce now skips removed or otherwise unavailable versions
+and continues with the removal.
+  * NBD server: The block cache is split up into a block cache and a
+copy-on-write store for changed blocks. For the block cache a maximum
+size can be specified and least frequently used blocks are evicted if
+the cache gets full. Some adjustments are needed to Benji's
+configuration due to this change. See etc/benji.yaml for an example.
+
+---

Old:

  v0.8.0.tar.gz

New:

  v0.9.0.tar.gz



Other differences:
--
++ benji.spec ++
--- /var/tmp/diff_new_pack.BKjRGC/_old  2020-07-28 17:26:57.186014659 +0200
+++ /var/tmp/diff_new_pack.BKjRGC/_new  2020-07-28 17:26:57.190014664 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package benji
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   benji
-Version:0.8.0
+Version:0.9.0
 Release:0
 Summary:Deduplicating block based backup software
 License:LGPL-3.0-only

++ v0.8.0.tar.gz -> v0.9.0.tar.gz ++
 6939 lines of diff (skipped)




commit benji for openSUSE:Factory

2019-11-20 Thread root
Hello community,

here is the log from the commit of package benji for openSUSE:Factory checked 
in at 2019-11-20 13:43:59

Comparing /work/SRC/openSUSE:Factory/benji (Old)
 and  /work/SRC/openSUSE:Factory/.benji.new.26869 (New)


Package is "benji"

Wed Nov 20 13:43:59 2019 rev:7 rq:749872 version:0.8.0

Changes:

--- /work/SRC/openSUSE:Factory/benji/benji.changes  2019-11-06 
13:54:23.252044663 +0100
+++ /work/SRC/openSUSE:Factory/.benji.new.26869/benji.changes   2019-11-20 
13:44:00.420261157 +0100
@@ -1,0 +2,63 @@
+Wed Nov 20 11:21:18 UTC 2019 - Michael Vetter 
+
+- Update to 0.8.0:
+  * This release contains significant changes related to the naming, format and
+structure of internal and external data representations. They derive from 
the
+experience of using Benji in the last few months and from the challenges
+uncovered by the ongoing Kubernetes integration efforts. The changes have 
been
+bundled to avoid multiple metadata version changes and migrations.
+
+  * Old metadata backups and exports and old object metadata can still be read 
by
+this version of Benji. Existing databases can be migrated to the new 
database
+structure with benji database-migrate. While this process has been tested 
with
+both PostgreSQL and SQLite it is strongly recommended to make a consistent
+backup of the database before attempting the migration. The migration 
process
+requires a significant amount of time and disk space when there are a lot 
of old
+backups in the database. The versions and blocks tables are completely 
recreated
+and the old data is moved over. Expect the disk usage to more than double 
during
+the migration.
+  
+  Database and metadata changes:
+  * The version of metadata exports has changed from 1.1.0 to 2.0.0. Old
+exports (1.0.0 and 1.1.0) can still be imported.
+  * snapshot_name in the versions table has been renamed to snapshot in the
+database and in metadata exports. The long version of the corresponding 
command
+line option has also been renamed from --snapshot-name to --snapshot.
+  * name in the versions table has been renamed to volume in the database and 
in metadata exports.
+  * bytes_dedup in the versions table has been renamed to bytes_deduplicated 
in the database and in metadata exports.
+  * id in the blocks table has been renamed to idx in the database and in 
metadata exports.
+  * The type of uid in the versions table has been changed from integer to
+string. This also affects any metadata exports. This removes the 
inconsistency
+where uid was represented as a string in some places and as an integer in
+others. uids are automatically generated for new versions, but there is 
also
+the option to set the uid of a version on backup via the new -u/--uid 
option.
+  * Storages are now always represented by their name. This changes the key
+name in metadata exports from storage_id to storage and the corresponding 
value
+is now of type string and not of type integer anymore.
+  * A new table storages is introduced to hold the internal mapping of storage
+ids to storage names. It is no longer necessary to specify a storage id in 
the
+configuration but existing storage ids are imported from the configuration 
into
+the database.
+  * Labels are now exported as a dictionaries instead of lists.
+  * The letter Z has been appended to the date value in metadata exports to 
signify the UTC timezone.
+  * These name changes also affect the specification of version filters on the 
command line and custom scripts might need simple adjustments.
+  * The format of metadata exports is now more compact and has been optimized
+to facilitate efficient imports in a future version of Benji by ordering 
the
+entries in a specific way.
+
+  Object metadata changes:
+  * The object metadata version has been changed from 1.0.0 to 2.0.0. Benji 
can still read version 1.0.0 object metadata.
+  * The timestamps in the created and modified fields of the object metadata
+have also been augmented with timezone information by appending a Z to the 
timestamp.
+The naming of automatically generated copy-on-write versions for writable 
NBD exports has changed.
+  * A workaround for a bug in various versions of nbd-clinet has been added.
+This bug leads to aborted NBD connections just after the negotiation phase 
was
+completed and leaves the NBD block device unusable. With the workaround 
implemented this is no longer the case.
+  * benji-k8s: benji-restore-pvc has been converted from Bash to Python and now
+runs in-cluster only. To execute it and other commands connect to the 
Benji maintenance pod.
+  * benji-k8s: Rook persistent volumes provisioned by the FlexVolume
+provisioner are now detected by benji-backup-pvc and 

commit benji for openSUSE:Factory

2019-11-06 Thread root
Hello community,

here is the log from the commit of package benji for openSUSE:Factory checked 
in at 2019-11-06 13:54:17

Comparing /work/SRC/openSUSE:Factory/benji (Old)
 and  /work/SRC/openSUSE:Factory/.benji.new.2990 (New)


Package is "benji"

Wed Nov  6 13:54:17 2019 rev:6 rq:739944 version:0.7.1

Changes:

--- /work/SRC/openSUSE:Factory/benji/benji.changes  2019-08-30 
14:42:56.917411440 +0200
+++ /work/SRC/openSUSE:Factory/.benji.new.2990/benji.changes2019-11-06 
13:54:23.252044663 +0100
@@ -1,0 +2,5 @@
+Thu Oct 17 14:33:24 UTC 2019 - Richard Brown 
+
+- Remove obsolete Groups tag (fate#326485)
+
+---



Other differences:
--
++ benji.spec ++
--- /var/tmp/diff_new_pack.z7ZG4S/_old  2019-11-06 13:54:25.824047451 +0100
+++ /var/tmp/diff_new_pack.z7ZG4S/_new  2019-11-06 13:54:25.828047456 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,7 +21,6 @@
 Release:0
 Summary:Deduplicating block based backup software
 License:LGPL-3.0-only
-Group:  Productivity/Archiving/Backup
 URL:https://benji-backup.me/
 Source0:
https://github.com/elemental-lf/benji/archive/v%{version}.tar.gz
 BuildRequires:  python3-devel >= 3.6.5




commit benji for openSUSE:Factory

2019-08-30 Thread root
Hello community,

here is the log from the commit of package benji for openSUSE:Factory checked 
in at 2019-08-30 14:42:39

Comparing /work/SRC/openSUSE:Factory/benji (Old)
 and  /work/SRC/openSUSE:Factory/.benji.new.7948 (New)


Package is "benji"

Fri Aug 30 14:42:39 2019 rev:5 rq:727170 version:0.7.1

Changes:

--- /work/SRC/openSUSE:Factory/benji/benji.changes  2019-07-29 
17:31:20.498175874 +0200
+++ /work/SRC/openSUSE:Factory/.benji.new.7948/benji.changes2019-08-30 
14:42:56.917411440 +0200
@@ -1,0 +2,9 @@
+Fri Aug 30 08:53:26 UTC 2019 - mvet...@suse.com
+
+- Update to 0.7.1:
+  * This release pins two package dependencies to older versions
+as newer releases of these dependencies broke Benji.
+  * Fixes #49.
+  * Fixes #51.
+
+---

Old:

  v0.7.0.tar.gz

New:

  v0.7.1.tar.gz



Other differences:
--
++ benji.spec ++
--- /var/tmp/diff_new_pack.RESdQY/_old  2019-08-30 14:42:59.629411161 +0200
+++ /var/tmp/diff_new_pack.RESdQY/_new  2019-08-30 14:42:59.629411161 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   benji
-Version:0.7.0
+Version:0.7.1
 Release:0
 Summary:Deduplicating block based backup software
 License:LGPL-3.0-only

++ v0.7.0.tar.gz -> v0.7.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/benji-0.7.0/setup.py new/benji-0.7.1/setup.py
--- old/benji-0.7.0/setup.py2019-07-26 13:48:20.0 +0200
+++ new/benji-0.7.1/setup.py2019-08-29 22:07:37.0 +0200
@@ -61,7 +61,7 @@
 'cerberus>=1.2,<2',
 'pycryptodome>=3.6.1,<4',
 'pyparsing>=2.3.0,<3',
-'semantic_version>=2.6.0,<3',
+'semantic_version==2.6.0',
 'dateparser>=0.7.0,<1',
 'structlog>=19.1.0',
 'colorama>=0.4.1,<1',
@@ -69,7 +69,7 @@
 ],
 extras_require={
 's3': ['boto3>=1.7.28'],
-'b2': ['b2>=1.3.2'],
+'b2': ['b2>=1.3.2,<=1.3.8'],
 'compression': ['zstandard>=0.9.0'],
 # For RBD support the packages supplied by the Linux distribution or 
the Ceph team should be used,
 # possible packages names include: python-rados, python-rbd or 
python3-rados, python3-rbd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/benji-0.7.0/src/benji/_static_version.py 
new/benji-0.7.1/src/benji/_static_version.py
--- old/benji-0.7.0/src/benji/_static_version.py2019-07-26 
13:48:20.0 +0200
+++ new/benji-0.7.1/src/benji/_static_version.py2019-08-29 
22:07:37.0 +0200
@@ -8,5 +8,5 @@
 version = "__use_git__"
 
 # These values are only set if the distribution was created with 'git archive'
-refnames = "HEAD -> master, tag: v0.7.0"
-git_hash = "91a3cf0"
+refnames = "tag: v0.7.1, v0.7"
+git_hash = "75a562b"




commit benji for openSUSE:Factory

2019-07-29 Thread root
Hello community,

here is the log from the commit of package benji for openSUSE:Factory checked 
in at 2019-07-29 17:31:18

Comparing /work/SRC/openSUSE:Factory/benji (Old)
 and  /work/SRC/openSUSE:Factory/.benji.new.4126 (New)


Package is "benji"

Mon Jul 29 17:31:18 2019 rev:4 rq:719473 version:0.7.0

Changes:

--- /work/SRC/openSUSE:Factory/benji/benji.changes  2019-05-24 
11:31:37.269402818 +0200
+++ /work/SRC/openSUSE:Factory/.benji.new.4126/benji.changes2019-07-29 
17:31:20.498175874 +0200
@@ -1,0 +2,41 @@
+Mon Jul 29 05:48:46 UTC 2019 - mvet...@suse.com
+
+- Update to 0.7.0:
+  * Added a new I/O module rbdaio which uses the asynchronous API of librbd.
+Performance results in relation to rbd have been mixed but performance
+   should be at least 10-20% higher on restore. In one case performance has
+   been increased tenfold.
+  * Almost all Bash helper scripts have been rewritten in Python.
+The new scripts are calling Benji via the command line just like before.
+   This is intentional to minimize the interdependence between Benji and 
these
+   helpers. The scripts are examples only and not part of the API.
+   There still is one example Bash script at scripts/ceph.sh to show how to
+   interact with Benji via Bash. The helpers have additional dependencies
+   which can be installed with pip install benji[helpers].
+  * The Prometheus metrics exported by benji-k8s have changed:
+  * Backup metrics now longer include the auxiliary_data label.
+  * Command metrics now longer include the arguments label. The arguments
+have been folded into the command label.
+  * benji-k8s: The included scripts have been replaced by Python scripts and
+are using the new helper modules. They should be calling compatible.
+  * benji-k8s: All calls to kubectl have been replaced with direct API 
requests.
+The official Python client for Kubernetes is used. kubectl is still 
included
+   in the image.
+  * Helm chart: Volumes and volume mounts are now configurable via values.yaml.
+This is mostly for getting the Ceph credentials into the container but 
could
+   also be used to mount file-based storage.
+  * Helm chart: The PostgreSQL chart dependency was updated from 2.7.6 to 
4.2.2.
+This is the last chart which uses PostgreSQL 10 and requires no upgrade of 
the
+   database data structures.
+  * benji-k8s and Helm chart: The image was simplified to only include the
+Kubernetes specific scripts and kubectl. Instead of running backups or 
other
+   jobs via crond inside the container, the Helm chart now generates 
separate
+   CronJobs inside of Kubernetes. This is in preparation of the move to 
custom
+   resources and an operator.
+  * An experimental and as of yet unfinished REST API has been added.
+The environment variable BENJI_EXPERIMENTAL has to be set to 1 to enable 
the
+   new rest-api subcommand. The API currently only services one request at 
a time,
+   which limits its usefulness. The REST API has additional dependencies, 
they can
+   be installed with pip install benji[rest-api].
+
+---

Old:

  v0.6.0.tar.gz

New:

  v0.7.0.tar.gz



Other differences:
--
++ benji.spec ++
--- /var/tmp/diff_new_pack.vbSxtV/_old  2019-07-29 17:31:21.142175095 +0200
+++ /var/tmp/diff_new_pack.vbSxtV/_new  2019-07-29 17:31:21.146175091 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   benji
-Version:0.6.0
+Version:0.7.0
 Release:0
 Summary:Deduplicating block based backup software
 License:LGPL-3.0-only

++ v0.6.0.tar.gz -> v0.7.0.tar.gz ++
 5952 lines of diff (skipped)




commit benji for openSUSE:Factory

2019-05-24 Thread root
Hello community,

here is the log from the commit of package benji for openSUSE:Factory checked 
in at 2019-05-24 11:31:32

Comparing /work/SRC/openSUSE:Factory/benji (Old)
 and  /work/SRC/openSUSE:Factory/.benji.new.5148 (New)


Package is "benji"

Fri May 24 11:31:32 2019 rev:3 rq:704864 version:0.6.0

Changes:

--- /work/SRC/openSUSE:Factory/benji/benji.changes  2019-03-22 
15:08:14.197449405 +0100
+++ /work/SRC/openSUSE:Factory/.benji.new.5148/benji.changes2019-05-24 
11:31:37.269402818 +0200
@@ -1,0 +2,62 @@
+Thu May 23 04:31:24 UTC 2019 - mvet...@suse.com
+
+- Update to 0.6.0:
+  * URL parsing of I/O resources is now conforming to standards.
+Especially for the RBD I/O module the two slashes directly after
+the colon are no longer valid and have to be removed
+(rbd://pool/image -> rbd:pool/image).
+  * Added I/O module for iSCSI. It is based on libiscsi and requires
+no elevated permissions. Please see the documentation as Benji
+requires a special version of the libiscsi Python bindings.
+The module is single-threaded and synchronous, so performance
+will be limited. Contributions are welcome!
+  * The algorithm used by benji enforce has seen an overhaul and
+should be more comprehensible as the time categories are based
+on natural time boundaries (start of the hour, day, week,
+month, and year) now.
+  * Added a restore helper script (images/benji-k8s/scripts/benji-restore-pvc)
+for Kubernetes. This script is intended to be run on a management
+system with access to the Kubernetes cluster and can restore
+a version into a new or an existing PVC/PV pair.
+  * The container images are now based on the Python 3.6 included in EPEL.
+The RBD support has been updated to Ceph Nautilus. Nautilus also
+added RADOS and RBD Python bindings for Python 3.6 which are now
+used instead of building them themselves.
+- Add requires on python3-diskcache
+
+---
+Tue Apr  2 11:16:12 UTC 2019 - mvet...@suse.com
+
+- Update to 0.5.0:
+  * Added fsfreeze support to the benji-k8s Docker image. Just add
+the benji-backup.me/fsfreeze: yes annotation to the PVC.
+Kubernetes hosts are accessed via pods which are deployed by
+a DaemonSet, see the Helm chart for details.
+  * Use bulk inserts to speed up backups of images based on a
+previous version. This also decreases memory usage.
+  * Switched from in-memory block lists to an iterator based approach.
+This will increase performance and decrease memory usage when
+backing up large images.
+  * Fixed a wrong index on the blocks table. This should also increase
+performance. The database will need to be migrated with benji
+database-migrate.
+  * Laid the foundation for structured logging.
+  * Removed database table stats and assorted code and commands.
+Statistics are now kept together with the other version metadata
+in the versions table. This means they are also removed when the
+version is removed. If you want to keep historic statistics you
+need to export them beforehand with benji -m ls or benji
+metadata-export. This is a breaking change and you might need
+adjust your scripts. As statistics are now included in a
+version's metadata the metadata version is now 1.1.0.
+Old metadata backups and exports with a metadata version of
+1.0.0 can be imported by the current version. The statistics will be
+empty in that case. The database will need to be migrated with
+benji database-migrate.
+  * Fixed a bug in the time calculation of benji enforce which
+could lead to a late expiration of versions, the timing was
+a few hours off.
+- Remove dependency on colorlog
+- Add dependency on colorama and structlog
+
+---

Old:

  v0.4.0.tar.gz

New:

  v0.6.0.tar.gz



Other differences:
--
++ benji.spec ++
--- /var/tmp/diff_new_pack.Y9lXXJ/_old  2019-05-24 11:31:38.265402561 +0200
+++ /var/tmp/diff_new_pack.Y9lXXJ/_new  2019-05-24 11:31:38.269402560 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   benji
-Version:0.4.0
+Version:0.6.0
 Release:0
 Summary:Deduplicating block based backup software
 License:LGPL-3.0-only
@@ -30,8 +30,9 @@
 Requires:   python3-PrettyTable >= 0.7.2
 Requires:   python3-alembic >= 1.0.5
 Requires:   python3-argcomplete >= 1.9.4
-Requires:   python3-colorlog >= 4.0.0
+Requires:   python3-colorama >= 0.4.1
 Requires:   python3-dateutil >= 2.6.0
+Requires:   python3-diskcache >= 3.0.6
 Requires:   python3-psutil
 Requires:   python3-pycryptodome >= 

commit benji for openSUSE:Factory

2019-03-22 Thread root
Hello community,

here is the log from the commit of package benji for openSUSE:Factory checked 
in at 2019-03-22 15:07:45

Comparing /work/SRC/openSUSE:Factory/benji (Old)
 and  /work/SRC/openSUSE:Factory/.benji.new.25356 (New)


Package is "benji"

Fri Mar 22 15:07:45 2019 rev:2 rq:687136 version:0.4.0

Changes:

--- /work/SRC/openSUSE:Factory/benji/benji.changes  2019-02-28 
21:43:07.413532270 +0100
+++ /work/SRC/openSUSE:Factory/.benji.new.25356/benji.changes   2019-03-22 
15:08:14.197449405 +0100
@@ -1,0 +2,12 @@
+Thu Mar 21 08:04:13 UTC 2019 - mvet...@suse.com
+
+- Update to 0.4.0:
+  * Documentation updates
+  * Added new CLI command benji storage-stats to get storage usage information
+  * Fixed backup progress reporting on console
+  * Added fdatasync() calls to the file module to ensure backup integrity
+in case of a system crash or a power failure (will impact performance when 
using the file I/O module)
+  * Speed up command line completion
+  * Added benji completion CLI command
+
+---

Old:

  v0.3.1.tar.gz

New:

  v0.4.0.tar.gz



Other differences:
--
++ benji.spec ++
--- /var/tmp/diff_new_pack.4k3TlT/_old  2019-03-22 15:08:15.469448304 +0100
+++ /var/tmp/diff_new_pack.4k3TlT/_new  2019-03-22 15:08:15.473448301 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package benji
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   benji
-Version:0.3.1
+Version:0.4.0
 Release:0
 Summary:Deduplicating block based backup software
 License:LGPL-3.0-only
@@ -26,21 +26,21 @@
 Source0:
https://github.com/elemental-lf/benji/archive/v%{version}.tar.gz
 BuildRequires:  python3-devel >= 3.6.5
 BuildRequires:  python3-setuptools
+Requires:   python3-Cerberus >= 1.2
 Requires:   python3-PrettyTable >= 0.7.2
 Requires:   python3-alembic >= 1.0.5
+Requires:   python3-argcomplete >= 1.9.4
+Requires:   python3-colorlog >= 4.0.0
 Requires:   python3-dateutil >= 2.6.0
 Requires:   python3-psutil
+Requires:   python3-pycryptodome >= 3.6.1
+Requires:   python3-pyparsing >= 2.3.0
+Requires:   python3-ruamel.yaml >= 0.15
+Requires:   python3-semantic_version >= 2.6.0
 Requires:   python3-setproctitle >= 1.1.8
 Requires:   python3-shortuuid
-Requires:   python3-sqlalchemy >= 1.2.6
-Requires:   python3-semantic_version >= 2.6.0
-Requires:   python3-ruamel.yaml >= 0.15
-Requires:   python3-Cerberus >= 1.2
-Requires:   python3-argcomplete >= 1.9.4
 Requires:   python3-sparse >= 0.2.2
-Requires:   python3-colorlog >= 4.0.0
-Requires:   python3-pycryptodome >= 3.6.1
-Requires:   python3-pyparsing >= 2.3.0
+Requires:   python3-sqlalchemy >= 1.2.6
 Recommends: python3-boto3
 Recommends: python3-psycopg2 >= 2.7.4
 BuildArch:  noarch

++ v0.3.1.tar.gz -> v0.4.0.tar.gz ++
 4207 lines of diff (skipped)