Skip to content

v1.1.0 – Desktop integration & unit tests

Latest
Compare
Choose a tag to compare
@rugk rugk released this 27 Sep 08:31
· 340 commits to master since this release
1.1.0
304c0ee

The most obvious new feature is this:
GNOME desktop notification: BorgBackup "example-backup" – BorgBackup has been successful

You now get notifications for your backups, so using this helper on desktops is finally fun!

But that's not the whole UI integration added using the small tool zenity. You can configure it to:

  • Ask for the passphrase interactively
  • Ask user before retrying backup
  • Work even if the user is root and you want to get notifications to a less privileged user (needs some system integration, see setup guide)
  • more information in the Readme

Under the hood, we, however, also improved the reliability and code quality. We now use 30 unit test to satisfy that the code quality stays high. It actually helped to find some issues with some edge cases (using zsh as a shell or an old borg version).
Additionally exit codes are now properly handled. This allows integration of this script in many (automation) systems.

Of course, the script also supports the upcoming version of borg v1.1.0.

Breaking changes:

  • Exit codes are now properly done, i.e. when something fails you will get 1, 2, etc.
  • Introduced $PRUNE_PREFIX as a config value. It is required for pruning from now on.