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
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