Commit graph

39511 commits

Author SHA1 Message Date
Joey Hess
4459e04117
comment 2021-03-30 12:48:43 -04:00
Lukey
a366e9d0fc Added a comment 2021-03-30 16:21:14 +00:00
Joey Hess
773752b040
comment 2021-03-30 12:06:36 -04:00
Lukey
568f1c421b Added a comment 2021-03-30 16:01:04 +00:00
Joey Hess
a5cc9d0342
mention the --activity=Fsck 2021-03-30 11:49:11 -04:00
Ilya_Shlyakhter
4403791c6c Added a comment: autoenabling external special remotes 2021-03-30 15:17:05 +00:00
Ilya_Shlyakhter
075e209ce2 added bug report re: git-annex-sync succeeding without fetching all files 2021-03-30 15:00:56 +00:00
Ilya_Shlyakhter
9b8661c327 added suggestion to have git-annex-info display the time of last interaction with repos 2021-03-30 14:31:14 +00:00
Kyle Meyer
fb03382f2d doc/install/guix: Prune list of disabled features 2021-03-29 14:26:01 -04:00
Joey Hess
99dd7eb480
update 2021-03-29 13:58:27 -04:00
Joey Hess
9838e858b5
comment 2021-03-29 13:39:21 -04:00
Joey Hess
91b8121c8d
close 2021-03-29 13:08:22 -04:00
Joey Hess
717caca083
Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-29 13:07:40 -04:00
Lukey
6bb76b015e removed 2021-03-29 15:09:28 +00:00
Mcadamsdaniel@54b31d05ef6226d665c7bfe4a7227ca3d330fd07
3ef9153b38 removed 2021-03-29 15:07:08 +00:00
Mcadamsdaniel@54b31d05ef6226d665c7bfe4a7227ca3d330fd07
743c952c53 Added a comment: @seanl 2021-03-29 15:06:29 +00:00
Mcadamsdaniel@54b31d05ef6226d665c7bfe4a7227ca3d330fd07
10f6e36cfe Added a comment: @seanl 2021-03-29 15:04:36 +00:00
Ilya_Shlyakhter
4a63a37d9b Added a comment 2021-03-26 23:15:08 +00:00
Lukey
2f3e723a90 Added a comment 2021-03-26 21:47:41 +00:00
Joey Hess
07cbaf9a86
Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-26 16:09:35 -04:00
Joey Hess
4611813ef1
Fix bug importing from a special remote into a subdirectory more than one level deep
Which generated unusual git trees that could confuse git merge,
since they incorrectly had 2 subtrees with the same name.

Root of the bug was a) not testing that at all! but also
b) confusing graftdirs, which contains eg "foo/bar" with
non-recursively read trees, which would contain eg "bar"
when reading a subtree of "foo".

It's worth noting that Annex.Import uses graftTree, but it really
shouldn't have needed to. Eg, when importing into foo/bar from a remote,
it's enough to generate a tree of foo/bar/x, foo/bar/y, and does not
include other files that are at the top of the master branch. It uses
graftTree, so it does include the other files, as well as the foo/bar
tree. git merge will do the same thing for both trees. With that said,
switching it away from graftTree would result in another import
generating a new commit that seems to delete files that were there in a
previous commit, so it probably has to keep using graftTree since it
used it before.

This commit was sponsored by Kevin Mueller on Patreon.
2021-03-26 16:04:36 -04:00
Ilya_Shlyakhter
f49c6fa9d2 Added a comment: conflicting git-annex-config values 2021-03-26 19:27:05 +00:00
Joey Hess
4a387eda54
fix oops 2021-03-26 14:37:03 -04:00
Joey Hess
1a8f984634
initial analysis 2021-03-26 14:27:48 -04:00
Joey Hess
183b77fef4
comment 2021-03-26 13:32:19 -04:00
Joey Hess
7684cd28bb
Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-26 13:29:57 -04:00
Joey Hess
f085ae4937
borg: Support importing files that are hard linked in the borg backup
Note that a key with no size field that is hard linked will
result in listImportableContents reporting a file size of 0,
rather than the actual size of the file. One result is that
the progress meter when getting the file will seem to get stuck
at 100%. Another is that the remote's preferred content expression,
if it tries to match against file size, will treat it as an empty file.
I don't see a way to improve the latter behavior, and the former behavior
is a minor enough problem.

