Compare commits

...

2 Commits

3 changed files with 15 additions and 4 deletions

1
NEWS
View File

@ -2,6 +2,7 @@
* Support for Borg --prefix option for consistency checks via "prefix" option in borgmatic's * Support for Borg --prefix option for consistency checks via "prefix" option in borgmatic's
consistency configuration. consistency configuration.
* Add introductory screencast link to documentation. * Add introductory screencast link to documentation.
* Update tox.ini to only assume Python 3.x instead of Python 3.4 specifically.
1.1.15 1.1.15
* Support for Borg BORG_PASSCOMMAND environment variable to read a password from an external file. * Support for Borg BORG_PASSCOMMAND environment variable to read a password from an external file.

View File

@ -91,6 +91,9 @@ After you install borgmatic, generate a sample configuration file:
sudo generate-borgmatic-config sudo generate-borgmatic-config
``` ```
If that command is not found, then it may be installed in a location that's
not in your system `PATH`. Try looking in `/usr/local/bin/`.
This generates a sample configuration file at /etc/borgmatic/config.yaml (by This generates a sample configuration file at /etc/borgmatic/config.yaml (by
default). You should edit the file to suit your needs, as the values are just default). You should edit the file to suit your needs, as the values are just
representative. All fields are optional except where indicated, so feel free representative. All fields are optional except where indicated, so feel free
@ -296,15 +299,22 @@ borgmatic to run.
## Running tests ## Running tests
First install tox, which is used for setting up testing environments: First, clone a copy of [borgmatic source code](https://projects.torsion.org/witten/borgmatic):
```bash ```bash
pip3 install tox git clone https://projects.torsion.org/witten/borgmatic
``` ```
Then, to actually run tests, run: Then, install tox, which is used for setting up testing environments:
```bash ```bash
sudo pip3 install tox
```
Finally, to actually run tests, run:
```bash
cd borgmatic
tox tox
``` ```

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist=py34 envlist=py3
skipsdist=True skipsdist=True
[testenv] [testenv]