Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-08-01 | feat: add command to resolve a generation ref into a chunk id | Lars Wirzenius | 4 | -0/+39 | |
Sponsored-by: author | |||||
2021-07-31 | feat: configure log verbosity with OBNAM_SERVER_LOG envvar | Alexander Batischev | 4 | -4/+63 | |
Fixes #117. | |||||
2021-07-31 | Merge branch 'cleanups' into 'main' | Lars Wirzenius | 9 | -19/+19 | |
cleanup: fix things rustc/clipppy now complain about See merge request obnam/obnam!169 | |||||
2021-07-30 | cleanup: fix things rustc/clipppy now complain about | Lars Wirzenius | 9 | -19/+19 | |
Mostly https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow. Sponsored-by: author | |||||
2021-07-30 | Merge branch 'feature/112-cachedir-protection' into 'main' | Lars Wirzenius | 6 | -58/+259 | |
Backup: exit non-zero if new CACHEDIR.TAGs are found (unless `exclude_cache_tag_directories` is disabled) Closes #112 See merge request obnam/obnam!168 | |||||
2021-07-28 | Add subplot to verify new mitigation | Alexander Batischev | 1 | -5/+50 | |
2021-07-28 | Backup: exit non-zero if new tags are found | Alexander Batischev | 2 | -2/+11 | |
2021-07-28 | Store backup_roots() outcome in a struct | Alexander Batischev | 2 | -12/+30 | |
2021-07-28 | After the backup, print out a list of new CACHEDIR.TAGs | Alexander Batischev | 2 | -7/+26 | |
2021-07-28 | FsIter: annotate entries belonging to CACHEDIR.TAGs | Alexander Batischev | 2 | -23/+31 | |
2021-07-28 | Mark CACHEDIR.TAGs in the database | Alexander Batischev | 2 | -24/+126 | |
In the following commits, we'll use this to check if a tag existed before. | |||||
2021-07-26 | Merge branch 'async-get-chunk' into 'main' | Lars Wirzenius | 7 | -34/+226 | |
use async for read-only access to chunk server See merge request obnam/obnam!167 | |||||
2021-07-23 | refactor: async for "obnam show-generation" | Lars Wirzenius | 1 | -5/+10 | |
Sponsored-by: author | |||||
2021-07-23 | refactor: use async for "obnam restore" | Lars Wirzenius | 1 | -18/+27 | |
Sponsored-by: author | |||||
2021-07-23 | refactor: use async for "obnam list-files" | Lars Wirzenius | 2 | -4/+39 | |
Sponsored-by: author | |||||
2021-07-23 | refactor: use async for "obnam list" | Lars Wirzenius | 2 | -3/+26 | |
Sponsored-by: author | |||||
2021-07-23 | refactor: use async for "obnam get-chunk" | Lars Wirzenius | 2 | -4/+123 | |
Sponsored-by: author | |||||
2021-07-22 | chore: add rustfmt.toml | Lars Wirzenius | 1 | -0/+1 | |
For some reason my new Emacs config that uses rust-analyzer requires edition to be set in rustfmt.toml, not just Cargo.toml. Sponsored-by: author | |||||
2021-07-22 | Merge branch 'feature/114-replace-string-with-chunkid' into 'main' | Lars Wirzenius | 2 | -4/+6 | |
In errors, store chunk ids as `ChunkId`, not `String` Closes #114 See merge request obnam/obnam!165 | |||||
2021-07-22 | Merge branch 'feature/115-no-custom-results' into 'main' | Lars Wirzenius | 12 | -133/+136 | |
Replace custom result types with standard `Result` Closes #115 See merge request obnam/obnam!166 | |||||
2021-07-21 | Replace StoreResult with plain Result | Alexander Batischev | 1 | -6/+3 | |
2021-07-21 | Replace IndexedResult with plain Result | Alexander Batischev | 1 | -11/+8 | |
2021-07-21 | Replace IndexResult with plain Result | Alexander Batischev | 1 | -19/+16 | |
2021-07-21 | Replace LocalGenerationResult with plain Result | Alexander Batischev | 1 | -24/+32 | |
I do not plan to simplify the `T` in the return type of `get_file_and_fileno` because that function is only ever called from inside the module; it doesn't seem worthwhile to introduce a new type there. | |||||
2021-07-21 | Replace NascentResult with plain Result | Alexander Batischev | 1 | -5/+3 | |
2021-07-21 | Replace FsIterResult with plain Result | Alexander Batischev | 2 | -8/+6 | |
2021-07-21 | Replace FsEntryResult with plain Result | Alexander Batischev | 1 | -4/+2 | |
2021-07-21 | Replace ClientConfigResult with plain Result | Alexander Batischev | 1 | -3/+1 | |
2021-07-21 | Replace RestoreResult with plain Result | Alexander Batischev | 1 | -11/+9 | |
2021-07-21 | Replace ClientResult with plain Result | Alexander Batischev | 1 | -20/+22 | |
2021-07-21 | Replace ChunkerResult with plain Result | Alexander Batischev | 1 | -5/+3 | |
2021-07-21 | Replace GenerationChunkResult with plain Result | Alexander Batischev | 1 | -5/+2 | |
2021-07-21 | backup_run: replace tuple with a struct | Alexander Batischev | 2 | -9/+25 | |
2021-07-21 | Replace BackupResult with plain Result | Alexander Batischev | 2 | -7/+8 | |
2021-07-21 | In errors, store chunk ids as `ChunkId`, not `String` | Alexander Batischev | 2 | -4/+6 | |
Fixes #114. | |||||
2021-07-19 | Merge branch 'pywrite' into 'main' | Lars Wirzenius | 2 | -4/+8 | |
test: use better way to write files in Python See merge request obnam/obnam!164 | |||||
2021-07-19 | test: use better way to write files in Python | Lars Wirzenius | 2 | -4/+8 | |
"open(...).write(...)" does not necessarily close the file, and thus flush buffered writes to disk. "with open(...)" does. Sponsored-by: author | |||||
2021-07-18 | Merge branch 'async-chunking' into 'main' | Lars Wirzenius | 11 | -12/+422 | |
Add some machinery for async processing of things See merge request obnam/obnam!162 | |||||
2021-07-18 | docs: clarify comments in engine.rs | Lars Wirzenius | 1 | -2/+2 | |
As proposed by Alexander Batischev. Sponsored-by: author | |||||
2021-07-18 | test: add scenario to verify chunkify works | Lars Wirzenius | 3 | -11/+66 | |
Sponsored-by: author | |||||
2021-07-18 | fix: use an explicit tokio runtime | Lars Wirzenius | 1 | -2/+3 | |
Create a tokio runtime so that the non-async function for chunkify can call an async function and have that create and run background tasks. Brown paper bag mistake: I did the development of this in a separate program with an async main function. When I integrated it into Obnam proper, which doesn't have an async main function (yet), I didn't actually test it works, only that it compiles. Stupid, stupid, stupid. I know better. Sponsored-by: author | |||||
2021-07-18 | feat: add "chunkify" subcommand | Lars Wirzenius | 3 | -0/+108 | |
Sponsored-by: author | |||||
2021-07-18 | feat: add Engine and WorkQueue abstractions for async processing | Lars Wirzenius | 5 | -1/+247 | |
Many thanks to Daniel Silverstone for helping me get through this. Sponsored-by: author | |||||
2021-07-16 | Merge branch 'subplot-needs' into 'main' | Alexander Batischev | 2 | -0/+33 | |
Improve build-depencency docs/checks Closes #111 See merge request obnam/obnam!163 | |||||
2021-07-16 | test: have ./check verify all needed tools are installed | Lars Wirzenius | 1 | -0/+23 | |
Sponsored-by: author | |||||
2021-07-16 | docs: document Rust as a build dependency | Lars Wirzenius | 1 | -0/+10 | |
Sponsored-by: author | |||||
2021-07-05 | Merge branch 'asyncify' into 'main' | Lars Wirzenius | 4 | -140/+97 | |
Refactor backup_run to make async easier to add, later See merge request obnam/obnam!160 | |||||
2021-07-05 | refactor: code to run backups to have less repetition | Lars Wirzenius | 3 | -132/+86 | |
This should make it easier to introduce async, later. | |||||
2021-07-05 | refactor: have main explicitly print error message | Lars Wirzenius | 1 | -8/+11 | |
This is a little cleaner than having main print an error message by returning an Err value as a Result. For one thing, we can be more sure we log the error. Sponsored-by: author | |||||
2021-06-23 | Merge branch 'feature/ndash-to-mdash' into 'main' | Lars Wirzenius | 2 | -32/+32 | |
Replace n-dashes with m-dashes See merge request obnam/obnam!161 |