Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-09-18 | refactor: define a Checksum type and use it where appropriate | Lars Wirzenius | 1 | -1/+3 | |
This will make it harder to compare, say, a SHA-256 and a SHA3, later, when we add more checksum types. Sponsored-by: author | |||||
2021-04-29 | feat: improve error messages | Lars Wirzenius | 1 | -6/+6 | |
All unclear error messages should now be clearer. For example, all the ones related to a file mention the file name and the attempted operation that failed. | |||||
2021-03-27 | refactor: drop unnecessary conversions to the same type | Lars Wirzenius | 1 | -3/+3 | |
2021-03-24 | refactor(src/server.rs): drop use of anyhow::Result | Lars Wirzenius | 1 | -3/+12 | |
anyhow is appropriate for applications, not libraries. Use plain Result and the already existing ServerConfigError instead. | |||||
2021-03-03 | fix: don't allow unknown fields in configuration files | Lars Wirzenius | 1 | -0/+1 | |
2021-03-03 | refactor: rename Config, ConfigError to show they are for server | Lars Wirzenius | 1 | -8/+8 | |
2021-02-16 | refactor: move server config into src/server.rs | Lars Wirzenius | 1 | -0/+46 | |
2021-02-04 | refactor: have per-module error enums | Lars Wirzenius | 1 | -1/+1 | |
This means that a function that parses step bindings can't return an error that the document is missing a title. Such an error return would be nonsensical, and we use the Rust type system to prevent it, at a small cost of being a bit verbose. Additional benefit is that the library portion of Obnam doesn't return anyhow::Result values anymore. | |||||
2020-10-14 | refactor: rename Chunk to DataChunk | Lars Wirzenius | 1 | -3/+3 | |
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 | -3/+9 | |
Also, add an initial subplot to document and verify acceptance criteria. | |||||
2020-09-18 | feat: representations of responses for server operations | Lars Wirzenius | 1 | -0/+78 | |