소스 검색

Include link to issue tracker within various command output.

Dan Helfman 7 년 전
부모
커밋
2f20e6f808
4개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 0
      NEWS
  2. 2 0
      borgmatic/commands/borgmatic.py
  3. 2 0
      borgmatic/commands/generate_config.py
  4. 1 1
      setup.py

+ 3 - 0
NEWS

@@ -1,3 +1,6 @@
+1.2.8.dev0
+ * Include link to issue tracker within various command output.
+
 1.2.7
 1.2.7
  * #98: Support for Borg --keep-secondly prune option.
  * #98: Support for Borg --keep-secondly prune option.
  * Use Black code formatter and Flake8 code checker as part of running automated tests.
  * Use Black code formatter and Flake8 code checker as part of running automated tests.

+ 2 - 0
borgmatic/commands/borgmatic.py

@@ -248,4 +248,6 @@ def main():  # pragma: no cover
             run_configuration(config_filename, args)
             run_configuration(config_filename, args)
     except (ValueError, OSError, CalledProcessError) as error:
     except (ValueError, OSError, CalledProcessError) as error:
         print(error, file=sys.stderr)
         print(error, file=sys.stderr)
+        print(file=sys.stderr)
+        print('Need some help? https://torsion.org/borgmatic/#issues', file=sys.stderr)
         sys.exit(1)
         sys.exit(1)

+ 2 - 0
borgmatic/commands/generate_config.py

@@ -38,6 +38,8 @@ def main():  # pragma: no cover
         print()
         print()
         print('Please edit the file to suit your needs. The values are just representative.')
         print('Please edit the file to suit your needs. The values are just representative.')
         print('All fields are optional except where indicated.')
         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:
     except (ValueError, OSError) as error:
         print(error, file=sys.stderr)
         print(error, file=sys.stderr)
         sys.exit(1)
         sys.exit(1)

+ 1 - 1
setup.py

@@ -1,7 +1,7 @@
 from setuptools import setup, find_packages
 from setuptools import setup, find_packages
 
 
 
 
-VERSION = '1.2.7'
+VERSION = '1.2.8.dev0'
 
 
 
 
 setup(
 setup(