git-annex.git
4 years ago(no commit message)
LazerEpilasyon [Mon, 30 Aug 2021 11:32:34 +0000 (11:32 +0000)]

4 years ago(no commit message)
strmd [Sat, 28 Aug 2021 09:30:28 +0000 (09:30 +0000)]

4 years agoAdded a comment
yarikoptic [Fri, 27 Aug 2021 18:46:39 +0000 (18:46 +0000)]
Added a comment

4 years agoadd: Detect when xattrs or perhaps ACLs prevent locking down a file's content
Joey Hess [Fri, 27 Aug 2021 18:33:01 +0000 (14:33 -0400)]
add: Detect when xattrs or perhaps ACLs prevent locking down a file's content

And fail with an informative message.

I don't think ACLs can prevent removing the write bit, but I'm not sure,
so kept it mentioning them as a possibility.

Should git-annex lock also check if the write bits are able to be removed?
Maybe, but the case I know about with xattrs involves cp -a copying NFS
xattrs, and it's the copy of the file that is the problem. So when locking
a file, I guess it will not be the copy.

Sponsored-by: Dartmouth College's Datalad project
4 years agoRun cp -a with --no-preserve=xattr, to avoid problems with copied xattrs
Joey Hess [Fri, 27 Aug 2021 17:09:34 +0000 (13:09 -0400)]
Run cp -a with --no-preserve=xattr, to avoid problems with copied xattrs

Including them breaking permissions setting on some NFS servers.

