Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-11-12 | fix: unnecessary borrows, other things found by clippy | Lars Wirzenius | 1 | -1/+1 | |
Sponsored-by: author | |||||
2022-10-28 | feat! finish chunk store abstraction | Lars Wirzenius | 1 | -34/+11 | |
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-26 | stash | Lars Wirzenius | 1 | -11/+8 | |
Sponsored-by: author | |||||
2022-10-23 | refactor: use clap instead of structopt | Lars Wirzenius | 1 | -5/+4 | |
clap version 3 basically replaces structopt entirely. Sponsored-by: author | |||||
2022-04-06 | feat! add chunk server API version to HTTP paths | Lars Wirzenius | 1 | -0/+8 | |
What was /chunks is now /v1/chunks. This is the minimal step to start supporting multiple API versions. Also, /v1/chunks/foo/bar is no longer supported. Sponsored-by: author | |||||
2022-03-22 | feat! drop generation related fields from chunk metadata | Lars Wirzenius | 1 | -3/+1 | |
Sponsored-by: author | |||||
2022-03-13 | feat! rename metadata field "sha256" to "label" | Lars Wirzenius | 1 | -2/+2 | |
The field still contains a cleartext SHa256 of the cleartext chunk data, but this makes it clearer that it may contain other data. This is a breaking change: the server API won't work with an old client, and the new client won't work with an old server. To avoid the breakage would require more effort than is warranted at this time, given the very small number of users of Obnam. Sorry. Sponsored-by: author | |||||
2021-07-31 | feat: configure log verbosity with OBNAM_SERVER_LOG envvar | Alexander Batischev | 1 | -1/+1 | |
Fixes #117. | |||||
2021-07-30 | cleanup: fix things rustc/clipppy now complain about | Lars Wirzenius | 1 | -1/+1 | |
Mostly https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow. Sponsored-by: author | |||||
2021-05-29 | refactor: count chunks via file system, not via chunk server API | Lars Wirzenius | 1 | -2/+0 | |
2021-05-29 | refactor: make metadata be part of datachunk | Lars Wirzenius | 1 | -3/+3 | |
This makes it harder to lose the metadata for a chunk, or to use unrelated metadata and chunk. Also, soon I will refactor things for encrypting chunks, which will need metadata embedded in the encrypted chunk. Sponsored-by: author | |||||
2021-03-24 | chore: use warp's bytes instead of bytes crate directly | Lars Wirzenius | 1 | -1/+1 | |
2021-03-03 | refactor: rename Config, ConfigError to show they are for server | Lars Wirzenius | 1 | -4/+4 | |
2021-03-03 | feat: in errors about reading a configuration file, include its name | Lars Wirzenius | 1 | -2/+13 | |
2021-02-16 | refactor: move server config into src/server.rs | Lars Wirzenius | 1 | -47/+3 | |
2021-02-06 | feat: method for listing ids of chunks from file data | Lars Wirzenius | 1 | -0/+2 | |
This will be useful soon, to enable us to check how many chunks from file data there is in the repository, to check that an upcoming chunk size setting works. Also add an API call for returning the ids. Note that all of this is meant for testing only. It may be best to disable it in production builds, eventually. | |||||
2021-01-10 | feat! use SQLite db for chunk index on server | Lars Wirzenius | 1 | -11/+7 | |
This speeds startup a lot. However, the backup repository needs to be re-created from scratch and internal APIs have change in incompatible ways. | |||||
2021-01-03 | feat: load chunk metadata into index at startup | Lars Wirzenius | 1 | -1/+3 | |
This needs to be replace with a database or something, but it'll do for now. | |||||
2020-12-23 | refactor: use a struct instead of a tuple | Lars Wirzenius | 1 | -2/+4 | |
It seems this is more idiomatic in Rust. | |||||
2020-12-23 | feat! let server address be configured | Lars Wirzenius | 1 | -8/+13 | |
Instead of just specifying port, let the address (or name) be configured. | |||||
2020-11-27 | feat! make obnam-server always use TLS | Lars Wirzenius | 1 | -3/+3 | |
This will ruin my benchmark results, but it's the right thing to do. | |||||
2020-11-24 | refactor: add an abstraction for an indexed store | Lars Wirzenius | 1 | -61/+31 | |
This makes it easier to write a server without the HTTP layer. | |||||
2020-11-13 | refactor: split obnam's bindings, functions for clarity | Lars Wirzenius | 1 | -1/+3 | |
The old subplot/obnam.{yaml,py} were starting to get large enough that it was hard to understand them. Also, were partly overlapping in functionality with runcmd. | |||||
2020-11-09 | start on obnam-list | Lars Wirzenius | 1 | -1/+5 | |
2020-10-14 | refactor: rename Chunk to DataChunk | Lars Wirzenius | 1 | -3/+3 | |
2020-10-14 | refactor: move chunk metadata out of chunk struct | Lars Wirzenius | 1 | -12/+11 | |
2020-10-10 | feat: add logging of problems, and generally what's going on | Lars Wirzenius | 1 | -14/+28 | |
2020-10-10 | feat: add logging to all requests | Lars Wirzenius | 1 | -1/+3 | |
2020-10-03 | feat: add rudimentary backup client | Lars Wirzenius | 1 | -3/+10 | |
Also, a bit of logging for server. | |||||
2020-09-26 | refactor: add helper functions to reduce code clutter | Lars Wirzenius | 1 | -57/+81 | |
2020-09-19 | feat: search, delete chunks on chunk server | Lars Wirzenius | 1 | -10/+131 | |
Also heavily refactor the now-long scenario by splitting out a happy path and some unhappy paths. | |||||
2020-09-18 | use to_string method for ChunkId instead of format! macro | Lars Wirzenius | 1 | -1/+1 | |
2020-09-18 | feat: add a rudimentary chunk server main program | Lars Wirzenius | 1 | -0/+224 | |
Also, add an initial subplot to document and verify acceptance criteria. |