Joey Hess [Mon, 12 Jul 2021 14:57:44 +0000 (10:57 -0400)]
comment
Joey Hess [Mon, 12 Jul 2021 14:45:57 +0000 (10:45 -0400)]
close bug
and mention another aspect of the reversion in changelog
Joey Hess [Mon, 12 Jul 2021 14:32:19 +0000 (10:32 -0400)]
close as dup
Joey Hess [Mon, 12 Jul 2021 14:24:59 +0000 (10:24 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 12 Jul 2021 14:24:42 +0000 (10:24 -0400)]
update
yarikoptic [Mon, 12 Jul 2021 14:17:52 +0000 (14:17 +0000)]
Added a comment
Joey Hess [Mon, 12 Jul 2021 14:15:49 +0000 (10:15 -0400)]
fix init reversion when core.sharedRepository = group
init: Fix misbehavior when core.sharedRepository = group that caused it to
enter an adjusted branch. (Reversion in version 8.
20210630)
Commit
4b1b9d7a83f0da71665658e6234e699e182cbddc made init call
freezeContent in case there was a hook that could prevent writing in
situations where perms don't. But with the above git config, freezeContent
does not prevent write at all. So init needs to do what freezeContent does
with a non-shared git config.
Or init could check for that config, and skip the probing, since it
won't actually be preventing write to any files. But that would make init
too aware if details of Annex.Perms, and also would break if the git config
were changed after init.
Sponsored-by: Dartmouth College's Datalad project
Joey Hess [Mon, 12 Jul 2021 13:57:48 +0000 (09:57 -0400)]
commet
Joey Hess [Mon, 12 Jul 2021 13:45:37 +0000 (09:45 -0400)]
followup
Joey Hess [Mon, 12 Jul 2021 13:40:38 +0000 (09:40 -0400)]
--debug output goes to stderr again, not stdout
Reversion in version 8.
20210428
Sponsored-by: Dartmouth College's Datalad project
Joey Hess [Mon, 12 Jul 2021 13:33:30 +0000 (09:33 -0400)]
response
Ilya_Shlyakhter [Fri, 9 Jul 2021 16:04:47 +0000 (16:04 +0000)]
Added a comment
https://christian.amsuess.com/chrysn [Fri, 9 Jul 2021 15:26:13 +0000 (15:26 +0000)]
Added a comment: +1 on supportunlocked in git-annex config
https://christian.amsuess.com/chrysn [Fri, 9 Jul 2021 15:25:53 +0000 (15:25 +0000)]
Added a comment: +1 on supportunlocked in git-annex config
yarikoptic [Thu, 8 Jul 2021 01:42:32 +0000 (01:42 +0000)]
initial coarse report on the change in behavior in recent release
yarikoptic [Wed, 7 Jul 2021 22:32:08 +0000 (22:32 +0000)]
yarikoptic [Wed, 7 Jul 2021 21:57:11 +0000 (21:57 +0000)]
initial report on stdout
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb [Tue, 6 Jul 2021 19:49:07 +0000 (19:49 +0000)]
Added a comment
pat [Tue, 6 Jul 2021 19:13:17 +0000 (19:13 +0000)]
Added a comment
Ilya_Shlyakhter [Tue, 6 Jul 2021 15:05:05 +0000 (15:05 +0000)]
added suggestion: add maxextensionlength to git-annex-config
Ilya_Shlyakhter [Tue, 6 Jul 2021 14:59:24 +0000 (14:59 +0000)]
Added a comment: about keys with extensions
Joey Hess [Tue, 6 Jul 2021 14:09:03 +0000 (10:09 -0400)]
comment
Joey Hess [Tue, 6 Jul 2021 13:46:25 +0000 (09:46 -0400)]
close
Joey Hess [Tue, 6 Jul 2021 13:45:45 +0000 (09:45 -0400)]
close
Joey Hess [Mon, 5 Jul 2021 17:19:53 +0000 (13:19 -0400)]
comment
Joey Hess [Mon, 5 Jul 2021 17:02:40 +0000 (13:02 -0400)]
addurl: Avoid crashing when used on beegfs.
Sponsored-by: Dartmouth College's DANDI project
Joey Hess [Mon, 5 Jul 2021 16:17:55 +0000 (12:17 -0400)]
comment
Joey Hess [Mon, 5 Jul 2021 16:12:51 +0000 (12:12 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 5 Jul 2021 13:37:26 +0000 (09:37 -0400)]
update
strmd [Mon, 5 Jul 2021 07:07:35 +0000 (07:07 +0000)]
Added a comment
css@fcd6583660cae4ea6565f44f31443feb8e131139 [Mon, 5 Jul 2021 03:17:39 +0000 (03:17 +0000)]
Added a comment
yarikoptic [Sun, 4 Jul 2021 03:27:20 +0000 (03:27 +0000)]
Added a comment
pat [Sun, 4 Jul 2021 00:28:09 +0000 (00:28 +0000)]
Added a comment
pat [Sat, 3 Jul 2021 23:14:30 +0000 (23:14 +0000)]
yarikoptic [Sat, 3 Jul 2021 13:44:53 +0000 (13:44 +0000)]
allocate to dandi project
Joey Hess [Fri, 2 Jul 2021 18:38:28 +0000 (14:38 -0400)]
remove TAGS target
hothasktags dropped emacs support, and probably emacs users will use
haskell-language-server rather than tags, I guess
Joey Hess [Fri, 2 Jul 2021 17:03:19 +0000 (13:03 -0400)]
update for autobuilder changes
Joey Hess [Fri, 2 Jul 2021 17:01:24 +0000 (13:01 -0400)]
update autobuilds
Joey Hess [Fri, 2 Jul 2021 16:06:56 +0000 (12:06 -0400)]
change autobuild link to something that works not a stale repo
Joey Hess [Fri, 2 Jul 2021 14:43:44 +0000 (10:43 -0400)]
add pointer to annex.security.allowed-url-schemes
Sponsored-by: Kevin Mueller on Patreon
Joey Hess [Fri, 2 Jul 2021 14:42:54 +0000 (10:42 -0400)]
comment
yarikoptic [Thu, 1 Jul 2021 23:44:25 +0000 (23:44 +0000)]
beegfs tests fails
Ilya_Shlyakhter [Thu, 1 Jul 2021 18:44:03 +0000 (18:44 +0000)]
Added a comment: syncing standalone version with the standard version
Ilya_Shlyakhter [Thu, 1 Jul 2021 17:17:20 +0000 (17:17 +0000)]
Added a comment: read-only view of repo clone with symlinks as normal files
Joey Hess [Thu, 1 Jul 2021 16:51:31 +0000 (12:51 -0400)]
fix build on windows
Sponsored-by: Dartmouth College's Datalad project
Joey Hess [Thu, 1 Jul 2021 16:49:32 +0000 (12:49 -0400)]
tag because this is affecting datalad
https://github.com/datalad/datalad/issues/5750
Joey Hess [Thu, 1 Jul 2021 16:45:03 +0000 (12:45 -0400)]
comments
Joey Hess [Wed, 30 Jun 2021 21:57:49 +0000 (17:57 -0400)]
assistant: Avoid unncessary git repository repair
In a situation where git fsck gets confused about a commit that is made
while it's running.
Sponsored-by: Graham Spencer on Patreon
Joey Hess [Wed, 30 Jun 2021 21:20:15 +0000 (17:20 -0400)]
update
Joey Hess [Wed, 30 Jun 2021 20:53:43 +0000 (16:53 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 30 Jun 2021 20:44:30 +0000 (16:44 -0400)]
bug
Joey Hess [Wed, 30 Jun 2021 20:42:08 +0000 (16:42 -0400)]
factor out pure code
Added a comment
Joey Hess [Wed, 30 Jun 2021 15:49:11 +0000 (11:49 -0400)]
add news item for git-annex 8.
20210630
Joey Hess [Wed, 30 Jun 2021 15:48:33 +0000 (11:48 -0400)]
releasing package git-annex version 8.
20210630
Joey Hess [Wed, 30 Jun 2021 15:43:39 +0000 (11:43 -0400)]
closing
yarikoptic [Wed, 30 Jun 2021 14:26:34 +0000 (14:26 +0000)]
Added a comment
jwodder [Wed, 30 Jun 2021 13:16:19 +0000 (13:16 +0000)]
falsifian [Wed, 30 Jun 2021 00:09:23 +0000 (00:09 +0000)]
Added a comment
Atemu [Tue, 29 Jun 2021 22:57:39 +0000 (22:57 +0000)]
Added a comment
Joey Hess [Tue, 29 Jun 2021 17:30:58 +0000 (13:30 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
yarikoptic [Tue, 29 Jun 2021 17:27:35 +0000 (17:27 +0000)]
Added a comment
Joey Hess [Tue, 29 Jun 2021 17:21:21 +0000 (13:21 -0400)]
avoid using CopyFile
If .git/config symlinks are ever a thing, this will handle them better.
But mostly, this is to avoid git-repair needing to include CopyFile,
which would complicate it unduely.
Joey Hess [Tue, 29 Jun 2021 17:15:15 +0000 (13:15 -0400)]
repair: Fix reversion in version 8.
20200522 that prevented fetching missing objects from remotes
In commit
dfc4e641b5c14418ec1c1b45bed1325cf8cbb0c3 git repair was changed
to use remote name, not url, when fetching. But it fetches into a temporary
git repo, which doesn't have remotes configured. Oops.
(In my defense, that commit was made just as covid lockdown started. But
testing? Urk.)
Sponsored-by: Mark Reidenbach on Patreon
Joey Hess [Tue, 29 Jun 2021 16:57:19 +0000 (12:57 -0400)]
make repair interruption safe
Fixed bug that interrupting git-annex repair (or assistant) while it was
fixing repository corruption would lose objects that were contained in pack
files.
Unpack all pack files and move objects into place *before* deleting the
pack files. The old approach moved the pack files to a temp directory
before unpacking them, which was not interruption safe.
Sponsored-By: Jochen Bartl on Patreon
Joey Hess [Mon, 28 Jun 2021 19:00:21 +0000 (15:00 -0400)]
some analysis
Joey Hess [Mon, 28 Jun 2021 17:14:19 +0000 (13:14 -0400)]
close
Joey Hess [Mon, 28 Jun 2021 17:11:13 +0000 (13:11 -0400)]
close
Joey Hess [Mon, 28 Jun 2021 17:08:57 +0000 (13:08 -0400)]
close
Joey Hess [Mon, 28 Jun 2021 17:05:26 +0000 (13:05 -0400)]
close
Joey Hess [Mon, 28 Jun 2021 16:54:41 +0000 (12:54 -0400)]
comment
Joey Hess [Mon, 28 Jun 2021 16:51:40 +0000 (12:51 -0400)]
avoid using cp --reflink=auto on windows
Sponsored-by: Dartmouth College's Datalad project
Joey Hess [Sun, 27 Jun 2021 15:13:38 +0000 (11:13 -0400)]
addurl, importfeed: Added --no-raw option
Forces eg, download with youtube-dl without falling back to raw download.
Since youtube-dl failing due to an url not being supported is difficult to
distinguish from it failing due to being blocked in some way, this can be
useful to avoid the fallback of git-annex downloading the raw web page and
adding that.
Since --raw also prevents using special remotes, --no-raw also
allows special remote downloads. Although it's always possible that some
special remote may claim an url and fall back to raw download of the
content, which --no-raw cannot prevent.
Sponsored-by: Boyd Stephen Smith Jr. on Patreon
Joey Hess [Fri, 25 Jun 2021 19:22:05 +0000 (15:22 -0400)]
dropping unused marks as dead
Dropping an object with drop --unused or dropunused will mark it as
dead, preventing fsck --all from complaining about it after it's been
dropped from all repositories.
If another repository still has a copy, it won't be treated as dead
until it's also dropped from there.
The drop has to use --unused, can't be --key or something else, because
this indicates that the user has recently ran git-annex unused. If it
checked the unused log on every drop, bad things would happen when the
unused log was out of date, eg a file used to be unused but then got
re-added. Marking such a file as dead could be confusing. When the user
uses --unused/dropunused, they must consider the unused information to be
up-to-date.
The particular workflow this enables is:
git annex add foo
git annex unannex foo
git annex unused
git annex drop --unused / dropunused
git annex fsck --all # no warnings
The docs for git-annex unannex say to use git-annex unused and dropunused,
so the user should be pointed in this direction when they want to undo an
accidental add.
Sponsored-by: Brock Spratlen on Patreon
Joey Hess [Fri, 25 Jun 2021 18:48:36 +0000 (14:48 -0400)]
fix innacuracy
--all does not skip dead keys for all commands;
git-annex fsck checks if a key is dead and skips it.
Joey Hess [Fri, 25 Jun 2021 18:15:14 +0000 (14:15 -0400)]
comment
Joey Hess [Fri, 25 Jun 2021 17:52:59 +0000 (13:52 -0400)]
comment
Joey Hess [Fri, 25 Jun 2021 17:33:27 +0000 (13:33 -0400)]
comment
Joey Hess [Fri, 25 Jun 2021 17:04:17 +0000 (13:04 -0400)]
Improve display of errors when transfers fail
Transfers from or to a local git repo could fail without a reason being
given, if the content failed to verify, or if the object file's stat
changed while it was being copied. Now display messages in these cases.
Sponsored-by: Jack Hill on Patreon
Joey Hess [Fri, 25 Jun 2021 16:13:25 +0000 (12:13 -0400)]
comment
Joey Hess [Fri, 25 Jun 2021 16:11:05 +0000 (12:11 -0400)]
comment
Joey Hess [Fri, 25 Jun 2021 16:06:49 +0000 (12:06 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 25 Jun 2021 15:53:28 +0000 (11:53 -0400)]
avoid using temp file size when deciding whether to retry failed transfer
When stall detection is enabled, and a transfer is in progress,
it would display a doubled message:
(transfer already in progress, or unable to take transfer lock) (transfer already in progress, or unable to take transfer lock)
That happened because the forward retry decider had a start size of 0,
and an end size of whatever amount of the object the other process had
downloaded. So it incorrectly thought that the transferrer process had
made progress, when it had in fact immediately given up with that
message.
Instead, use the reported value from the progress meter. If a remote
does not report progress, this will mean it doesn't forward retry, in a
situation where it used to. But most remotes do report progress, and any
remote that does not can be fixed to, by using watchFileSize when
downloading. Also, some remotes might preallocate the temp file (eg
bittorrent), so relying on statting its size at this level to get
progress is dubious.
The same change was made to Annex/Transfer.hs, although only
Annex/TransferrerPool.hs needed to be changed to avoid the duplicate
message.
(An alternate fix would have been to start the retry decider with the
size of the object file before downloading begins, rather than 0.)
Sponsored-by: Brett Eisenberg on Patreon
strmd [Fri, 25 Jun 2021 15:07:55 +0000 (15:07 +0000)]
Added a comment
Ilya_Shlyakhter [Thu, 24 Jun 2021 18:16:43 +0000 (18:16 +0000)]
added suggestion re: hardening git-annex against interruptions
Ilya_Shlyakhter [Thu, 24 Jun 2021 18:03:40 +0000 (18:03 +0000)]
Added a comment: resolving merge conflicts
Lukey [Thu, 24 Jun 2021 17:43:36 +0000 (17:43 +0000)]
Added a comment
Ilya_Shlyakhter [Thu, 24 Jun 2021 16:40:48 +0000 (16:40 +0000)]
Added a comment: thanks
Joey Hess [Wed, 23 Jun 2021 21:31:09 +0000 (17:31 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 23 Jun 2021 21:30:50 +0000 (17:30 -0400)]
comment
Ilya_Shlyakhter [Wed, 23 Jun 2021 18:45:47 +0000 (18:45 +0000)]
Added a comment: recovering from sqlite db corruption
Joey Hess [Wed, 23 Jun 2021 17:19:34 +0000 (13:19 -0400)]
comment
Joey Hess [Wed, 23 Jun 2021 16:59:00 +0000 (12:59 -0400)]
close
Joey Hess [Wed, 23 Jun 2021 16:54:48 +0000 (12:54 -0400)]
comment
Joey Hess [Wed, 23 Jun 2021 16:53:18 +0000 (12:53 -0400)]
comment and close
datamanager [Wed, 23 Jun 2021 01:29:23 +0000 (01:29 +0000)]
Added a comment: an alternative