Alexander Neumann
4ac0d3ad40
backend tests load: Use reader with Size() method
2017-05-13 19:56:11 +02:00
Harshavardhana
c7209ef231
api: Failed call retry with region only when http.StatusBadRequest.
...
Fixes https://github.com/minio/minio-go/issues/677
2017-05-13 19:53:24 +02:00
Alexander Neumann
0249c16b04
Revert "minio: Apply fix"
...
This reverts commit f43d34899d
.
2017-05-13 19:41:55 +02:00
Alexander Neumann
f43d34899d
minio: Apply fix
...
https://github.com/minio/minio-go/issues/677
2017-05-13 13:18:42 +02:00
Alexander Neumann
19daefd04e
Merge pull request #938 from restic/rework-backend-tests
...
WIP: rework backend integration tests
2017-05-12 22:09:57 +02:00
Alexander Neumann
ec5e984ed9
Increase waiting time for network services
2017-05-12 21:45:18 +02:00
Alexander Neumann
88de3cfecc
rest: Wait until REST server is started
2017-05-12 21:33:34 +02:00
Alexander Neumann
a654f41ddb
Add docstring for package test
2017-05-12 21:19:32 +02:00
Alexander Neumann
fbf2462325
Rename backend test functions
2017-05-12 21:06:49 +02:00
Alexander Neumann
85e4831198
Remove stuff from run_integration_tests.go
2017-05-12 21:04:04 +02:00
Alexander Neumann
091dc29f72
doc: Fix s3 tutorial
2017-05-12 21:04:04 +02:00
Alexander Neumann
59d1986660
s3: Use random prefix for tests
2017-05-12 21:04:04 +02:00
Alexander Neumann
db4fa48f66
rest: Add context
2017-05-12 21:04:04 +02:00
Alexander Neumann
f2b83ece10
s3: Ignore errors for terminated minio server
2017-05-12 21:04:04 +02:00
Alexander Neumann
860b52273e
s3: Add tests for AWS
2017-05-12 21:04:04 +02:00
Alexander Neumann
bafceb56fb
s3: Convert to test suite, run Minio automatically
2017-05-12 21:04:04 +02:00
Alexander Neumann
9271b3662a
sftp: ignore error
2017-05-12 21:04:04 +02:00
Alexander Neumann
554013ca9f
rest: Convert to test suite
2017-05-12 21:04:04 +02:00
Alexander Neumann
3250fdc2ca
mem: Convert to test suite
2017-05-12 21:04:04 +02:00
Alexander Neumann
3678d34b16
sftp: Convert to test suite
2017-05-12 21:04:04 +02:00
Alexander Neumann
16276853a1
local: Convert to test suite
2017-05-12 21:04:04 +02:00
Alexander Neumann
f10c24e404
Improve test helpers
2017-05-12 21:04:04 +02:00
Alexander Neumann
6f5fd72738
Implement test suite for backend tests
2017-05-12 21:03:55 +02:00
Pauline Middelink
103a491ac0
Make houndci-bot happy.
2017-05-11 22:38:12 +02:00
Pauline Middelink
929f90344e
Change backup policy to be inclusive, meaning all given policies
...
are evaluated for each snapshot, thereby making sure that each
keep-* is able to retain its most recent snapshot. Thereby insuring
that weeklies keep Sundays around and monthlies keep the last day of
the month around.
Added testcase to make sure when multiple --keep-tags are given,
ALL of them need to match.
2017-05-11 22:34:50 +02:00
Alexander Neumann
a963052d64
Add custom HTTP transport
2017-05-11 21:51:30 +02:00
Alexander Neumann
898613e14f
debug: Add RoundTripper
2017-05-11 21:51:30 +02:00
Alexander Neumann
b84e63d503
backend.LoadAll: Check errors from io.Copy()
2017-05-11 21:51:30 +02:00
Alexander Neumann
63870d2830
Check error for Close()
2017-05-11 21:51:30 +02:00
Alexander Neumann
54e46f5984
Add MinimalData option for backend tests
2017-05-11 21:51:30 +02:00
Alexander Neumann
0096eca7fe
Install log buffer for global logs
...
This hides logged message from the net/http library and only shows them
in case an error occurs.
2017-05-11 21:51:30 +02:00
Pauline Middelink
ce3acbd30a
Remove unused SnapshotFilter and FilterSnapshots().
2017-05-11 21:07:58 +02:00
Alexander Neumann
c5ae5524ff
Remove codecov.yml
2017-05-10 20:52:06 +02:00
Alexander Neumann
fbf5a8123b
Merge pull request #952 from restic/remove-temp-files
...
Unlink tempfiles before using them
2017-05-10 20:25:07 +02:00
Alexander Neumann
edbd6ad584
Add fs.TempFile and fs.RemoveIfExists
2017-05-10 19:48:22 +02:00
Alexander Neumann
faf11c4a46
Fix link in README.rst
...
closes #950
2017-05-08 21:31:11 +02:00
Alexander Neumann
68a9e5f963
Merge pull request #947 from restic/correct-codecov
...
codecov.io: Add path fixes
2017-05-07 10:59:20 +02:00
Alexander Neumann
fa7f0ef44f
codecov.io: Add path fixes
2017-05-07 10:41:32 +02:00
Alexander Neumann
bcfe7afbfd
Merge pull request #945 from middelink/fix-942
...
Add bash autocompletion generation
2017-05-07 10:30:10 +02:00
Alexander Neumann
46e6e8984d
Merge pull request #941 from restic/improve-mkdir
...
local/sftp: Auto create directories if needed
2017-05-07 10:26:39 +02:00
Alexander Neumann
0f057bd440
Merge pull request #943 from middelink/fix-names
...
Small changes to cmd_forget and snapshot_filter
2017-05-07 10:15:21 +02:00
Alexander Neumann
ba91a76f5f
Merge pull request #946 from restic/update-minio-go
...
Update github.com/minio/minio-go
2017-05-07 09:54:55 +02:00
Alexander Neumann
c09e005cc8
Update github.com/minio/minio-go
...
This corrects a severe performance regression when the current minio
server is used as a backend, see
https://github.com/minio/minio/issues/4275
2017-05-07 09:36:49 +02:00
Pauline Middelink
2c42629c51
Add bash autocompletion generation
...
Fix #942
2017-05-06 12:39:23 +02:00
Pauline Middelink
f93e5a39e5
Small textual changes to apply, to reflect actual meaning.
...
Added tests for the ExpirePolicy operations.
2017-05-04 16:39:41 +02:00
Pauline Middelink
02eafe94b3
Use global context in cmd_forget, like all other cmds
2017-05-04 16:35:35 +02:00
Alexander Neumann
7d914768bb
local/sftp: Auto create directories if needed
...
As reported in #940
2017-05-03 21:19:22 +02:00
Alexander Neumann
db6541b24c
Merge pull request #936 from Thor77/manual-fix-rst-links
...
Fix links broken during conversion to rst
2017-04-30 19:08:20 +02:00
Thor77
228566c0a1
Fix links broken during conversion to rst
2017-04-30 18:25:45 +02:00
Alexander Neumann
1e4bcf3367
design.rst: Fix tree IDs in example
...
Closes #913
2017-04-29 20:15:30 +02:00