Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
release 0.4.0
Closes #109 and #120
See merge request larswirzenius/obnam!152
|
|
|
|
I want the rest included in the release that's about to happen.
If this was the wrong thing, we will fix it promptly.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Also, tweak titles in NEWS to be a little shorter.
Sponsored-by: author
|
|
When the tutorial is deployed to doc.obnam.org, it's better for it to
point at the HTML version of the Subplot file rather than the Markdown
version which doesn't exist on doc.obnam.org.
|
|
I did not describe `--insecure-passphrase` because it's probably meant
for scripting, not interactive use.
Fixes #120.
|
|
more title fixes
See merge request larswirzenius/obnam!150
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
fix: add a document title to DONE.md
See merge request larswirzenius/obnam!149
|
|
Sponsored-by: author
|
|
docs: add a title for the tutorial
See merge request larswirzenius/obnam!148
|
|
This will let Subplot to format it, which means it should be
automatically published on doc.obnam.org.
Sponsored-by: author
|
|
Do not panic if chunk nonce is unexpectedly short
Closes #119
See merge request larswirzenius/obnam!147
|
|
Fixes #119.
|
|
add encryption of individual chunks
Closes #110
See merge request larswirzenius/obnam!146
|
|
feat(ci): add GitLab CI config
Closes #105
See merge request larswirzenius/obnam!143
|
|
|
|
|
|
Also, refactor the client code to split out the HTTP bits more
clearly. The refactor should've been separately, but got entangled
with other changes during frantic debugging.
|
|
|
|
Previously we were deriving a key that was of the wrong length for the
aead crate. Now we make it the right length.
|
|
This makes is harder to accidentally use the wrong metadata for a
chunk.
|
|
This means the config is always the config, and not sometimes the
config or the config and passwords.
Also, there's no config option for encrypting, anymore. It will not be
optional now.
|
|
|
|
These aren't used yet, but they soon will be.
|
|
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
|
|
This makes the code doing HTTP requests simpler for easier
comprehension and debugging.
|
|
build: don't hid clippy warnings
See merge request larswirzenius/obnam!145
|
|
Previously we were hiding (with chronic) clippy output if it was
successful. However, clippy exits with zero even if it writes
warnings. Thus, chronic is the wrong solution. The output also
contains progress reporting from cargo, which is unwanted, thus, this
commit replaces chronic with the clippy -q option, to get rid of the
progress reporting.
Sponsored-by: author
|
|
chore: use Subplot's built-in copies of its libraries
See merge request larswirzenius/obnam!144
|
|
Drop the copies in subplot/vendor. Subplot will now use its built-in
copies by default.
|
|
feat: improve error messages
Closes #108
See merge request larswirzenius/obnam!140
|
|
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.
|
|
This runs all the things that ./check runs, except the Subplot's docgen:
it failed to find some TeX fonts, and I gave up on it because docs don't
make sense on CI anyway.
Fixes #105.
|
|
Return iterators instead of huge vectors
Closes #28
See merge request larswirzenius/obnam!142
|
|
|
|
|
|
|
|
This adds the machinery. We have to keep the compiled SQL query while
the iterator is in use, so we wrap it in an `SqlResults` struct which
the iterator borrows.
|
|
`LocalGeneration::sql::files()` runs an SQL query, iterates over the
results and collects the rows into a `Vec`. This can fail at any step:
the query might fail to run, or one of the rows might fail to be fetched
or processed.
Right now, we lump all those failures into a `Result` that wraps the
whole return value. This is only possible because we process each row
before returning. Once `Vec` is replaced by an iterator, we won't have
that luxury anymore, so we now wrap each individual element into its own
`Result` (as well as wrapping the whole vector into a `Result` of its
own).
|
|
Add CACHEDIR.TAG to the threat model
See merge request larswirzenius/obnam!141
|
|
feat: expand tilde notation in configuration file
Closes #102
See merge request larswirzenius/obnam!139
|
|
Backup roots and log file can now say ~/foo/bar to refer to files
relative to the user's home directory.
|
|
|
|
feat: add support for CACHEDIR.TAG
Closes #78
See merge request larswirzenius/obnam!138
|