Commit Graph

217 Commits

Author SHA1 Message Date
Jarek Kowalski
18532f736b cli: fixed linter warning 2018-12-29 15:29:21 -08:00
Jarek Kowalski
1cd927c8fc cli: added 'block cryptobenchmark' subcommand 2018-12-29 15:14:49 -08:00
Jarek Kowalski
a6a9729f71 upgraded repo to v0.2.0 2018-12-29 15:14:29 -08:00
Jarek Kowalski
45ce0b35b1 snapshot: moved dir.Entry to snapshot.DirEntry 2018-11-03 11:44:19 -07:00
Jarek Kowalski
4edd0a13bb cli: swapped object ID and file name in ls output 2018-11-03 11:35:31 -07:00
Jarek Kowalski
242d012a54 removed fs.EntryMetadata and replaced fs.Entry with os.FileInfo + small additions 2018-11-03 11:28:06 -07:00
Jarek Kowalski
bb4c6674c7 snapshotfs: merged internal.Upload into snapshotfs 2018-11-03 08:39:07 -07:00
Jarek Kowalski
327d8317d8 refactored repo/ into separate github.com/kopia/repo/ git repository 2018-10-26 20:40:57 -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
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
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
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
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
59a3f4beec switched to stable version of gopkg.in/cheggaaa/pb.v1 2018-09-09 16:17:08 -07:00
Jarek Kowalski
1b014c875a simplified repository API password handling.
completely rewrote password storage:

- by default passwords are kept in OS-specific keyring (Keychain on macOS,
Windows Credentials Manager on Windows), which can be optionally disabled
to store password in a local file.

- on Linux keychain is disabled by default (does not work reliably
in terminal sessions), but can be enabled using command-line flag.
2018-09-07 21:34:31 -07:00
Jarek Kowalski
1bbc169c0d added missing package godoc, fixed test paths 2018-08-31 19:12:58 -07:00
Jarek Kowalski
6d2d663cac moved CLI storage support to cli/ 2018-08-30 22:08:55 -07:00
Jarek Kowalski
91066f2469 reorganized low-level repository packages by moving them all under kopia/kopia/repo/ 2018-08-30 22:01:05 -07:00
Jarek Kowalski
6484a55d7c removed policy.Manager and snapshot.Manager and switched to package-level function interface instead 2018-08-30 06:47:58 -07:00
Jarek Kowalski
a44c9554c0 refactored upload to separate package 2018-08-30 06:21:40 -07:00
Jarek Kowalski
3ef4593b03 refactored policy management into separate policy/ package 2018-08-29 23:08:40 -07:00
Jarek Kowalski
9060e7d310 moved repository VFS nodes into fs/repofs/ package 2018-08-29 22:56:23 -07:00
Jarek Kowalski
0f20965143 added 'blockindex recover' tests 2018-08-25 16:30:11 -07:00
Jarek Kowalski
5dd755fcec added support for index recovery from pack files, work in progress 2018-08-25 16:29:32 -07:00
Jarek Kowalski
6587ade1f9 cli: added 'policy edit' command which launches an editor and allows user to edit policy JSON directly 2018-08-20 19:07:44 -07:00
Jarek Kowalski
864b763cc0 progress: output the # of files in each directory 2018-08-19 11:48:55 -10:00
Jarek Kowalski
1ff003c820 added internal lib for gitignore-style pattern matching
added 'ignorefs' which transparently hides all files according to .kopiaignore, which is very similar to .gitignore
2018-08-19 11:48:55 -10:00
Jarek Kowalski
5d73d18347 removed Parent from fs.Entry 2018-08-19 11:32:17 -10:00
Jarek Kowalski
9a3a2da5fa fixed stdout output of 'expire' 2018-07-27 18:28:58 -07:00
Jarek Kowalski
b2b34c1dea reacted to a change in gometalinter that failed the build 2018-07-10 06:19:22 -07:00
Jarek Kowalski
c57531b751 switched Go logging library to github.com/op/go-logging which lets us override log levels per module 2018-07-09 21:28:12 -07:00
Jarek Kowalski
00db1abb35 added --html option to 'kopia server' which allows colocating HTML apps on the same port 2018-07-01 13:16:58 -07:00
Jarek Kowalski
94965997e8 switched storage logging to be on by default 2018-06-23 13:50:11 -07:00
Jarek Kowalski
ba6419339a refactored storage.ListBlocks() to be callback based which simplifies usage significantly 2018-06-23 13:47:43 -07:00
Jarek Kowalski
83036f1a0d upload progress 2018-06-23 13:10:54 -07:00