Commit Graph

18 Commits

Author SHA1 Message Date
Jarek Kowalski
50aead87e5 added local FS logging option --trace-localfs 2016-08-27 12:03:05 -07:00
Jarek Kowalski
50370ae96a cleaned up fs/ contents - extracted fs/localfs/ and fs/loggingfs/ moved repofs/ to fs/repofs/ 2016-08-27 11:26:16 -07:00
Jarek Kowalski
940e63832d Moved ObjectID and BundledChildren out of EntryMetadata and into repofs.dirEntry.
Fixed metadata hashing of bundles.
2016-08-27 10:45:45 -07:00
Jarek Kowalski
38fc47e2f1 Continuing the API cleanup, Created internal/dirstream, internal/mockfs, repo/repofs and upload packages. 2016-08-26 21:26:35 -07:00
Jarek Kowalski
ef4a3e4ed1 changed repo.Repository to be opaque struct 2016-08-25 23:23:05 -07:00
Jarek Kowalski
57f03fc43d added experimental bundles support 2016-08-22 06:25:27 -07:00
Jarek Kowalski
e528b32748 Major refactoring of data formats to use protobuf instead of JSON. This is a breaking change to data formats, but hoping to stabilize soon.
This change removes lots of pointless string and custom format parsing code and instead relies on protobuf to do the thing. JSON is still an option thanks to proto3-generated output.

- Refactored ObjectID to use protobuf
- Indirect blocks to use protobuf (in the form of seek table)
- Added generic proto stream reader and writer
- ObjectIDFormat became proto enum

Also:

- fixed major issue where indirect object ID entries were not encrypted, since they were storing block IDs and not object IDs.
- dropped support for majority of formats, only supporting HMAC-{SHA256,SHA512,SHA512_384} hashes with AES256.
This produces object IDs of 32 or 64 characters long.
- changed how pretty-printing works for 'kopia show'
2016-08-20 16:59:10 -07:00
Jarek Kowalski
342eab2db8 Major refactoring of 'fs' package.
fs.Entry - represents filesystem entry
fs.Directory - is a directory entry
fs.Symlink - is a symlink entry
fs.File - is an entry representing a file

This simplifies a bunch of code. Still work in progress.
2016-07-24 10:40:44 -07:00
Jarek Kowalski
73ab29fcef added missing package doc files 2016-06-13 20:35:22 -07:00
Jarek Kowalski
9496fa40cb more commands 2016-05-30 21:51:09 -07:00
Jarek Kowalski
e5f646e32d various tweaks 2016-05-16 18:32:15 -07:00
Jarek Kowalski
8e96665ffe renamed cas to repo, general cleanup 2016-05-10 06:50:08 -07:00
Jarek Kowalski
0fde408a58 backup to vault, list backups in vault 2016-05-10 06:17:46 -07:00
Jarek Kowalski
897b866e59 renamed ObjectManager to repository 2016-04-29 18:54:03 -07:00
Jarek Kowalski
d127f20f68 changed blob.BlockID to string 2016-04-29 18:49:18 -07:00
Jarek Kowalski
4022a55c95 added docs 2016-04-26 20:04:19 -07:00
Jarek Kowalski
78f0a3c6bf backup generator with hash caching 2016-04-24 20:23:22 -07:00
Jarek Kowalski
42a6aec704 work in progress 2016-04-23 13:36:16 -07:00