Commit Graph

3660 Commits

Author SHA1 Message Date
Jarek Kowalski
834279e497 Added Go 1.11 module 2018-10-26 17:36:39 -07:00
Jarek Kowalski
e458ee24d8 imported github.com/kopia/kopia/repo and renamed package path to github.com/kopia/repo/ 2018-10-26 17:33:58 -07:00
Jarek Kowalski
45101e3eca Initial commit 2018-10-26 17:28:49 -07:00
Jarek Kowalski
a824c96271 refactor: repo.NewRepositoryOptions 2018-10-23 21:37:30 -07:00
Jarek Kowalski
dd1c0943cd refactor: moved config file management to kopia/kopia/repo
also fixed layering issue and removed dependency from 'object'
on 'config'
2018-10-23 19:43:43 -07:00
Jarek Kowalski
3a4b581814 snapshot: added tests 2018-10-21 22:46:38 -07:00
Jarek Kowalski
c999c0fba8 moved fs/repofs to snapshot/snapshotfs 2018-10-20 11:36:14 -07:00
Jarek Kowalski
d47f662316 refactoring: moved kopia/kopia/policy to kopia/kopia/snapshot/policy 2018-10-20 09:55:52 -07:00
Jarek Kowalski
123673b5be coverage: actually enable on travis 2018-10-20 09:33:32 -07:00
Jarek Kowalski
bcbab79dd0 coverage: updated 'go test' command to include all packages
previously the coverage for each package only included lines covered by tests in the same package,
excluding end-to-end tests
now, we get very different coverage numbers...
2018-10-20 09:20:08 -07:00
Jarek Kowalski
f43eae0493 packindex: removed dead code 2018-10-19 17:26:11 -07:00
Jarek Kowalski
c91a71fa7c repo: fixed broken end-to-end test 2018-10-19 17:25:55 -07:00
Jarek Kowalski
a0d068e2a8 packindex: improved code coverage of packindex package, added fuzz testing 2018-10-18 14:33:43 -07:00
Jarek Kowalski
6633e71ae5 block: cleanup 2018-10-17 18:02:44 -07:00
Jarek Kowalski
2f8481b9d4 repo: removed TESTONLY_MD5 algorithm everywhere 2018-10-17 17:58:35 -07:00
Jarek Kowalski
09d41a27d3 repo/block: switched repository_test to use SHA256 and fixed bug that prevented this format from working 2018-10-17 17:45:12 -07:00
Jarek Kowalski
e513fdeb28 removed golint dependency 2018-10-13 12:14:42 -07:00
Jarek Kowalski
321aad75b5 added storage.ConfigInfo roundtripping tests 2018-10-13 12:07:06 -07:00
Jarek Kowalski
fc76fdd44a storage/webdav: fixed build/lint errors 2018-10-09 17:50:02 -07:00
Jarek Kowalski
42cbb0e572 storage/webdav: switched to using 'github.com/studio-b12/gowebdav' instead of homegrown implementation of webdav client 2018-10-09 17:03:34 -07:00
Jarek Kowalski
c585f50be5 storage/s3: reenabled s3 test 2018-10-09 17:03:22 -07:00
Jarek Kowalski
db565f041e storage/webdav: fixed webdav provider, re-enabled tests 2018-10-08 21:11:24 -07:00
Jarek Kowalski
56701478d0 added coverage badge 2018-10-07 11:14:57 -07:00
Jarek Kowalski
560e5c37b9 added coveralls code coverage 2018-10-06 20:11:54 -07:00
Jarek Kowalski
3d61b4b39b cli: fixed some 'diff' issues and added integration test 2018-10-06 11:32:54 -07:00
Jarek Kowalski
77aef5d02e cli: added 'diff' command which compares two directories and optionally emits unified diff 2018-10-06 09:55:36 -07:00
Jarek Kowalski
800c95dc41 cli: 'snap list' switched to ellided snapshot list by default (can be changed with '-a') 2018-10-06 09:55:36 -07:00
Jarek Kowalski
f4573f089e removed 'object' subcommand and flattened children directly under app 2018-10-06 09:55:12 -07:00
Jarek Kowalski
3c26be391a added global hidden --timezone flag for changing the timezone in which the timestamps are displayed 2018-10-06 09:54:43 -07:00
Jarek Kowalski
fbffab8bc9 cli: create global policy when repository is created 2018-09-29 09:51:15 +02:00
Jarek Kowalski
4270d8a67f policy: refactored retention policy to be applied in policy.ApplyRetentionPolicy() 2018-09-16 12:48:07 -07:00
Jarek Kowalski
41eaed003a cli: added 'snapshot list --skip-identical option to shorten the output 2018-09-16 10:01:03 -07:00
Jarek Kowalski
d8398c4a58 cli: added auto-expiration of snapshots at the end of an upload 2018-09-15 22:17:39 -07:00
Jarek Kowalski
61bdd33439 block: added compaction options to exclude deleted blocks and force compaction of large blocks 2018-09-15 17:43:00 -07:00
Jarek Kowalski
304b43d27c cli: additional output options for 'block list' 2018-09-15 17:32:58 -07:00
Jarek Kowalski
ee2d60214e cli: added 'block list --deleted-only' option 2018-09-15 15:25:28 -07:00
Jarek Kowalski
daa5e2adc9 cleanup 2018-09-15 14:48:00 -07:00
fossabot
5176db65c6 Add license scan report and status
Signed-off-by: fossabot <badges@fossa.io>
2018-09-15 12:54:40 -07:00
Jarek Kowalski
0378649d9b removed excessive logging from block cache 2018-09-14 20:02:08 -07:00
Jarek Kowalski
d0abb4fd36 fixed lint error 2018-09-14 19:39:59 -07:00
Jarek Kowalski
210d165148 changed how cache sweep is performed to use heap instead of loading and sorting everything in-memory 2018-09-14 19:10:42 -07:00
Jarek Kowalski
09408a5782 updating timestamp on block cache access to have actual LRU semantics 2018-09-14 18:51:56 -07:00
Jarek Kowalski
08d62d60f1 revamped progress bar by including hashing and uploading part separately 2018-09-14 11:56:48 -07:00
Jarek Kowalski
636837317b added 'block verify' subcommand 2018-09-13 19:33:12 -07:00
Jarek Kowalski
a922c2b568 s3: fixed off-by-one error in s3_storage.GetBlock(), added more tests
added progress reporting to s3 provider
2018-09-13 19:33:12 -07:00
Jarek Kowalski
69782d2abe refactored cache commands 2018-09-13 19:33:12 -07:00
Jarek Kowalski
906b8eaee3 plumbed through context to all manifest manager methods and switched to lazy initialization 2018-09-13 15:34:29 -07:00
Jarek Kowalski
f2c7c29a57 fixed travis build 2018-09-10 19:31:57 -07:00
Jarek Kowalski
3d0ab23c03 switched release process to using goreleaser 2018-09-10 18:55:10 -07:00
Jarek Kowalski
93e03635fe added dist/ to .gitignore 2018-09-09 18:24:12 -07:00