Jarek Kowalski
b6abef96e6
Merge github.com:kopia/repo into import-repo
2019-05-27 15:41:55 -07:00
Jarek Kowalski
a6a153b22e
switched fmt.Errorf() to errors.Wrap()
2019-05-11 12:34:14 -07:00
Jarek Kowalski
142bfa3622
site: included logging-related flags, cleanup
2019-05-09 23:00:07 -07:00
Jarek Kowalski
bdafe117d9
Makefile: switched linter to golangci-lint and updated goveralls setup
...
fixed lint errors & removed .gometalinter config
2019-04-01 19:22:01 -07:00
Jarek Kowalski
fdfd336d6e
lint: fixed various linter issues
2019-04-01 18:59:48 -07:00
Jarek Kowalski
2e297dc60d
repo: upgraded to latest version, removed format block settings from repository create, instead --encryption=NONE disables encryption of both blocks and format
2019-01-12 09:24:12 -08:00
Jarek Kowalski
766f574973
repo: removed controls for setting format block encryption, instead when block encryption is enabled, the format block is automatically encrypted using default encryption algorithm
2019-01-12 09:14:34 -08:00
Jarek Kowalski
db9759bf3a
upgraded repo
2018-12-31 19:10:21 -08:00
Jarek Kowalski
840d5ab749
removed support for legacy block format, to migrate sync to previous commit and run 'kopia repo upgrade'
2018-12-31 19:01:08 -08:00
Jarek Kowalski
0b89cbef3b
cli: added 'repo upgrade' command that invokes Repository.Upgrade()
2018-12-31 17:12:30 -08:00
Jarek Kowalski
24bd5bbe1f
repo: added Repository.Upgrade() API
2018-12-31 17:08:41 -08:00
Jarek Kowalski
b4c80348f8
object: removed dependency on jsonstream for parsing indirect objects
2018-12-31 14:21:47 -08:00
Jarek Kowalski
a6a9729f71
upgraded repo to v0.2.0
2018-12-29 15:14:29 -08:00
Jarek Kowalski
6e8a48ed4f
Revamped hash and encryption algorithm handling.
...
This enables many more combinations of hash and encryption algorithm
to be selected, some with dramatically better performance.
2018-12-29 15:08:29 -08:00
Jarek Kowalski
7d03d82cd1
retry: added tests for retry loop
2018-12-23 23:20:29 -08:00
Jarek Kowalski
53b4a9abd2
jsonstream: added test cases
2018-12-23 23:04:12 -08:00
Jarek Kowalski
641b25a508
repo: added tests for Disconnect()
2018-12-23 21:12:53 -08:00
Jarek Kowalski
160d02a6eb
block cache: fixed a bug where we remove wrong item from the cache, added tests
2018-12-23 11:59:17 -08:00
Jarek Kowalski
a673d36b1d
lint: ran gofmt -s and fixed spelling
...
as recommended by goreportcard.com
2018-11-07 17:46:57 -08:00
Jarek Kowalski
88e5525436
snapshotfs: merged internal/dir into snapshotfs
2018-11-03 11:47:02 -07:00
Jarek Kowalski
45ce0b35b1
snapshot: moved dir.Entry to snapshot.DirEntry
2018-11-03 11:44:19 -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
82653d3736
packindex: merged package into /block, removed unnecessary visibility and dead code
2018-10-31 21:14:19 -07:00
Jarek Kowalski
8dee493bf3
storagetesting: added test case for zero length
2018-10-27 12:20:00 -07:00
Jarek Kowalski
7196891d17
storagetesting: added Close()
2018-10-27 12:09:30 -07:00
Jarek Kowalski
4237bbc42a
storagetesting: verify progress callbacks
2018-10-27 12:07:54 -07:00
Jarek Kowalski
4b4f9240df
storage: additional storage tests, added GCS test suite
2018-10-27 11:38:51 -07:00
Jarek Kowalski
0c67743168
storagetesting: new test cases
2018-10-27 08:47:36 -07:00
Jarek Kowalski
6170e5423e
fixed build break
2018-10-26 20:49:49 -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
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
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
d47f662316
refactoring: moved kopia/kopia/policy to kopia/kopia/snapshot/policy
2018-10-20 09:55:52 -07:00
Jarek Kowalski
f43eae0493
packindex: removed dead code
2018-10-19 17:26:11 -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
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
4270d8a67f
policy: refactored retention policy to be applied in policy.ApplyRetentionPolicy()
2018-09-16 12:48:07 -07:00
Jarek Kowalski
304b43d27c
cli: additional output options for 'block list'
2018-09-15 17:32:58 -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
4cf73fdd0f
moved storagetesting to kopia/internal
2018-09-08 11:08:51 -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
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
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