summaryrefslogtreecommitdiff
path: root/src/error.rs
AgeCommit message (Collapse)AuthorFilesLines
2021-07-28Backup: exit non-zero if new tags are foundAlexander Batischev1-0/+5
2021-05-31feat: add chunk encryptionLars Wirzenius1-0/+4
2021-04-10refactor: move ClientConfig into its own moduleLars Wirzenius1-1/+2
2021-04-09feat: add "obnam init" subcommandLars Wirzenius1-0/+5
This reads a passphrase and derives two passwords from that, and stores them next to the configuration file. The passwords aren't yet used for anything, that will come later.
2021-03-12feat: handle files in directories that can be read but not executedLars Wirzenius1-2/+1
2021-02-04feat: add obnam config subcommandLars Wirzenius1-0/+3
2021-02-04refactor: have per-module error enumsLars Wirzenius1-15/+33
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.
2021-01-19refactor: use ChunkId directly in errors, instead of StringLars Wirzenius1-4/+5
2021-01-10feat! use SQLite db for chunk index on serverLars Wirzenius1-2/+8
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-04feat: verify checksum of chunks downloaded from serverLars Wirzenius1-0/+6
2020-12-31feat: incremental backupLars Wirzenius1-0/+4
This uses the previous, latest generation as a guideline to see what is new or changed.
2020-12-30fix: add missing source filesLars Wirzenius1-0/+8