done for the day

This commit is contained in:
Joey Hess 2018-03-12 17:32:57 -04:00
parent 24f35f6acc
commit 59e7f3cbb2
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 32 additions and 0 deletions

View file

@ -11,6 +11,8 @@ git-annex (6.20180228) UNRELEASED; urgency=medium
will no longer be preserved when copying them to and from ssh remotes.
Other remotes never supported preserving that information, so
this is not considered a regression.
* Note that annex.verify=false does not currently prevent verification
of contents received from git-annex-shell when using the new protocol.
* Support exporttree=yes for rsync special remotes.
* Dial back optimisation when building on arm, which prevents
ghc and llc from running out of memory when optimising some files.

View file

@ -0,0 +1,28 @@
Working on getting the git-annex-shell P2P protocol into a releasable
state. This was kind of annoying.
I started out wanting to make annex.verify=false disable verification when
using the P2P protocol. But, that needed protocol changes, and
unfortunately the protocol was not extensible. I thought it was supposed to
reject unknown commands and keep the connection open, which would make
extensions easy, but unfortunately it actually closed the connection after
an unknown command.
So, I added a version negotiation to the P2P protocol, but it's not done
for tor remotes yet, and will be turned on for them in some
[[future flag day|todo/p2p_protocol_flag_days]], once all of them get
upgraded.
After all that, I got completely stuck on the annex.verify change.
Multiple problems are preventing me from seeing a way to do it at all.
[[todo/support_disabling_verification_of_transfer_over_p2p_protocol]]
This must be why I didn't support it in the first place when building the
P2P protocol two years ago.
Also fixed performance when a ssh remote is unavailable, where it was
trying to connect twice to the remote for each action. And confirmed that
the assistant will behave ok when moving between networks while it has
P2P connections open. So, other than annex.verify not being supported,
I feel fairly ready to release this new feature.
Today's work was supported by an anonymous bitcoin donor.

View file

@ -53,3 +53,5 @@ Transferring a 30 mb file over ssh to localhost, speed increased from
Dropping 1000 files from local, with each being locked on a ssh localhost
remote, speed increased from 30s to 7s.
[[done]]