This commit was sponsored by Jake Vosloo on Patreon.
2021-03-26 13:29:34 -04:00
Joey Hess
31eb5fddf3
borg: Fix a bug that prevented importing keys of type URL and WORM
Keys stored on the filesystem are mangled by keyFile to avoid problem
chars. So, that mangling has to be reversed when parsing files from a
borg backup back to a key.

The directory special remote also so mangles them. Some other special
remotes do not; eg S3 just serializes the key -- but S3 object names are
not limited to filesystem valid filenames anyway, so a S3 server must
not map them directly to files in any case. It seems unlikely that a
borg backup of some such special remote will get broken by this change.

This commit was sponsored by Graham Spencer on Patreon.
2021-03-26 12:07:00 -04:00
parhuzamos
72f5088d34 2021-03-26 12:34:01 +00:00
parhuzamos
2187892a81 2021-03-26 12:31:47 +00:00
Lukey
79adbbadce Added a comment 2021-03-25 18:26:32 +00:00
branchable@652bb419541f29c1d6b1fc16bd84c3867fbda245
252551e670 2021-03-25 17:25:29 +00:00
Joey Hess
537f9d9a11
Improved display of errors when accessing a git http remote fails.
New error message:

  Remote foo not usable by git-annex; setting annex-ignore

  http://localhost/foo/config download failed: Configuration of annex.security.allowed-ip-addresses does not allow accessing address ::1

If git config parse fails, or the git config file is not available at the url,
a better error message for that is also shown.

This commit was sponsored by Mark Reidenbach on Patreon.
2021-03-24 14:19:32 -04:00
Joey Hess
fdf1ccbe3f
move comment 2021-03-24 13:57:00 -04:00
Joey Hess
97021435de
Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-24 12:12:08 -04:00
Joey Hess
4631d1ab56
Fix build with attoparsec-0.14
It changed parseOnly in the ByteString.Lazy module to take a lazy, not
strict ByteString. In all these cases though, we actually had a strict
ByteString, so the most efficient fix, which also happens to avoid needing
ifdefs, is to use the non-lazy module instead.

This commit was sponsored by Denis Dzyubenko on Patreon.
2021-03-24 12:11:50 -04:00
Joey Hess
41d9148c72
fix attoparsec lower bound
needed for parseOnly
2021-03-24 11:54:16 -04:00
git-annex@6f13b739194f758abc0b86556b7ce966c1bf3c00
14b846e9fa Added a comment: borg hardlinks 2021-03-24 10:29:16 +00:00
git-annex@6f13b739194f758abc0b86556b7ce966c1bf3c00
d4a3465f8b Added a comment: / vs. % in key 2021-03-24 10:07:30 +00:00
git-annex@6f13b739194f758abc0b86556b7ce966c1bf3c00
cc9d6889e2 2021-03-24 09:44:49 +00:00
tomdhunt
ffccfff618 Added a comment 2021-03-23 22:59:07 +00:00
Ilya_Shlyakhter
fc598d56e9 posted forum question re: git-annex-sync and git-annex-config 2021-03-23 20:13:18 +00:00
Ilya_Shlyakhter
a4cc0c95b4 added suggestion for additional git-annex-config settings 2021-03-23 20:11:39 +00:00
Ilya_Shlyakhter
547a5a8ca8 Added a comment: annex.supportunlocked=false 2021-03-23 20:02:19 +00:00
Joey Hess
f19271c5d9
comment 2021-03-23 15:51:21 -04:00
Joey Hess
806b6f77b9
Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-23 15:47:21 -04:00
Joey Hess
1e3b228154
speed up init
This was making it git checkout master when that branch was already
checked out, for apparently no good reason at all. In a 100,000 file
repo, that takes about 1 second.

Note, I'm not sure why it checks out the branch in the Nothing case, so
I left that alone.
2021-03-23 15:43:42 -04:00
Ilya_Shlyakhter
3925235805 Added a comment: annex.supportunlocked 2021-03-23 19:30:44 +00:00
Joey Hess
5d78cd9d08
Sped up git-annex init in a clone of an existing repository
Seems that hasOrigin was never finding origin's git-annex branch, so a new
one got created each time. And so then it later needed to merge the two
branches, which is expensive.

Added --no-track to git branch to avoid it displaying a message about
setting up tracking branches. Of course there's no reason to make the
git-annex branch a tracking branch since git-annex auto-merges it.
2021-03-23 15:23:13 -04:00
yarikoptic
ed5fd5b896 Added a comment 2021-03-23 18:43:32 +00:00