Commit graph

40597 commits

Author SHA1 Message Date
Joey Hess
3686ce15b9
comment 2021-08-24 11:07:19 -04:00
Yuval Kogman
0861e95d13 Add a tip explaining how to enable-tor on NixOS
This is a little bare bones but hopefully useful, some things that could
be improved:

1. Follow steps in order and replicate (I reconstructed off of my
   success, so there may be inaccuracies or things I forgot)

2. Clarify correct ownership for directories & sockets
   - enable-tor's sudo child will obtain the hostname so no access is
     needed after that
   - does it also create the tor sockety directory?

3. Remove unnecessary boilerplate
   - can the hidden service dir be left with the NixOS default?
2021-08-24 04:34:55 +00:00
login+git-annex@12145486ec1e9f0d1587cdb0c6ef7538abab1c31
0e0322f0e7 2021-08-21 00:37:20 +00:00
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb
20a252a129 Added a comment: git annex sync --no-commit --content takes double the time of git annex get . 2021-08-20 02:05:53 +00:00
anarcat
8898286b81 2021-08-19 14:44:56 +00:00
Joey Hess
7c2476e862
close 2021-08-18 17:37:17 -04:00
Joey Hess
6cf81dfa2e
Merge branch 'master' of ssh://git-annex.branchable.com 2021-08-18 17:36:35 -04:00
Joey Hess
d3d5d2b4ec
fix test suite failure when run with LANG=C 2021-08-18 17:36:00 -04:00
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb
c6edf470b6 Added a comment: commit 492036622a fixes this 2021-08-18 21:10:51 +00:00
Lukey
ec87740f2d Added a comment 2021-08-18 21:07:12 +00:00
Joey Hess
69c1c0b1cd
Merge branch 'master' of ssh://git-annex.branchable.com 2021-08-18 16:35:54 -04:00
Joey Hess
492036622a
fix OSX build 2021-08-18 16:35:26 -04:00
yarikoptic
9b05a9acf8 2021-08-18 20:19:36 +00:00
git-annex.branchable.com@78dd096e15e9d37643bf695293cae77fec735698
e23c24f0fa Added a comment: So where are the file stored? 2021-08-18 20:19:25 +00:00
Joey Hess
ea675c4747
Merge branch 'master' of ssh://git-annex.branchable.com 2021-08-18 15:17:56 -04:00
Joey Hess
53744e132d
incremental verification for gitlfs and httpalso
And that should be all the special remotes supporting it on linux now,
except for in the odd edge case here and there.

Sponsored-by: Dartmouth College's DANDI project
2021-08-18 15:17:10 -04:00
Joey Hess
f5e09a1dbe
incremental verification for S3
Sponsored-by: Dartmouth College's DANDI project
2021-08-18 15:07:00 -04:00
Joey Hess
d154e7022e
incremental verification for web special remote
Except when configuration makes curl be used. It did not seem worth
trying to tail the file when curl is downloading.

But when an interrupted download is resumed, it does not read the whole
existing file to hash it. Same reason discussed in
commit 7eb3742e4b76d1d7a487c2c53bf25cda4ee5df43; that could take a long
time with no progress being displayed. And also there's an open http
request, which needs to be consumed; taking a long time to hash the file
might cause it to time out.

Also in passing implemented it for git and external special remotes when
downloading from the web. Several others like S3 are within striking
distance now as well.

Sponsored-by: Dartmouth College's DANDI project
2021-08-18 15:02:22 -04:00
Joey Hess
88b63a43fa
distinguish between incremental verification failing and not being done
Sponsored-by: Dartmouth College's DANDI project
2021-08-18 14:38:02 -04:00
Joey Hess
325bfda12d
refactor 2021-08-18 13:37:00 -04:00
Joey Hess
449851225a
refactor
IncrementalVerifier moved to Utility.Hash, which will let Utility.Url
use it later.

It's perhaps not really specific to hashing, but making a separate
module just for the data type seemed unncessary.

Sponsored-by: Dartmouth College's DANDI project
2021-08-18 13:19:02 -04:00
Joey Hess
57b5ec79e7
remove comment
This comment used to be in Crypto, where it made sense, but it does not
really make any sense in Utility.Hash
2021-08-18 13:02:02 -04:00
Joey Hess
1dca3ba26a
status update 2021-08-18 12:58:27 -04:00
Joey Hess
d67da1f4db
idea 2021-08-18 12:39:03 -04:00
Austin
662c2412da Added a comment 2021-08-18 06:28:39 +00:00
Austin
d11ca305e3 2021-08-18 06:17:46 +00:00
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb
ead94daca4 commit f0754a61f doesn't compile on Windows without a small patch 2021-08-17 21:15:04 +00:00
Joey Hess
f0754a61f5
plumb VerifyConfig into retrieveKeyFile
This fixes the recent reversion that annex.verify is not honored,
because retrieveChunks was passed RemoteVerify baser, but baser
did not have export/import set up.

