Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
I do not plan to simplify the `T` in the return type of
`get_file_and_fileno` because that function is only ever called from
inside the module; it doesn't seem worthwhile to introduce a new type
there.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes #114.
|
|
test: use better way to write files in Python
See merge request obnam/obnam!164
|
|
"open(...).write(...)" does not necessarily close the file, and thus
flush buffered writes to disk. "with open(...)" does.
Sponsored-by: author
|
|
Add some machinery for async processing of things
See merge request obnam/obnam!162
|
|
As proposed by Alexander Batischev.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Create a tokio runtime so that the non-async function for chunkify can
call an async function and have that create and run background tasks.
Brown paper bag mistake: I did the development of this in a separate
program with an async main function. When I integrated it into Obnam
proper, which doesn't have an async main function (yet), I didn't
actually test it works, only that it compiles. Stupid, stupid, stupid.
I know better.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Many thanks to Daniel Silverstone for helping me get through this.
Sponsored-by: author
|
|
Improve build-depencency docs/checks
Closes #111
See merge request obnam/obnam!163
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Refactor backup_run to make async easier to add, later
See merge request obnam/obnam!160
|
|
This should make it easier to introduce async, later.
|
|
This is a little cleaner than having main print an error message by
returning an Err value as a Result. For one thing, we can be more sure
we log the error.
Sponsored-by: author
|
|
Replace n-dashes with m-dashes
See merge request obnam/obnam!161
|
|
Cf. https://gitlab.com/obnam/obnam/-/merge_requests/158#note_605879696
|
|
docs: document dependencies in README
See merge request obnam/obnam!158
|
|
migrate CI to Docker
See merge request obnam/obnam!157
|
|
update dependency versions
See merge request obnam/obnam!159
|
|
Things changed while I worked through the manual changes. Update
Cargo.lock to be current again.
Sponsored-by: author
|
|
Change calls to set_message to pass ownership of the message, rather
than just letting it borrow the message.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Change the version of aes-gcm to be 0.9, from 0.9.1. This allows a
future 0.9.2 to be used automatically.
Sponsored-by: author
|
|
tokio has released 1.0. Bump the warp dependency to get a version that
works with tokio 1.x.
Sponsored-by: author
|
|
This are the changes made by running `cargo update`.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
feat: restore symlink metadata
See merge request obnam/obnam!154
|
|
|
|
Sync gitlab with my local changes
See merge request obnam/obnam!156
|
|
|
|
fix(readme.md): link to rendered versions of other docs
Closes #124
See merge request obnam/obnam!155
|
|
Fixes #124.
I chose not to change the names of the link, they still say ".md". My
hope is that a person reading the Markdown document will understand that
we mean the .md document in this repo, and the person reading HTML will
have a valid link to doc.obnam.org.
|
|
The weird thing about this commit is that all the tests for it already
exist: the subplot compares manifests of "live" and restored data, and
that includes the mtime. The subplot passes on CI, and it passed for me
too — until today.
Today, if I run `./check` on the main branch (which is currently at
481c5d8df21c72db3a3d76e851d25426f3e40647), subplot fails because the
symlinks' mtime is wrong. Most often it's just the nsec part that's
wrong: tests run fast enough that they finish within a second, and they
rarely happen at the edge of the second.
I don't understand why this didn't happen to me before, and why it
doesn't happen to CI — and to Lars, for that matter. git-bisect points
at 755c18a11f87040245964cf411ea8f518b61e0f5, which is a couple months
old, so we should've spotted the breakage by now.
Needless to say, I didn't do any major overhauls of my system lately,
just your usual `apt upgrade` (Debian bullseye/testing amd64). Did some
change in Subplot or Summain obfuscate this? It bothers me that I don't
understand how we could miss this for so long.
|
|
doc(tutorial.md): explain that passphrase is ephemeral
See merge request larswirzenius/obnam!153
|