Alexander Neumann
fd2365724e
Remove unneded variables
2015-08-20 19:45:04 +02:00
Alexander Neumann
9f7346354b
CI: only run gox -build-toolchain for Go < 1.5
2015-08-20 19:42:40 +02:00
Alexander Neumann
94eebbaa88
travis: add go1.5
2015-08-20 19:21:53 +02:00
Alexander Neumann
d7426a72f4
Revert "travis: remove unneeded GOPATH definition from"
...
This reverts commit 3eac8061f9
.
2015-08-20 19:21:35 +02:00
Alexander Neumann
864579404c
Merge pull request #268 from restic/cross-compile-windows
...
CI: Add Windows
2015-08-20 19:11:46 +02:00
Alexander Neumann
3eac8061f9
travis: remove unneeded GOPATH definition from
2015-08-20 19:08:09 +02:00
Alexander Neumann
7ebf5397a3
clean up Makefile
2015-08-20 19:05:19 +02:00
Alexander Neumann
0cdbde1bd0
Remove unneeded comments
2015-08-20 18:54:24 +02:00
Alexander Neumann
4755fff37f
README: Add appveyor build status
2015-08-19 22:20:44 +02:00
Alexander Neumann
2644722198
Reset read-only flag before removing
2015-08-19 22:02:47 +02:00
Alexander Neumann
10232155ef
build.go: make sure to exit 1 on error
2015-08-19 21:40:36 +02:00
Alexander Neumann
5d51c8ffcd
lock: fix merge error, use processExists()
2015-08-19 21:14:15 +02:00
Alexander Neumann
b8c0935f8a
tests: use internal bzip2/gzip implementation
2015-08-19 21:00:17 +02:00
Alexander Neumann
7079e46642
appveyor: download tar
2015-08-19 21:00:11 +02:00
Alexander Neumann
d21b782119
appveyor: use run_integration_tests.go
2015-08-19 20:45:54 +02:00
Alexander Neumann
23845b071b
integration: compile on current architecture by default
2015-08-19 20:44:37 +02:00
Alexander Neumann
527593c6df
ci test: add message prefix
2015-08-19 20:29:06 +02:00
Alexander Neumann
5b21d67a49
lock_test: correct merge error, use offset 500k
2015-08-19 20:25:59 +02:00
Alexander Neumann
2df7ed6c9b
fix brew cask
on darwin
2015-08-19 20:24:53 +02:00
Alexander Neumann
f0c8b11793
cleanup travis config, add run_integration_tests.go
2015-08-19 20:24:52 +02:00
Alexander Neumann
59751645be
build.go: allow running tests in temporary GOPATH
2015-08-19 20:24:52 +02:00
Alexander Neumann
a37431e963
appveyor: run build.go, use workspace from godeps
2015-08-19 20:23:52 +02:00
Alexander Neumann
b34c53d39b
windows: fix nil pointer reference
2015-08-19 20:23:52 +02:00
Alexander Neumann
f2dbdcb9e8
Add appveyor config
2015-08-19 20:23:52 +02:00
Alexander Neumann
90d1414331
Cross-compile on windows
2015-08-19 20:23:52 +02:00
Alexander Neumann
ac7965aca2
Merge pull request #269 from restic/build_without_git
...
Allow building without git
2015-08-19 16:40:24 +02:00
Florian Weingarten
38f1a8d0a9
Allow building without git
2015-08-19 00:35:34 -04:00
Alexander Neumann
cd4cc1daec
Merge pull request #261 from restic/fix-260
...
locks: fix testing stale locks created on other hosts
2015-08-18 22:53:52 +02:00
Alexander Neumann
9367c57bcc
Merge pull request #267 from bchapuis/fix-254
...
test the GetReader() function
2015-08-18 22:48:33 +02:00
Alexander Neumann
a4cb8995a8
Merge pull request #266 from bchapuis/fix-263
...
Update the progress status with the ticker
2015-08-18 22:47:14 +02:00
Alexander Neumann
fcb769fa3b
Merge pull request #262 from restic/fix-tests
...
Fix tests
2015-08-18 22:45:50 +02:00
Alexander Neumann
1a47ea4ab8
test helpers: add RemoveAll and ResetReadOnly
...
This is mainly needed in Windows, where files and dirs cannot be
removed unless they are writeable.
2015-08-18 21:40:40 +02:00
Alexander Neumann
36ed3add3a
add build constraints for windows
2015-08-18 21:40:40 +02:00
Alexander Neumann
47219a790f
crypto tests: remove dependency on /dev/urandom
2015-08-18 21:40:40 +02:00
Alexander Neumann
c228a212b0
SetupTarTestFixture: don't depend on "sh"
2015-08-18 21:40:40 +02:00
Alexander Neumann
4f8cc1180d
Vagrantfile: Disable default rsync on /vagrant
2015-08-18 21:40:39 +02:00
Alexander Neumann
3ac04257a4
fuse: disable for OpenBSD
2015-08-18 21:40:39 +02:00
Alexander Neumann
a820719c07
Merge pull request #259 from klauspost/windows-support-rebased
...
Add Windows support
2015-08-18 20:25:58 +02:00
Chapuis Bertil
bc5e0fa68f
test the reader obtained with GetReader()
2015-08-18 17:57:06 +02:00
Chapuis Bertil
513be4b8ab
test the GetReader() function
2015-08-18 15:15:17 +02:00
Chapuis Bertil
9d1c03f56e
Update progress status when necessary
2015-08-18 12:57:05 +02:00
klauspost
8a2d7ff2bc
Add default cache location for Windows.
...
Primary place for Windows cache is %APPDATA%\restic.
If that environment variable isn't set, we create a 'restic'
folder in the 'temp' directory.
2015-08-17 14:17:54 +02:00
klauspost
21ab5a488d
Allow filter patterns/paths to be both '/' and os.PathSeparator
...
This converts filepath.Separator to '/', if it isn't already.
This allows both native paths and patterns, as well as a mix of them.
Added tests.
2015-08-17 11:48:24 +02:00
klauspost
a3570af500
Create separate disEntry.equals for Windows.
...
Windows does not have UID/GID the same way as unix,
so we don't attempt to compare them.
2015-08-17 11:10:12 +02:00
klauspost
d5dab39a4a
Disable FUSE test on Windows.
2015-08-17 11:02:04 +02:00
klauspost
73de59a615
Make check for non-existing paths OS independent.
2015-08-17 11:01:24 +02:00
Alexander Neumann
fbe746c261
locks: fix testing stale locks created on other hosts
...
Closes #260
2015-08-16 16:24:04 +02:00
Klaus Post
35bd8f80c0
Split out process check as separate function.
...
This will allow the checks to be changed for different operating systems.
Issue #260 is related to this, but this does not change any current behaviour.
2015-08-16 15:30:36 +02:00
Klaus Post
347e800b4e
Set output binary name in a variable.
2015-08-16 14:20:37 +02:00
Klaus Post
d6935d6625
Fix log message
...
'inode' isn't tested, so we don't want to imply that in the debug message.
2015-08-16 14:16:40 +02:00