Alexander Neumann
6bc43a4198
manpage: Remove auto gen tag from man page
2017-08-06 21:31:01 +02:00
Alexander Neumann
e348b3deeb
manpage: Do not panic when no command is given
2017-08-06 21:01:49 +02:00
Alexander Neumann
6724b9a583
Merge pull request #1148 from restic/update-simple-scrypt
...
Lock simple-scrypt library to master branch
2017-08-05 20:04:33 +02:00
Alexander Neumann
41c35b2218
Lock simple-scrypt library to master branch
...
The master branch includes a fix for i386, otherwise the calibration
panics. See https://github.com/restic/restic/issues/676 for details.
2017-08-05 19:24:56 +02:00
Alexander Neumann
4477d76f03
Merge pull request #1147 from restic/add-manpage
...
Add new command 'manpage'
2017-08-05 12:39:42 +02:00
Alexander Neumann
14f5f6235a
Add entry to CHANGELOG
2017-08-05 12:05:53 +02:00
Alexander Neumann
739350fd8e
backup: Do not print hostname in help text
...
This is necessary so that the manpage generation is deterministic and we
can test if the man pages are up to date when the CI tests run.
2017-08-05 12:05:53 +02:00
Alexander Neumann
14ed97102b
Add instructions for developers
2017-08-05 12:05:53 +02:00
Alexander Neumann
db389058fa
Add generated manual pages
2017-08-05 12:05:53 +02:00
Alexander Neumann
b557d04007
CI: Fix test for forbidden packages
2017-08-05 12:05:53 +02:00
Alexander Neumann
52c5da997b
Add CI test for manpages
2017-08-05 12:05:53 +02:00
Alexander Neumann
57d198f99a
Vendor dependencies for manpage generation
2017-08-05 11:08:49 +02:00
Alexander Neumann
a3ab17b470
Add 'manpage' command to generate manual pages
2017-08-05 10:57:01 +02:00
Alexander Neumann
9bf3141893
Add entry to CHANGELOG
2017-08-01 22:02:08 +02:00
Alexander Neumann
d35eb6a0c3
Merge pull request #1144 from wjkohnen/close-exclude-files
...
Close exclude files and check errors
2017-08-01 22:01:43 +02:00
Johannes Kohnen
37aad2e3aa
Close exclude files and check errors
2017-08-01 17:34:27 +00:00
Alexander Neumann
efc5d0699a
Merge pull request #1139 from donat-b/pwfile-doesnt-exist
...
Error message in case PasswordFile is missing
2017-07-27 15:41:50 +02:00
donat
893bc9f777
Error message in case PasswordFile is missing
2017-07-27 14:23:08 +03:00
Alexander Neumann
61b8729ef9
Merge pull request #1138 from stapelberg/patch-1
...
fix typo: explicitely → explicitly
2017-07-27 09:01:47 +02:00
Michael Stapelberg
b89d3cc4d0
fix typo: explicitely → explicitly
2017-07-27 08:24:53 +02:00
Alexander Neumann
e8cc11ea34
Add entry to CHANGELOG
2017-07-26 22:29:39 +02:00
Alexander Neumann
2e804511ca
Merge pull request #1133 from middelink/fix-1132
...
Force restic to ask the password when adding a key.
2017-07-26 22:11:37 +02:00
Alexander Neumann
b6790c491b
Merge pull request #1131 from restic/test-cleanups
...
Rework withTestEnvironment
2017-07-26 22:06:06 +02:00
Pauline Middelink
c95e2b009e
Simpify cmd_backup and cmd_init now we have the password in gopts.
2017-07-24 23:32:55 +02:00
Pauline Middelink
d5615a67c8
Refactor password resolving.
...
Instead of determining the password lazily during ReadPassword(), do so now in
cobra.PersistentPreRunE() so we can store the result in the globalOptions and
reuse/override when applicable without having to worry about the environment
or flag options interfering.
2017-07-24 23:05:37 +02:00
Pauline Middelink
d9b9bbd4a8
Force restic to ask the password when adding a key.
...
As `restic key add` uses the same `ReadPasswordTwice()` as the
rest of restic, it is sensitive to the environment variable
RESTIC_PASSWORD or --password-file= override.
When asking for the new key, temporary remove these 2 overrides, forcing
the password to be asked.
2017-07-24 22:00:44 +02:00
Alexander Neumann
d780b1eede
Rework withTestEnvironment
...
Switch from a function passed as a parameter to a cleanup function,
which is also executed when the test function panics, so no temporary
directories are left behind.
2017-07-24 21:32:34 +02:00
Alexander Neumann
608adf15a3
Merge pull request #1130 from middelink/fix-fuse-test
...
Fuse testing leaves test mountpoint around.
2017-07-24 21:26:05 +02:00
Pauline Middelink
1717391f6c
Fuse testing leaves test mountpoint around. Move it under the testing tree which is removed after each test.
2017-07-24 20:33:39 +02:00
Alexander Neumann
2e6e9ff6f8
Merge pull request #1129 from restic/move-restic-pkg
...
Move restic package to internal/restic
2017-07-24 19:19:28 +02:00
Alexander Neumann
23c903074c
Move restic package to internal/restic
2017-07-24 17:43:32 +02:00
Alexander Neumann
94030a12cf
Add entry to CHANGELOG
2017-07-23 16:54:56 +02:00
Alexander Neumann
f63d7de9da
Merge pull request #1126 from restic/switch-to-default-go-git-layout
...
Use idiomatic default Go git repo layout
2017-07-23 16:54:53 +02:00
Alexander Neumann
13ee6792df
Add remark about GOPATH on forked repos
2017-07-23 16:36:13 +02:00
Alexander Neumann
6302444f34
Remove linebreak from Errorf() format string
2017-07-23 15:51:44 +02:00
Alexander Neumann
61c5e4b54a
Fix glyphcheck
2017-07-23 15:51:39 +02:00
Alexander Neumann
d6118871be
Update other files
2017-07-23 14:40:05 +02:00
Alexander Neumann
94b27e8933
Fix paths for tests
2017-07-23 14:39:57 +02:00
Alexander Neumann
05500dc5f8
Update documentation
2017-07-23 14:32:31 +02:00
Alexander Neumann
c5a72971fe
Remove Vagrantfile
2017-07-23 14:30:33 +02:00
Alexander Neumann
5bc6486e3b
Update docs
2017-07-23 14:25:39 +02:00
Alexander Neumann
59e18bce0a
Fix build.go
2017-07-23 14:25:39 +02:00
Alexander Neumann
898c5b6df5
Fix integration tests
2017-07-23 14:25:39 +02:00
Alexander Neumann
9cd422791a
Update build.go
2017-07-23 14:25:38 +02:00
Alexander Neumann
91edebf1fe
Vendor dependencies with dep
2017-07-23 14:25:38 +02:00
Alexander Neumann
df8a5792f1
Remove Dockerfile
2017-07-23 14:25:38 +02:00
Alexander Neumann
cda7b417cd
Remove envrc
2017-07-23 14:25:38 +02:00
Alexander Neumann
d2ac35af26
Remove vendor
2017-07-23 14:25:37 +02:00
Alexander Neumann
6caeff2408
Run goimports
2017-07-23 14:21:03 +02:00
Alexander Neumann
83d1a46526
Moves files
2017-07-23 14:19:13 +02:00