summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-11-18Merge branch 'liw/clap4' into 'main'HEADmainLars Wirzenius2-72/+64
chore: update dependencies, including clap to v4 See merge request obnam/obnam!245
2022-11-18chore: update dependencies, including clap to v4Lars Wirzenius2-72/+64
Sponsored-by: author
2022-11-12Merge branch 'liw/chore' into 'main'Lars Wirzenius5-11/+11
fix: unnecessary borrows, other things found by clippy See merge request obnam/obnam!244
2022-11-12fix: unnecessary borrows, other things found by clippyLars Wirzenius5-11/+11
Sponsored-by: author
2022-11-02Merge branch 'fix/subplot' into 'main'Lars Wirzenius1-1/+2
fix: obnam.subplot to work with current Subplot See merge request obnam/obnam!243
2022-11-02fix: obnam.subplot to work with current SubplotLars Wirzenius1-1/+2
Sponsored-by: author
2022-11-02Merge branch 'liw/version' into 'main'Lars Wirzenius1-1/+1
fix: put back --version See merge request obnam/obnam!242
2022-11-02fix: put back --versionLars Wirzenius1-1/+1
Sponsored-by: author
2022-10-28Merge branch 'liw/tidy-up' into 'main'Lars Wirzenius2-78/+0
chore: drop IndexedStore, which wasn't used anywhere, anymore See merge request obnam/obnam!241
2022-10-28chore: drop IndexedStore, which wasn't used anywhere, anymoreLars Wirzenius2-78/+0
Sponsored-by: author
2022-10-28Merge branch 'liw/minoru-async-store' into 'main'Lars Wirzenius8-211/+366
feat: add a new ChunkStore to store chunks locally or remotely See merge request obnam/obnam!240
2022-10-28feat! finish chunk store abstractionLars Wirzenius4-63/+16
This builds on Alexander's work to show me how to get past the problem I had. There's additional changes to finish off the changes. Drop chunk deletion from server: it's not a good idea to have it until the server API is authenticated. Sponsored-by: author
2022-10-26Make LocalStore Sync (provide interior mutability)Alexander Batischev1-10/+15
2022-10-26stashLars Wirzenius1-11/+8
Sponsored-by: author
2022-10-26change put to take a vector of bytesLars Wirzenius2-12/+7
Sponsored-by: author
2022-10-26use new chunk store for all of client.rsLars Wirzenius3-53/+21
Sponsored-by: author
2022-10-26drop dead codeLars Wirzenius1-58/+0
Sponsored-by: author
2022-10-26impl backup client find client trusts with new chunk storeLars Wirzenius1-9/+3
Sponsored-by: author
2022-10-26use new chnunk store for backup client fetch_chunkLars Wirzenius1-3/+1
Sponsored-by: author
2022-10-26use new ChunkStore for remote has_chunkLars Wirzenius2-16/+14
Sponsored-by: author
2022-10-26feat: add a new ChunkStore to store chunks locally or remotelyLars Wirzenius2-0/+305
Sponsored-by: author
2022-10-23Merge branch 'liw/chore' into 'main'Lars Wirzenius1-1/+1
chore: use push_back instead of deprecated push See merge request obnam/obnam!239
2022-10-23chore: use push_back instead of deprecated pushLars Wirzenius1-1/+1
Sponsored-by: author
2022-10-23Merge branch 'refactor-clap' into 'main'Lars Wirzenius18-362/+454
refactor: use clap instead of structopt Closes #209 See merge request obnam/obnam!238
2022-10-23refactor: use clap instead of structoptLars Wirzenius18-362/+454
clap version 3 basically replaces structopt entirely. Sponsored-by: author
2022-09-09Merge branch 'fixes' into 'main'Lars Wirzenius8-33/+31
fix things so ./chec k passes for me again See merge request obnam/obnam!237
2022-09-09fix: use separate subplot YAML metadata file for new SubplotLars Wirzenius3-26/+25
Subplot has just made a breaking change: the subplot document metadata must be in a separate YAML file, not embedded in the markdown. This adapts Obnam to that. It's a little awkward that Subplot hasn't made a release of this yet, but as I use Subplot from git, I need this now. Sponsored-by: author
2022-09-09chore: tidy up things to satisfy clippyLars Wirzenius5-7/+6
Sponsored-by: author
2022-08-14Merge branch 'liw/api-threat-model' into 'main'Lars Wirzenius1-0/+17
docs: add threat model for wide-open API See merge request obnam/obnam!236
2022-08-14docs: add threat model for wide-open APILars Wirzenius1-0/+17
Sponsored-by: author
2022-08-14Merge branch 'liw/chunking' into 'main'Lars Wirzenius1-0/+147
docs: add thoughts about chunk splitting approached to obnam.md Closes #125 See merge request obnam/obnam!235
2022-08-14docs: add thoughts about chunk splitting approached to obnam.mdLars Wirzenius1-0/+147
Sponsored-by: author
2022-07-24Merge branch 'release' into 'main'v0.8.0Lars Wirzenius5-253/+299
chore: update dependency versions, deny.toml See merge request obnam/obnam!234
2022-07-24fix: drop depeneency on pbkdf2 to 0.10, for rustc 1.56.0Lars Wirzenius2-7/+7
Sponsored-by: author
2022-07-24fix: drop back to rpassword 5 so that Rust 1.56.0 worksLars Wirzenius3-4/+4
Sponsored-by: author
2022-07-24chore: update debian/changelog for releaseLars Wirzenius1-0/+6
Sponsored-by: author
2022-07-24chore: update version number for releaseLars Wirzenius3-3/+3
Sponsored-by: author
2022-07-24docs: update release notesLars Wirzenius1-0/+52
Sponsored-by: author
2022-07-24chore: update dependency versions, deny.tomlLars Wirzenius4-262/+250
This is part of release preparation. Sponsored-by: author
2022-07-17Merge branch 'liw/chore' into 'main'Lars Wirzenius3-6/+4
chore: make code more idiomatic, based on clippy warnings See merge request obnam/obnam!233
2022-07-17chore: make code more idiomatic, based on clippy warningsLars Wirzenius3-6/+4
Sponsored-by: author
2022-05-15Merge branch 'fix-link' into 'main'Lars Wirzenius1-2/+2
fix: links to tutorial, subplot rendered output Closes #211 See merge request obnam/obnam!232
2022-05-15fix: links to tutorial, subplot rendered outputLars Wirzenius1-2/+2
Sponsored-by: author
2022-05-10Merge branch 'liw/integer-test' into 'main'Lars Wirzenius6-56/+199
add tests for storing max integers (change FileId to signed) Closes #188 See merge request obnam/obnam!231
2022-05-03refactor: add a builder for file system entriesLars Wirzenius2-83/+145
The previous commit introduced a function to create FilesystemEntry values from arbitrary data. Previously one could only be created from std::fs::Metadata. This complicated our own testing, which (now) needs to construct an arbitrary entry structure. However, while the function added in the last commit was straightforward, it had 11 arguments, and that's hard to keep track of. Replace that function with an EntryBuilder struct, for clarity. Sponsored-by: author
2022-05-03test: add test for storing, retrieving u64::MAX values in JSONLars Wirzenius3-15/+77
The test passes. We create a FilesystemEntry with a length field containing u64::MAX, store that into a generation, and read it back. This works. The entry is serialised into JSON for storing in SQLite, and this proves we can handle any u64 value in an entry. serde_json deals with it fine, and we don't need to worry about it. Sponsored-by: author
2022-05-03feat! only store signed 64-bit plain integers in databaseLars Wirzenius1-1/+14
This is a breaking change, but allows to store the largest signed 64-bit integers in SQLite and get it back. Sponsored-by: author
2022-05-03refactor: add a type for plain integers we store in a databaseLars Wirzenius4-17/+23
This will make it easier to change later, if need be. We may want to do that for various reasons, such as to save space. We may also want to change things to only use integer types that SQLite can handle: u64 is currently not well handled by our database layer. However, as this is a refactor, there's no change or fix to that. FileId is now explicitly a database integer. This doesn't break anything, for now, as the underlying integer type is still u64. Also, change a couple of places where it will matter if DbInt changes away from u64, and disable warnings for harmless conversions that may cause warnings depending on what type DbInt has. Sponsored-by: author
2022-04-22Merge branch 'liw/gen-size' into 'main'Lars Wirzenius2-5/+45
show SQLite file size Closes #29 See merge request obnam/obnam!230
2022-04-22Merge branch 'liw/cachedir.tag-doc' into 'main'Lars Wirzenius1-1/+3
docs: add a note of why CACHEDIR.TAG itself gets backed up Closes #190 See merge request obnam/obnam!229