Sponsored-by: Dartmouth College's Datalad project
4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 27 Aug 2021 16:30:35 +0000 (12:30 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoAdded annex.youtube-dl-command config
Joey Hess [Fri, 27 Aug 2021 13:44:23 +0000 (09:44 -0400)]
Added annex.youtube-dl-command config

This can be used to run some forks of youtube-dl.

Sponsored-by: Brett Eisenberg on Patreon
4 years agothought
Joey Hess [Fri, 27 Aug 2021 04:59:24 +0000 (00:59 -0400)]
thought

4 years agoAdded a comment
yarikoptic [Fri, 27 Aug 2021 01:38:54 +0000 (01:38 +0000)]
Added a comment

4 years agoAdded a comment: it turns out I had to file this as a bug
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb [Fri, 27 Aug 2021 01:38:29 +0000 (01:38 +0000)]
Added a comment: it turns out I had to file this as a bug

4 years agoAdded a comment
yarikoptic [Fri, 27 Aug 2021 01:34:18 +0000 (01:34 +0000)]
Added a comment

4 years agosometimes `sync --content` really does take longer to get a file than `get`
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb [Fri, 27 Aug 2021 00:58:18 +0000 (00:58 +0000)]
sometimes `sync --content` really does take longer to get a file than `get`

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 26 Aug 2021 21:26:49 +0000 (17:26 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agocomment
Joey Hess [Thu, 26 Aug 2021 21:25:33 +0000 (17:25 -0400)]
comment

4 years agoAdded a comment
nothingmuch@486b0e001f63ad0513f9fc6921a31f08832ba22d [Thu, 26 Aug 2021 21:19:43 +0000 (21:19 +0000)]
Added a comment

4 years agoAdded a comment
yarikoptic [Thu, 26 Aug 2021 16:49:56 +0000 (16:49 +0000)]
Added a comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 26 Aug 2021 16:01:24 +0000 (12:01 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agocomment
Joey Hess [Thu, 26 Aug 2021 16:01:15 +0000 (12:01 -0400)]
comment

4 years agoremoved
jenkin.schibel@286264d9ceb79998aecff0d5d1a4ffe34f8b8421 [Thu, 26 Aug 2021 15:21:24 +0000 (15:21 +0000)]
removed

4 years agoAdded a comment: i would like to have this feature revisted, collaberative wiki editing
jenkin.schibel@286264d9ceb79998aecff0d5d1a4ffe34f8b8421 [Thu, 26 Aug 2021 15:20:56 +0000 (15:20 +0000)]
Added a comment: i would like to have this feature revisted, collaberative wiki editing

4 years agoAdded a comment: i would like to have this feature revisted, collaberative wiki editing
jenkin.schibel@286264d9ceb79998aecff0d5d1a4ffe34f8b8421 [Thu, 26 Aug 2021 15:20:28 +0000 (15:20 +0000)]
Added a comment: i would like to have this feature revisted, collaberative wiki editing

4 years agoAdded a comment
yarikoptic [Wed, 25 Aug 2021 22:05:06 +0000 (22:05 +0000)]
Added a comment

4 years agoinitial report on inability to get data of others via ssh
yarikoptic [Wed, 25 Aug 2021 20:30:52 +0000 (20:30 +0000)]
initial report on inability to get data of others via ssh

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 25 Aug 2021 18:22:11 +0000 (14:22 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years ago--batch-keys
Joey Hess [Wed, 25 Aug 2021 18:20:33 +0000 (14:20 -0400)]
--batch-keys

New --batch-keys option added to these commands:  get, drop, move, copy, whereis

git-annex-matching-options had to be reworded since some of its options
can be used to match on keys, not only files.

Sponsored-by: Luke Shumaker on Patreon
4 years agoAdded a comment: will do
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb [Tue, 24 Aug 2021 21:45:28 +0000 (21:45 +0000)]
Added a comment: will do

4 years agocomment
Joey Hess [Tue, 24 Aug 2021 19:02:53 +0000 (15:02 -0400)]
comment

4 years agoAdded a comment
yarikoptic [Tue, 24 Aug 2021 18:06:10 +0000 (18:06 +0000)]
Added a comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 24 Aug 2021 18:04:03 +0000 (14:04 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoFix test suite failure on Windows
Joey Hess [Tue, 24 Aug 2021 18:03:29 +0000 (14:03 -0400)]
Fix test suite failure on Windows

It would be better if the Arbitrary instance avoided generating impossible
filenames like "foo/c:bar", but proably this is the only place that splits
the file from the directory and then uses the file without the directory..
At least on the quickcheck properties.

Sponsored-by: Svenne Krap on Patreon
4 years agounused: Skip the refs/annex/last-index ref that git-annex recently started creating
Joey Hess [Tue, 24 Aug 2021 16:58:14 +0000 (12:58 -0400)]
unused: Skip the refs/annex/last-index ref that git-annex recently started creating

This was unlikely to cause any problem, but it is unsightly to mention
normally hidden refs, and it might have done a bit of unnecessary work to
check that ref.

Sponsored-by: Noam Kremen on Patreon
4 years agocomment
Joey Hess [Tue, 24 Aug 2021 16:53:24 +0000 (12:53 -0400)]
comment

4 years agocomment, improve docs
Joey Hess [Tue, 24 Aug 2021 16:45:13 +0000 (12:45 -0400)]
comment, improve docs

4 years agocomment
Joey Hess [Tue, 24 Aug 2021 16:38:08 +0000 (12:38 -0400)]
comment

4 years agoAdded a comment: more info
yarikoptic [Tue, 24 Aug 2021 16:35:26 +0000 (16:35 +0000)]
Added a comment: more info

4 years agocomment
Joey Hess [Tue, 24 Aug 2021 16:25:55 +0000 (12:25 -0400)]
comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 24 Aug 2021 16:00:22 +0000 (12:00 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoretitle
Joey Hess [Tue, 24 Aug 2021 16:00:06 +0000 (12:00 -0400)]
retitle

4 years agocomment
Joey Hess [Tue, 24 Aug 2021 15:57:51 +0000 (11:57 -0400)]
comment

4 years agopoll vote (OpenStack SWIFT)
2003:e4:1f1d:ac00:e7e9:509d:6f4a:34a4 [Tue, 24 Aug 2021 15:49:53 +0000 (15:49 +0000)]
poll vote (OpenStack SWIFT)

4 years agocomment
Joey Hess [Tue, 24 Aug 2021 15:10:23 +0000 (11:10 -0400)]
comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 24 Aug 2021 15:07:39 +0000 (11:07 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agocomment
Joey Hess [Tue, 24 Aug 2021 15:07:19 +0000 (11:07 -0400)]
comment

4 years agoAdd a tip explaining how to enable-tor on NixOS
Yuval Kogman [Tue, 24 Aug 2021 04:34:55 +0000 (04:34 +0000)]
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?

4 years ago(no commit message)
login+git-annex@12145486ec1e9f0d1587cdb0c6ef7538abab1c31 [Sat, 21 Aug 2021 00:37:20 +0000 (00:37 +0000)]

4 years agoAdded a comment: `git annex sync --no-commit --content` takes double the time of...
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb [Fri, 20 Aug 2021 02:05:53 +0000 (02:05 +0000)]
Added a comment: `git annex sync --no-commit --content` takes double the time of `git annex get .`

4 years ago(no commit message)
anarcat [Thu, 19 Aug 2021 14:44:56 +0000 (14:44 +0000)]

4 years agoclose
Joey Hess [Wed, 18 Aug 2021 21:37:17 +0000 (17:37 -0400)]
close

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 18 Aug 2021 21:36:35 +0000 (17:36 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agofix test suite failure when run with LANG=C
Joey Hess [Wed, 18 Aug 2021 21:36:00 +0000 (17:36 -0400)]
fix test suite failure when run with LANG=C

4 years agoAdded a comment: commit 492036622a6326852c29e23608f3959f63e55685 fixes this
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb [Wed, 18 Aug 2021 21:10:51 +0000 (21:10 +0000)]
Added a comment: commit 492036622a6326852c29e23608f3959f63e55685 fixes this

4 years agoAdded a comment
Lukey [Wed, 18 Aug 2021 21:07:12 +0000 (21:07 +0000)]
Added a comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 18 Aug 2021 20:35:54 +0000 (16:35 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agofix OSX build
Joey Hess [Wed, 18 Aug 2021 20:35:26 +0000 (16:35 -0400)]
fix OSX build

4 years ago(no commit message)
yarikoptic [Wed, 18 Aug 2021 20:19:36 +0000 (20:19 +0000)]

4 years agoAdded a comment: So where are the file stored?
git-annex.branchable.com@78dd096e15e9d37643bf695293cae77fec735698 [Wed, 18 Aug 2021 20:19:25 +0000 (20:19 +0000)]
Added a comment: So where are the file stored?

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 18 Aug 2021 19:17:56 +0000 (15:17 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoincremental verification for gitlfs and httpalso
Joey Hess [Wed, 18 Aug 2021 19:13:14 +0000 (15:13 -0400)]
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
4 years agoincremental verification for S3
Joey Hess [Wed, 18 Aug 2021 19:07:00 +0000 (15:07 -0400)]
incremental verification for S3

Sponsored-by: Dartmouth College's DANDI project
4 years agoincremental verification for web special remote
Joey Hess [Wed, 18 Aug 2021 18:49:01 +0000 (14:49 -0400)]
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
4 years agodistinguish between incremental verification failing and not being done
Joey Hess [Wed, 18 Aug 2021 17:54:40 +0000 (13:54 -0400)]
distinguish between incremental verification failing and not being done

Sponsored-by: Dartmouth College's DANDI project
4 years agorefactor
Joey Hess [Wed, 18 Aug 2021 17:35:53 +0000 (13:35 -0400)]
refactor

4 years agorefactor
Joey Hess [Wed, 18 Aug 2021 17:19:02 +0000 (13:19 -0400)]
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
4 years agoremove comment
Joey Hess [Wed, 18 Aug 2021 17:02:02 +0000 (13:02 -0400)]
remove comment

This comment used to be in Crypto, where it made sense, but it does not
really make any sense in Utility.Hash

4 years agostatus update
Joey Hess [Wed, 18 Aug 2021 16:44:45 +0000 (12:44 -0400)]
status update

4 years agoidea
Joey Hess [Wed, 18 Aug 2021 16:38:55 +0000 (12:38 -0400)]
idea

4 years agoAdded a comment
Austin [Wed, 18 Aug 2021 06:28:39 +0000 (06:28 +0000)]
Added a comment

4 years ago(no commit message)
Austin [Wed, 18 Aug 2021 06:17:46 +0000 (06:17 +0000)]

4 years agocommit f0754a61f doesn't compile on Windows without a small patch
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb [Tue, 17 Aug 2021 21:15:04 +0000 (21:15 +0000)]
commit f0754a61f doesn't compile on Windows without a small patch

4 years agoplumb VerifyConfig into retrieveKeyFile
Joey Hess [Tue, 17 Aug 2021 16:41:36 +0000 (12:41 -0400)]
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
4 years agocomment
Joey Hess [Tue, 17 Aug 2021 14:28:18 +0000 (10:28 -0400)]
comment

4 years agoinitial report about needing newer gpg to get tests pass
yarikoptic [Mon, 16 Aug 2021 21:58:07 +0000 (21:58 +0000)]
initial report about needing newer gpg to get tests pass

4 years agoAdded a comment: note on `sec=` on the mount
yarikoptic [Mon, 16 Aug 2021 21:38:13 +0000 (21:38 +0000)]
Added a comment: note on `sec=` on the mount

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 16 Aug 2021 21:30:04 +0000 (17:30 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agostatus update
Joey Hess [Mon, 16 Aug 2021 21:29:39 +0000 (17:29 -0400)]
status update

4 years agoincremental verify for webdav special remote
Joey Hess [Mon, 16 Aug 2021 20:51:58 +0000 (16:51 -0400)]
incremental verify for webdav special remote

Sponsored-by: Dartmouth College's DANDI project
4 years agoincremental verify for directory special remote
Joey Hess [Mon, 16 Aug 2021 20:22:00 +0000 (16:22 -0400)]
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
4 years agorefactor fileCopier
Joey Hess [Mon, 16 Aug 2021 19:56:24 +0000 (15:56 -0400)]
refactor fileCopier

Sponsored-by: Dartmouth College's DANDI project
4 years agomove comment
Joey Hess [Mon, 16 Aug 2021 19:25:06 +0000 (15:25 -0400)]
move comment

4 years agostatus update
Joey Hess [Mon, 16 Aug 2021 19:15:32 +0000 (15:15 -0400)]
status update

I was wrong about S3 supporting tailVerify.

4 years agohandle AlreadyInUseError
Joey Hess [Mon, 16 Aug 2021 19:01:28 +0000 (15:01 -0400)]
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
4 years agobetter handling of finishing up incomplete incremental verify
Joey Hess [Mon, 16 Aug 2021 18:50:21 +0000 (14:50 -0400)]
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
4 years agoimprove tailVerify
Joey Hess [Mon, 16 Aug 2021 16:42:44 +0000 (12:42 -0400)]
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
4 years agoupdate description that it is isilon under
yarikoptic [Mon, 16 Aug 2021 17:44:01 +0000 (17:44 +0000)]
update description that it is isilon under

4 years agoAdded a comment: type=git special remote cannot be enabled, no uuid is generated
matthias.risze@9f2c8f7faed4cac1905d1bf1ee4524d708c13688 [Mon, 16 Aug 2021 13:02:04 +0000 (13:02 +0000)]
Added a comment: type=git special remote cannot be enabled, no uuid is generated

4 years agomigrate script: Get full list of remotes that have a file; doc updates; progress...
https://christian.amsuess.com/chrysn [Sun, 15 Aug 2021 19:01:37 +0000 (19:01 +0000)]
migrate script: Get full list of remotes that have a file; doc updates; progress output; corner case fixes

4 years agoAdded a comment: Another example
https://christian.amsuess.com/chrysn [Sun, 15 Aug 2021 17:42:54 +0000 (17:42 +0000)]
Added a comment: Another example

4 years agomigrate script: Do whereis work before to speed up processing
https://christian.amsuess.com/chrysn [Sun, 15 Aug 2021 11:48:58 +0000 (11:48 +0000)]
migrate script: Do whereis work before to speed up processing

4 years agoAdded a comment: annex-to-annex
https://christian.amsuess.com/chrysn [Sun, 15 Aug 2021 11:47:31 +0000 (11:47 +0000)]
Added a comment: annex-to-annex

4 years agomigrate script: Fix accidentally commented-out fsck run
https://christian.amsuess.com/chrysn [Sun, 15 Aug 2021 11:04:37 +0000 (11:04 +0000)]
migrate script: Fix accidentally commented-out fsck run

4 years agomigrate script: Don't try on all remotes, look where it is and drop from there (faster)
https://christian.amsuess.com/chrysn [Sun, 15 Aug 2021 10:37:53 +0000 (10:37 +0000)]
migrate script: Don't try on all remotes, look where it is and drop from there (faster)

4 years agoAdded a comment: annex-to-annex
spwhitton [Fri, 13 Aug 2021 22:08:57 +0000 (22:08 +0000)]
Added a comment: annex-to-annex

4 years agoConvert previously missing attachment
https://christian.amsuess.com/chrysn [Fri, 13 Aug 2021 20:58:57 +0000 (20:58 +0000)]
Convert previously missing attachment

4 years agoTool to drop migrated files for good
https://christian.amsuess.com/chrysn [Fri, 13 Aug 2021 20:53:48 +0000 (20:53 +0000)]
Tool to drop migrated files for good

4 years agofix windows build
Joey Hess [Fri, 13 Aug 2021 20:36:33 +0000 (16:36 -0400)]
fix windows build

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 13 Aug 2021 20:35:20 +0000 (16:35 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agostatus update
Joey Hess [Fri, 13 Aug 2021 20:20:48 +0000 (16:20 -0400)]
status update

4 years agocatch more exceptions
Joey Hess [Fri, 13 Aug 2021 20:16:46 +0000 (16:16 -0400)]
catch more exceptions

I saw this:

  .git/annex/tmp/SHA256E-s1234376--5ba8e06e0163b217663907482bbed57684d7188024155ddc81da0710dfd2687d: openBinaryFile: resource busy (file is locked)

 guess catching IO exceptions did not catch that one.

4 years agoincremental hashing for fileRetriever
Joey Hess [Fri, 13 Aug 2021 19:43:29 +0000 (15:43 -0400)]
incremental hashing for fileRetriever

It uses tailVerify to hash the file while it's being written.

This is able to sometimes avoid a separate checksum step. Although
if the file gets written quickly enough, tailVerify may not see it
get created before the write finishes, and the checksum still happens.

Testing with the directory special remote, incremental checksumming did
not happen. But then I disabled the copy CoW probing, and it did work.
What's going on with that is the CoW probe creates an empty file on
failure, then deletes it, and then the file is created again. tailVerify
will open the first, empty file, and so fails to read the content that
gets written to the file that replaces it.

The directory special remote really ought to be able to avoid needing to
use tailVerify, and while other special remotes could do things that
cause similar problems, they probably don't. And if they do, it just
means the checksum doesn't get done incrementally.

Sponsored-by: Dartmouth College's DANDI project
4 years agoINotify.removeWatch can crash
Joey Hess [Fri, 13 Aug 2021 19:35:18 +0000 (15:35 -0400)]
INotify.removeWatch can crash

Unsure why, possibly if the file has been replaced by another file.