Age | Commit message (Collapse) | Author | Files | Lines |
|
We've had fake checksums that are just arbitrary literal strings, and
this change makes this more explicit. It's a preliminary change for
later support for additional checksum algorithms.
Sponsored-by: author
|
|
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
|
|
Log the complete run-time of the program, and the time spent
downloading the previous generation, and uploading the new generation.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
|
|
Sponsored-by: author
|
|
Backups made with this version can't be restored with old clients, and
vice version.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
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
|
|
For clarity, though these aren't yet used anywhere. That will happen soon.
Sponsored-by: author
|
|
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
|
|
This is clearer than editing literal values in the functions.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
This makes the code clearer and allows for catching more errors,
albeit at runtime, such as using the wrong column name.
Sponsored-by: author
|
|
This is clearer and less error prone.
Sponsored-by: author
|
|
fix: if a file is skipped, don't include it in the new backup
Closes #177
See merge request obnam/obnam!213
|
|
Sponsored-by: author
|
|
The split doesn't seem to make sense any more.
Sponsored-by: author
|
|
There is only async.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
docs: add some explanation of what Skipped should mean
See merge request obnam/obnam!212
|
|
Sponsored-by: author
|
|
This should make it a little clearer that it can act as an iterator.
Sponsored-by: author
|
|
some refactorings
Closes #181 and #182
See merge request obnam/obnam!209
|
|
The split doesn't seem to make sense any more.
Sponsored-by: author
|
|
There is only async.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
This type was superceded by fsentry::FsEntryError in
a2adcb5a90c15b473a2fcf114555443fba8a20ce.
Fixes #183.
|
|
When opening a local generation, check that it's compatible with the
current version of Obnam.
Sponsored-by: author
|
|
Also, make it an error for a public symbol to not be documented.
Sponsored-by: author
|
|
At this point, I don't know why the fields were there, but they are
now not used at all, so they can be dropped.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Previously an error from, say, a missing backup root directory was
reported to the user as a warning. Turn it into an error. However,
errors reading a file or directory inside the backup root should still
be just a warning.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Add a new mandatory database table "meta" to the SQLite database the
stores information about the files in a backup generation. The idea is
for future versions of the Obnam client to be able to be able to
restore from backups made by older -- or newer -- versions of Obnam,
as far as is reasonable.
Add the `obnam gen-info` command to show information about the
generation metadata.
Sponsored-by: author
|
|
They're not useful now. Should probably add logging, but that will
have to wait until we have a good logging story.
Sponsored-by: author
|
|
I think we need to re-think the way we do benchmarks. These old
programs aren't useful anymore. We definitely want to run benchmarks
via "cargo bench" rather than having extra binaries in the crate.
Sponsored-by: author
|
|
This will make it harder to compare, say, a SHA-256 and a SHA3, later,
when we add more checksum types.
Sponsored-by: author
|
|
|
|
Rename `read_file` to `upload_regular_file` to better describe the
purpose of the function.
Sponsored-by: author
|
|
Move code to read a file as chunks during a backup, and upload any new
chunks to the chunk server, into `src/backup_run.rs`. Previously they
were mostly in `src/client.rs`, which is meant to provide an
abstraction for using the chunk server API.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|