1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-16 00:00:05 +01:00
Commit graph

965 commits

Author SHA1 Message Date
Chapuis Bertil
5db483883d handle config properly 2015-09-16 20:48:22 +02:00
Chapuis Bertil
7d422481a8 simplified REST documentation 2015-09-16 16:39:15 +02:00
Chapuis Bertil
dc56df2d07 simplified REST documentation 2015-09-16 16:34:29 +02:00
Chapuis Bertil
8b4af583fd removed dependency to gorilla mux 2015-09-16 16:05:09 +02:00
Chapuis Bertil
757303245d removed dependency to gorilla mux 2015-09-16 16:02:23 +02:00
Chapuis Bertil
35992917b5 directory initialization in rest tests 2015-09-16 10:45:25 +02:00
Chapuis Bertil
e8ec7d101b replaced singular with plural dir names 2015-09-16 10:37:37 +02:00
Chapuis Bertil
197e97b0b7 accept http urls without trailing slash 2015-09-15 18:41:00 +02:00
Chapuis Bertil
d41b3b0302 nil http response can't be closed 2015-09-15 18:30:09 +02:00
Chapuis Bertil
daee7883c7 close all files and handle error more properly 2015-09-08 21:10:32 +02:00
Chapuis Bertil
e07607106c only support signed certificates 2015-09-08 21:10:32 +02:00
Chapuis Bertil
ee076ffa77 https scheme 2015-09-08 21:10:32 +02:00
Chapuis Bertil
8f93488a94 solved rebase conflicts 2015-09-08 21:10:31 +02:00
Chapuis Bertil
d055db7ae5 closed some http request bodies 2015-09-08 21:10:31 +02:00
Chapuis Bertil
a958e91b06 replaced if with switch
Notice I care about style :)
2015-09-08 21:10:31 +02:00
Chapuis Bertil
e4da373b41 improved status code and ordered json response 2015-09-08 21:10:09 +02:00
Chapuis Bertil
6ca450e0b3 better path parameter verification 2015-09-08 21:07:24 +02:00
Chapuis Bertil
faca685417 simplified the backend and added documentation 2015-09-08 21:06:36 +02:00
Chapuis Bertil
c586941f66 gorilla mux dependency 2015-09-08 21:06:08 +02:00
Chapuis Bertil
4e12e6080b integrated the rest backend in the tests 2015-09-07 23:45:03 +02:00
Chapuis Bertil
4fbfca0c31 Simple REST backend 2015-09-07 14:54:04 +02:00
Alexander Neumann
76b1f017c0 Merge pull request #290 from bchapuis/fix-289
Load the index and search subtree
2015-09-01 21:08:21 +02:00
Chapuis Bertil
c765688779 find command integration tests 2015-08-28 19:31:05 +02:00
Chapuis Bertil
d4686ebcc5 Load the index and search subtree 2015-08-27 23:21:44 +02:00
Alexander Neumann
f653aca0ed Merge pull request #287 from restic/fix-279
Remove tests for directories
2015-08-27 22:07:07 +02:00
Alexander Neumann
0a457eafed Correctly test for config file 2015-08-26 22:06:52 +02:00
Alexander Neumann
b211f834fa Remove tests for directories
For testing whether a repository already exists it is sufficient to
test if the config file (and therefore the master key) exists.

Closes #279
2015-08-26 21:51:40 +02:00
Alexander Neumann
9aefc2b7a6 Merge pull request #281 from restic/version-with-git
build.go: use new combined version string
2015-08-26 20:53:24 +02:00
Alexander Neumann
10f0d7ccac Merge pull request #280 from restic/ldflags-go1.5
build.go: Make `-ldflags` compatible to Go 1.5
2015-08-26 20:33:43 +02:00
Alexander Neumann
cb460b7dec Merge pull request #285 from howeyc/fix-aws-v4
Use new version of s3 library, Fixes #276
2015-08-26 20:20:32 +02:00
Alexander Neumann
39a82d951b Refactor getVersion(), address code review comments 2015-08-26 20:17:51 +02:00
Alexander Neumann
a54f9715b1 Add "build: " prefix to verbose messages 2015-08-26 20:03:26 +02:00
Alexander Neumann
4c47c2b2c9 Address code review comments 2015-08-26 20:03:16 +02:00
Chris Howey
ccb2f00b8a typo 2015-08-26 07:54:39 -05:00
Chris Howey
3bf447b422 Update tests for new s3 lib 2015-08-26 07:44:00 -05:00
Chris Howey
10cd672a92 Use new version of s3 library, Fixes #276 2015-08-26 06:25:05 -05:00
Alexander Neumann
f3c64d0740 build.go: use new combined version string
Previously, when a VERSION file exists it takes precendence over the
git version. This is unfortunate because all restic binaries compiled
from a git checkout will just identify as the latest release (e.g.
'0.1.0'), regardeless of any commits on top of it.

This commit adds a combined version string by using the contents of
the VERSION file, and append the current git version returned by `git
describe` if available, e.g.:

    0.1.0 (v0.1.0-6-gb188217-dirty).
2015-08-25 22:20:53 +02:00
Alexander Neumann
dca200c2e9 build.go: Make -ldflags compatible to Go 1.5
This change uses the old syntax (-ldflags "-X foo bar") for Go <= 1.4
and the new syntax for (-ldflags "-X foo=bar") for Go 1.5 (without a
warning).
2015-08-25 22:07:52 +02:00
Alexander Neumann
b188217e83 Merge pull request #274 from restic/fix-documentation
Documentation fixes
2015-08-22 23:07:31 +02:00
Alexander Neumann
3a50c2bbfb Fix docs 2015-08-22 23:03:25 +02:00
Alexander Neumann
e0e9cd8680 More documentation fixes 2015-08-22 15:09:53 +02:00
Alexander Neumann
b6872fb454 Clarify documentation about MAC key 2015-08-22 15:09:21 +02:00
Florian Daniel
3f3cca8f2a Merge pull request #273 from restic/fix-124
fix typo in Readme
2015-08-22 00:01:35 +02:00
Florian Daniel
647ee5b74a fix typo in Readme 2015-08-21 23:53:59 +02:00
Alexander Neumann
16e87d7208 add VERSION file for 0.1.0 2015-08-21 22:20:57 +02:00
Alexander Neumann
577a1bb232 Merge pull request #264 from restic/fix-124
WIP: cleanup readme
2015-08-21 22:19:14 +02:00
Florian Daniel
8b485c59fc Update README and Design documentation 2015-08-21 22:14:37 +02:00
Florian Daniel
34d7a674f8 cleanup readme 2015-08-21 22:12:12 +02:00
Alexander Neumann
228cafaab0 Remove warning, add note about compatibility 2015-08-21 22:00:12 +02:00
Alexander Neumann
fdbff14e78 Merge pull request #271 from restic/go1.5
travis: add go1.5
2015-08-20 20:58:33 +02:00