From 2f20e6f808a377d096263c9784cf78d02a44fb95 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sun, 7 Oct 2018 22:29:56 -0700 Subject: [PATCH] Include link to issue tracker within various command output. --- NEWS | 3 +++ borgmatic/commands/borgmatic.py | 2 ++ borgmatic/commands/generate_config.py | 2 ++ setup.py | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 4a4640c10..f21794574 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +1.2.8.dev0 + * Include link to issue tracker within various command output. + 1.2.7 * #98: Support for Borg --keep-secondly prune option. * Use Black code formatter and Flake8 code checker as part of running automated tests. diff --git a/borgmatic/commands/borgmatic.py b/borgmatic/commands/borgmatic.py index 27bbed072..7dbe031b3 100644 --- a/borgmatic/commands/borgmatic.py +++ b/borgmatic/commands/borgmatic.py @@ -248,4 +248,6 @@ def main(): # pragma: no cover run_configuration(config_filename, args) except (ValueError, OSError, CalledProcessError) as error: print(error, file=sys.stderr) + print(file=sys.stderr) + print('Need some help? https://torsion.org/borgmatic/#issues', file=sys.stderr) sys.exit(1) diff --git a/borgmatic/commands/generate_config.py b/borgmatic/commands/generate_config.py index c552f197e..d91a19b90 100644 --- a/borgmatic/commands/generate_config.py +++ b/borgmatic/commands/generate_config.py @@ -38,6 +38,8 @@ def main(): # pragma: no cover print() print('Please edit the file to suit your needs. The values are just representative.') print('All fields are optional except where indicated.') + print() + print('If you ever need help: https://torsion.org/borgmatic/#issues') except (ValueError, OSError) as error: print(error, file=sys.stderr) sys.exit(1) diff --git a/setup.py b/setup.py index efb9cb993..56da58b99 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages -VERSION = '1.2.7' +VERSION = '1.2.8.dev0' setup(