Sponsored-by: Dartmouth College's DANDI project
2021-08-17 12:43:13 -04:00
Joey Hess
4bbc6a25fa
comment 2021-08-17 10:28:18 -04:00
yarikoptic
b80dd29d6a initial report about needing newer gpg to get tests pass 2021-08-16 21:58:07 +00:00
yarikoptic
08ca0d8961 Added a comment: note on sec= on the mount 2021-08-16 21:38:13 +00:00
Joey Hess
ffa1f6ed30
Merge branch 'master' of ssh://git-annex.branchable.com 2021-08-16 17:30:04 -04:00
Joey Hess
f8463ad52f
status update 2021-08-16 17:29:39 -04:00
Joey Hess
8613770b06
incremental verify for webdav special remote
Sponsored-by: Dartmouth College's DANDI project
2021-08-16 17:29:32 -04:00
Joey Hess
b1622eb932
incremental verify for directory special remote
Added fileRetriever', which will let the remaining special remotes
eventually also support incremental verify.

Sponsored-by: Dartmouth College's DANDI project
2021-08-16 16:51:33 -04:00
Joey Hess
a644f729ce
refactor fileCopier
Sponsored-by: Dartmouth College's DANDI project
2021-08-16 15:56:24 -04:00
Joey Hess
d889ae0c01
move comment 2021-08-16 15:25:06 -04:00
Joey Hess
ec82299730
status update
I was wrong about S3 supporting tailVerify.
2021-08-16 15:15:32 -04:00
Joey Hess
aac0654ff4
handle AlreadyInUseError
As happens when using the directory special remote, gitlfs, webdav, and
S3. But not external, adb, gcrypt, hook, or rsync.

Sponsored-by: Dartmouth College's DANDI project
2021-08-16 15:03:48 -04:00
Joey Hess
c4aba8e032
better handling of finishing up incomplete incremental verify
Now it's run in VerifyStage.

I thought about keeping the file handle open, and resuming reading where
tailVerify left off. But that risks leaking open file handles, until the
GC closes them, if the deferred verification does not get resumed. Since
that could perhaps happen if there's an exception somewhere, I decided
that was too unsafe.

Instead, re-open the file, seek, and resume.

Sponsored-by: Dartmouth College's DANDI project
2021-08-16 14:52:59 -04:00
Joey Hess
e0b7f391bd
improve tailVerify
Wait for the file to get modified, not only opened. This way, if a
remote does not support resuming, and opens a new file over top of the
existing file, it will wait until that remote starts writing, and open
the file it's writing to, not the old file.

Sponsored-by: Dartmouth College's DANDI project
2021-08-16 14:47:37 -04:00
yarikoptic
b66308a214 update description that it is isilon under 2021-08-16 17:44:01 +00:00
matthias.risze@9f2c8f7faed4cac1905d1bf1ee4524d708c13688
03ca13f5c5 Added a comment: type=git special remote cannot be enabled, no uuid is generated 2021-08-16 13:02:04 +00:00
https://christian.amsuess.com/chrysn
fa69431266 migrate script: Get full list of remotes that have a file; doc updates; progress output; corner case fixes 2021-08-15 19:01:37 +00:00
https://christian.amsuess.com/chrysn
905fef31b3 Added a comment: Another example 2021-08-15 17:42:54 +00:00
https://christian.amsuess.com/chrysn
29a1274f99 migrate script: Do whereis work before to speed up processing 2021-08-15 11:48:58 +00:00
https://christian.amsuess.com/chrysn
69fc2a22b3 Added a comment: annex-to-annex 2021-08-15 11:47:31 +00:00
https://christian.amsuess.com/chrysn
a5f620a1d9 migrate script: Fix accidentally commented-out fsck run 2021-08-15 11:04:37 +00:00
https://christian.amsuess.com/chrysn
088d6c4cd0 migrate script: Don't try on all remotes, look where it is and drop from there (faster) 2021-08-15 10:37:53 +00:00
spwhitton
9e801dc906 Added a comment: annex-to-annex 2021-08-13 22:08:57 +00:00