summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-03-22feat! store list of generations in a "client trust root" chunkLars Wirzenius13-23/+214
Backups made with this version can't be restored with old clients, and vice version. Sponsored-by: author
2022-03-22fix: old typo in doc commentLars Wirzenius1-1/+1
Sponsored-by: author
2022-03-22Merge branch 'liw/schema-refactor' into 'main'Lars Wirzenius14-195/+937
add backup database schema to evolove; break server database Closes #194 and #192 See merge request obnam/obnam!222
2022-03-20docs: add requirements, scenarios, database schema evolutionLars Wirzenius1-0/+108
Sponsored-by: author
2022-03-20feat: add subcommands inspect, list-backup-versionsLars Wirzenius5-1/+80
Sponsored-by: author
2022-03-20feat! on server, store chunk label in column called "label"Lars Wirzenius1-9/+9
Sponsored-by: author
2022-03-20feat: allow user to choose backup schema version for new backupsLars Wirzenius5-186/+509
The way this is currently implemented resulted in a lot of code duplication in src/generation.rs. This should be refactored later. My first attempt to do it by adding a trait for a schema variant failed. Sponsored-by: author
2022-03-20refactor: put SchemaVersion, GenMeta in their own modulesLars Wirzenius3-0/+232
For clarity, though these aren't yet used anywhere. That will happen soon. Sponsored-by: author
2022-03-20Merge branch 'liw/repo-url' into 'main'Lars Wirzenius1-1/+1
fix: URL to source code repository Closes #187 See merge request obnam/obnam!223
2022-03-20fix: URL to source code repositoryLars Wirzenius1-1/+1
Sponsored-by: author
2022-03-14Merge branch 'liw/metadata-docs' into 'main'Lars Wirzenius1-11/+23
docs: update the file metadata description Closes #19 See merge request obnam/obnam!221
2022-03-14Merge branch 'liw/label' into 'main'Lars Wirzenius9-53/+59
feat! rename metadata field "sha256" to "label" See merge request obnam/obnam!220
2022-03-13docs: update the file metadata descriptionLars Wirzenius1-11/+23
Sponsored-by: author
2022-03-13feat! rename metadata field "sha256" to "label"Lars Wirzenius9-53/+59
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
2022-03-11Merge branch 'fix' into 'main'Lars Wirzenius1-4/+4
chore: cargo update See merge request obnam/obnam!219
2022-03-11chore: cargo updateLars Wirzenius1-4/+4
2022-03-11Merge branch 'liw/updates' into 'main'Lars Wirzenius2-9/+9
update dependencies See merge request obnam/obnam!218
2022-03-11chore: bump rusqlite version to 0.27 (current)Lars Wirzenius1-1/+1
"cargo update" doesn't do that automatically, as it's a minor version bump, from 0.26 to 0.27. Sponsored-by: author
2022-03-11chore: update dependencies to current versions with "cargo update"Lars Wirzenius1-8/+8
Sponsored-by: author
2022-03-08Merge branch 'release-benchmark' into 'main'Lars Wirzenius1-0/+5
docs: add benchmark result update to RELEASE.md See merge request obnam/obnam!217
2022-03-08docs: add benchmark result update to RELEASE.mdLars Wirzenius1-0/+5
Sponsored-by: author
2022-03-08Merge branch 'release' into 'main'v0.7.1Lars Wirzenius4-164/+261
chore: update for release 0.7.1 See merge request obnam/obnam!216
2022-03-08chore: update for release 0.7.1Lars Wirzenius4-164/+261
Sponsored-by: author
2022-03-07Merge branch 'liw/db-refactor' into 'main'Lars Wirzenius16-382/+1099
speed up backups See merge request obnam/obnam!215
2022-03-06test: show cargo, rustc versions in ./check -vLars Wirzenius1-0/+3
Sponsored-by: author
2022-03-06refactor: add constant for showing/hiding progress reportingLars Wirzenius1-2/+4
This is clearer than editing literal values in the functions. Sponsored-by: author
2022-03-06perf: reduce logging for, for performanceLars Wirzenius2-8/+1
Sponsored-by: author
2022-03-06perf: cache user and group name lookupsLars Wirzenius3-29/+38
Sponsored-by: author
2022-03-06refactor: use new database abstraction for generationsLars Wirzenius7-335/+94
Sponsored-by: author
2022-03-06refactor: add a high level database abstraction for backupsLars Wirzenius2-7/+321
Sponsored-by: author
2022-03-06refactor: add a low level SQLite wrapperLars Wirzenius2-0/+634
This makes the code clearer and allows for catching more errors, albeit at runtime, such as using the wrong column name. Sponsored-by: author
2022-03-03refactor: use FileId instead of raw typeLars Wirzenius5-10/+13
This is clearer and less error prone. Sponsored-by: author
2022-03-03feat! use Rust 2021 to benefit from changes to partial borrowingLars Wirzenius1-1/+1
Sponsored-by: author
2022-01-19Merge branch 'skipped-fix' into 'main'Lars Wirzenius1-6/+8
fix: if a file is skipped, don't include it in the new backup Closes #177 See merge request obnam/obnam!213
2022-01-19Merge branch 'req' into 'main'Lars Wirzenius1-0/+4
docs: add requirement that the size of local cache must be limited Closes #173 See merge request obnam/obnam!206
2022-01-19fix: if a file is skipped, don't include it in the new backupLars Wirzenius1-6/+8
Sponsored-by: author
2022-01-19docs: drop unnecessary YAML metadata from Markdown docsLars Wirzenius6-22/+2
Sponsored-by: author
2022-01-19refactor: combine the chunk client into BackupClientLars Wirzenius1-69/+36
The split doesn't seem to make sense any more. Sponsored-by: author
2022-01-19refactor: rename AsyncBackupClient to just BackupClientLars Wirzenius10-33/+28
There is only async. Sponsored-by: author
2022-01-19chore: drop unused src/benhcmark.rs moduleLars Wirzenius2-39/+0
Sponsored-by: author
2022-01-19chore: document minimal rust version in Cargo.tomlLars Wirzenius1-0/+1
Sponsored-by: author
2022-01-19test: deny dependencies with security issues or that are yankedLars Wirzenius1-2/+2
Sponsored-by: author
2022-01-19fix: add missing wordLars Wirzenius1-1/+1
Thanks, Alexander. Sponsored-by: author
2022-01-16Merge branch 'skipped' into 'main'Lars Wirzenius2-1/+11
docs: add some explanation of what Skipped should mean See merge request obnam/obnam!212
2022-01-16docs: add some explanation of what Skipped should meanLars Wirzenius2-1/+11
Sponsored-by: author
2022-01-16Merge branch 'chunker' into 'main'Lars Wirzenius2-5/+5
refactor: rename Chunker to FileChunks Closes #179 See merge request obnam/obnam!211
2022-01-16refactor: rename Chunker to FileChunksLars Wirzenius2-5/+5
This should make it a little clearer that it can act as an iterator. Sponsored-by: author
2022-01-16Merge branch 'readme' into 'main'Lars Wirzenius6-22/+2
docs: drop unnecessary YAML metadata from Markdown docs Closes #184 See merge request obnam/obnam!210
2022-01-16Merge branch 'rename' into 'main'Lars Wirzenius10-98/+60
some refactorings Closes #181 and #182 See merge request obnam/obnam!209
2022-01-16docs: drop unnecessary YAML metadata from Markdown docsLars Wirzenius6-22/+2
Sponsored-by: author