Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package borgmatic for openSUSE:Factory checked in at 2021-06-14 23:11:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/borgmatic (Old) and /work/SRC/openSUSE:Factory/.borgmatic.new.32437 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "borgmatic" Mon Jun 14 23:11:04 2021 rev:27 rq:899888 version:1.5.14 Changes: -------- --- /work/SRC/openSUSE:Factory/borgmatic/borgmatic.changes 2021-04-01 14:19:03.808136028 +0200 +++ /work/SRC/openSUSE:Factory/.borgmatic.new.32437/borgmatic.changes 2021-06-14 23:11:33.476801685 +0200 @@ -1,0 +2,13 @@ +Wed Jun 9 10:44:40 UTC 2021 - Paolo Stivanin <[email protected]> + +- Update to 1.5.14: + * Add link to Hetzner storage offering from the documentation. + * Clarify canonical home of borgmatic in documentation. + * Clarify that spaces in path names should not be backslashed + in path names. + * Fix error handling to error loudly when Borg gets killed due to + running out of memory! + * Fix build so as not to attempt to build and push documentation + for a non-master branch. + +------------------------------------------------------------------- Old: ---- borgmatic-1.5.13.tar.gz New: ---- borgmatic-1.5.14.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ borgmatic.spec ++++++ --- /var/tmp/diff_new_pack.PV2nYm/_old 2021-06-14 23:11:33.816802298 +0200 +++ /var/tmp/diff_new_pack.PV2nYm/_new 2021-06-14 23:11:33.816802298 +0200 @@ -17,7 +17,7 @@ Name: borgmatic -Version: 1.5.13 +Version: 1.5.14 Release: 0 Summary: Automation tool for borgbackup License: GPL-3.0-only ++++++ borgmatic-1.5.13.tar.gz -> borgmatic-1.5.14.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/borgmatic-1.5.13/.drone.yml new/borgmatic-1.5.14/.drone.yml --- old/borgmatic-1.5.13/.drone.yml 2021-03-31 00:53:19.000000000 +0200 +++ new/borgmatic-1.5.14/.drone.yml 2021-06-08 20:44:53.000000000 +0200 @@ -44,7 +44,7 @@ - scripts/run-full-tests --- kind: pipeline -name: python-3-8-alpine-edge +name: python-3-8-alpine-3-13 services: - name: postgresql @@ -60,7 +60,7 @@ steps: - name: build - image: alpine:edge + image: alpine:3.13 pull: always commands: - scripts/run-full-tests @@ -78,6 +78,7 @@ from_secret: docker_password repo: witten/borgmatic-docs dockerfile: docs/Dockerfile - when: - branch: - - master + +trigger: + branch: + - master diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/borgmatic-1.5.13/NEWS new/borgmatic-1.5.14/NEWS --- old/borgmatic-1.5.13/NEWS 2021-03-31 00:53:19.000000000 +0200 +++ new/borgmatic-1.5.14/NEWS 2021-06-08 20:44:53.000000000 +0200 @@ -1,3 +1,13 @@ +1.5.14 + * #390: Add link to Hetzner storage offering from the documentation. + * #398: Clarify canonical home of borgmatic in documentation. + * #406: Clarify that spaces in path names should not be backslashed in path names. + * #423: Fix error handling to error loudly when Borg gets killed due to running out of memory! + * Fix build so as not to attempt to build and push documentation for a non-master branch. + * "Fix" build failure with Alpine Edge by switching from Edge to Alpine 3.13. + * Move #borgmatic IRC channel from Freenode to Libera Chat due to Freenode takeover drama. + IRC connection info: https://torsion.org/borgmatic/#issues + 1.5.13 * #373: Document that passphrase is used for Borg keyfile encryption, not just repokey encryption. * #404: Add support for ruamel.yaml 0.17.x YAML parsing library. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/borgmatic-1.5.13/README.md new/borgmatic-1.5.14/README.md --- old/borgmatic-1.5.13/README.md 2021-03-31 00:53:19.000000000 +0200 +++ new/borgmatic-1.5.14/README.md 2021-06-08 20:44:53.000000000 +0200 @@ -11,6 +11,8 @@ workstations. Protect your files with client-side encryption. Backup your databases too. Monitor it all with integrated third-party services. +The canonical home of borgmatic is at <a href="https://torsion.org/borgmatic">https://torsion.org/borgmatic</a>. + Here's an example configuration file: ```yaml @@ -84,10 +86,10 @@ ## Hosting providers -Need somewhere to store your encrypted offsite backups? The following hosting -providers include specific support for Borg/borgmatic. Using these links and -services helps support borgmatic development and hosting. (These are referral -links, but without any tracking scripts or cookies.) +Need somewhere to store your encrypted off-site backups? The following hosting +providers include specific support for Borg/borgmatic???and fund borgmatic +development and hosting when you use these links to sign up. (These are +referral links, but without any tracking scripts or cookies.) <ul> <li class="referral"><a href="https://www.rsync.net/cgi-bin/borg.cgi?campaign=borg&adgroup=borgmatic">rsync.net</a>: Cloud Storage provider with full support for borg and any other SSH/SFTP tool</li> @@ -95,6 +97,10 @@ <li class="referral"><a href="https://storage.lima-labs.com/special-pricing-offer-for-borgmatic-users/">Lima-Labs</a>: Affordable, reliable cloud data storage accessable via SSH/SCP/FTP for Borg backups or any other bulk storage needs</li> </ul> +Additionally, [Hetzner](https://www.hetzner.com/storage/storage-box) has a +compatible storage offering, but does not currently fund borgmatic +development or hosting. + ## Support and contributing ### Issues @@ -106,9 +112,11 @@ an existing GitHub account if you prefer. If you'd like to chat with borgmatic developers or users, head on over to the -`#borgmatic` IRC channel on Freenode, either via <a -href="https://webchat.freenode.net/?channels=borgmatic">web chat</a> or a -native <a href="irc://chat.freenode.net:6697">IRC client</a>. +`#borgmatic` IRC channel on Libera Chat, either via <a +href="https://web.libera.chat/#borgmatic">web chat</a> or a +native <a href="ircs://irc.libera.chat:6697">IRC client</a>. If you +don't get a response right away, please hang around a while???or file a ticket +instead. Also see the [security policy](https://torsion.org/borgmatic/docs/security-policy/) for any security @@ -120,9 +128,9 @@ ### Contributing -borgmatic is hosted at <https://torsion.org/borgmatic> with [source code -available](https://projects.torsion.org/witten/borgmatic), and is also -mirrored on [GitHub](https://github.com/witten/borgmatic) for convenience. +borgmatic [source code is +available](https://projects.torsion.org/witten/borgmatic) and is also mirrored +on [GitHub](https://github.com/witten/borgmatic) for convenience. borgmatic is licensed under the GNU General Public License version 3 or any later version. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/borgmatic-1.5.13/borgmatic/config/schema.yaml new/borgmatic-1.5.14/borgmatic/config/schema.yaml --- old/borgmatic-1.5.13/borgmatic/config/schema.yaml 2021-03-31 00:53:19.000000000 +0200 +++ new/borgmatic-1.5.14/borgmatic/config/schema.yaml 2021-06-08 20:44:53.000000000 +0200 @@ -15,11 +15,12 @@ - type: str desc: | List of source directories to backup (required). Globs and - tildes are expanded. + tildes are expanded. Do not backslash spaces in path names. example: - /home - /etc - /var/log/syslog* + - /home/user/path with spaces repositories: required: true seq: @@ -123,12 +124,14 @@ - type: str desc: | Any paths matching these patterns are excluded from backups. - Globs and tildes are expanded. See the output of "borg help - patterns" for more details. + Globs and tildes are expanded. Do not backslash spaces in + path names. See the output of "borg help patterns" for more + details. example: - '*.pyc' - /home/*/.cache - /etc/ssl + - /home/user/path with spaces exclude_from: seq: - type: str diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/borgmatic-1.5.13/borgmatic/execute.py new/borgmatic-1.5.14/borgmatic/execute.py --- old/borgmatic-1.5.13/borgmatic/execute.py 2021-03-31 00:53:19.000000000 +0200 +++ new/borgmatic-1.5.14/borgmatic/execute.py 2021-06-08 20:44:53.000000000 +0200 @@ -23,7 +23,7 @@ command = process.args.split(' ') if isinstance(process.args, str) else process.args if borg_local_path and command[0] == borg_local_path: - return bool(exit_code >= BORG_ERROR_EXIT_CODE) + return bool(exit_code < 0 or exit_code >= BORG_ERROR_EXIT_CODE) return bool(exit_code != 0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/borgmatic-1.5.13/docs/how-to/set-up-backups.md new/borgmatic-1.5.14/docs/how-to/set-up-backups.md --- old/borgmatic-1.5.13/docs/how-to/set-up-backups.md 2021-03-31 00:53:19.000000000 +0200 +++ new/borgmatic-1.5.14/docs/how-to/set-up-backups.md 2021-06-08 20:44:53.000000000 +0200 @@ -68,7 +68,7 @@ The main downside of a global install is that borgmatic is less cleanly separated from the rest of your Python software, and there's the theoretical -possibility of libary conflicts. But if you're okay with that, for instance +possibility of library conflicts. But if you're okay with that, for instance on a relatively dedicated system, then a global install can work out fine. @@ -93,10 +93,10 @@ ## Hosting providers -Need somewhere to store your encrypted offsite backups? The following hosting -providers include specific support for Borg/borgmatic. Using these links and -services helps support borgmatic development and hosting. (These are referral -links, but without any tracking scripts or cookies.) +Need somewhere to store your encrypted off-site backups? The following hosting +providers include specific support for Borg/borgmatic???and fund borgmatic +development and hosting when you use these links to sign up. (These are +referral links, but without any tracking scripts or cookies.) <ul> <li class="referral"><a href="https://www.rsync.net/cgi-bin/borg.cgi?campaign=borg&adgroup=borgmatic">rsync.net</a>: Cloud Storage provider with full support for borg and any other SSH/SFTP tool</li> @@ -104,6 +104,10 @@ <li class="referral"><a href="https://storage.lima-labs.com/special-pricing-offer-for-borgmatic-users/">Lima-Labs</a>: Affordable, reliable cloud data storage accessable via SSH/SCP/FTP for Borg backups or any other bulk storage needs</li> </ul> +Additionally, [Hetzner](https://www.hetzner.com/storage/storage-box) has a +compatible storage offering, but does not currently fund borgmatic +development or hosting. + ## Configuration After you install borgmatic, generate a sample configuration file: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/borgmatic-1.5.13/scripts/release new/borgmatic-1.5.14/scripts/release --- old/borgmatic-1.5.13/scripts/release 2021-03-31 00:53:19.000000000 +0200 +++ new/borgmatic-1.5.14/scripts/release 2021-06-08 20:44:53.000000000 +0200 @@ -38,7 +38,8 @@ release_changelog="$(cat NEWS | sed '/^$/q' | grep -v '^\S')" escaped_release_changelog="$(echo "$release_changelog" | sed -z 's/\n/\\n/g' | sed -z 's/\"/\\"/g')" curl --silent --request POST \ - "https://projects.torsion.org/api/v1/repos/witten/borgmatic/releases?access_token=$projects_token" \ + "https://projects.torsion.org/api/v1/repos/witten/borgmatic/releases" \ + --header "Authorization: token $projects_token" \ --header "Accept: application/json" \ --header "Content-Type: application/json" \ --data "{\"body\": \"$escaped_release_changelog\", \"draft\": false, \"name\": \"borgmatic $version\", \"prerelease\": false, \"tag_name\": \"$version\"}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/borgmatic-1.5.13/setup.py new/borgmatic-1.5.14/setup.py --- old/borgmatic-1.5.13/setup.py 2021-03-31 00:53:19.000000000 +0200 +++ new/borgmatic-1.5.14/setup.py 2021-06-08 20:44:53.000000000 +0200 @@ -1,6 +1,6 @@ from setuptools import find_packages, setup -VERSION = '1.5.13' +VERSION = '1.5.14' setup( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/borgmatic-1.5.13/test_requirements.txt new/borgmatic-1.5.14/test_requirements.txt --- old/borgmatic-1.5.13/test_requirements.txt 2021-03-31 00:53:19.000000000 +0200 +++ new/borgmatic-1.5.14/test_requirements.txt 2021-06-08 20:44:53.000000000 +0200 @@ -13,14 +13,14 @@ more-itertools==8.6.0 pluggy==0.13.1 pathspec==0.8.1; python_version >= '3.8' -py==1.9.0 +py==1.10.0 pycodestyle==2.6.0 pyflakes==2.2.0 pykwalify==1.7.0 pytest==6.1.2 pytest-cov==2.10.1 python-dateutil==2.8.1 -PyYAML==5.3.1 +PyYAML==5.4.1 regex; python_version >= '3.8' requests==2.25.0 ruamel.yaml>0.15.0,<0.18.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/borgmatic-1.5.13/tests/end-to-end/docker-compose.yaml new/borgmatic-1.5.14/tests/end-to-end/docker-compose.yaml --- old/borgmatic-1.5.13/tests/end-to-end/docker-compose.yaml 2021-03-31 00:53:19.000000000 +0200 +++ new/borgmatic-1.5.14/tests/end-to-end/docker-compose.yaml 2021-06-08 20:44:53.000000000 +0200 @@ -11,7 +11,7 @@ MYSQL_ROOT_PASSWORD: test MYSQL_DATABASE: test tests: - image: alpine:edge + image: alpine:3.13 volumes: - "../..:/app:ro" tmpfs: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/borgmatic-1.5.13/tests/end-to-end/test_borgmatic.py new/borgmatic-1.5.14/tests/end-to-end/test_borgmatic.py --- old/borgmatic-1.5.13/tests/end-to-end/test_borgmatic.py 2021-03-31 00:53:19.000000000 +0200 +++ new/borgmatic-1.5.14/tests/end-to-end/test_borgmatic.py 2021-06-08 20:44:53.000000000 +0200 @@ -20,6 +20,7 @@ .read() .replace('user@backupserver:sourcehostname.borg', repository_path) .replace('- user@backupserver:{fqdn}', '') + .replace('- /home/user/path with spaces', '') .replace('- /home', '- {}'.format(config_path)) .replace('- /etc', '') .replace('- /var/log/syslog*', '') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/borgmatic-1.5.13/tests/unit/test_execute.py new/borgmatic-1.5.14/tests/unit/test_execute.py --- old/borgmatic-1.5.13/tests/unit/test_execute.py 2021-03-31 00:53:19.000000000 +0200 +++ new/borgmatic-1.5.14/tests/unit/test_execute.py 2021-06-08 20:44:53.000000000 +0200 @@ -21,6 +21,11 @@ (flexmock(args=['grep']), 0, 'borg', False), (flexmock(args=['borg']), 0, 'borg', False), (flexmock(args=['borg1']), 0, 'borg1', False), + # -9 exit code occurs when child process get SIGKILLed. + (flexmock(args=['grep']), -9, None, True), + (flexmock(args=['grep']), -9, 'borg', True), + (flexmock(args=['borg']), -9, 'borg', True), + (flexmock(args=['borg1']), -9, 'borg1', True), (flexmock(args=['borg']), None, None, False), ), )
