Commit graph

31987 commits

Author SHA1 Message Date
account+annex@806a7c5f67b75d530bced4ea294c77681ebdf766
c382375d49 2022-08-17 14:28:27 +00:00
Joey Hess
29d7741947
comment 2022-08-16 12:09:12 -04:00
oliv5
3414507cf3 Added a comment 2022-08-16 14:55:44 +00:00
Joey Hess
7286f408fa
close 2022-08-15 14:33:40 -04:00
Joey Hess
7fba5dee61
correct documentation, keyid= only works once
keyid+= can be used to add additional key ids later.

I wonder if this broke with changes to remote configs? But I think it's
always been a map, and so only one keyid can be stored and later ones
overwrite earlier ones.

Sponsored-by: Brett Eisenberg on Patreon
2022-08-15 14:25:13 -04:00
Joey Hess
195f870265
comment 2022-08-15 14:05:05 -04:00
Joey Hess
2fba8ded77
comment 2022-08-15 12:39:19 -04:00
Joey Hess
840bd50390
make it easier to use curl for unusual url schemes
Use curl when annex.security.allowed-url-schemes includes an url scheme not
supported by git-annex internally, as long as
annex.security.allowed-ip-addresses is configured to allow using curl.

Sponsored-by: Luke Shumaker on Patreon
2022-08-15 12:22:13 -04:00
Atemu
2fc9a0096f 2022-08-15 10:50:59 +00:00
DavidD
af60cd2050 2022-08-12 18:33:35 +00:00
Joey Hess
d07a1dbdee
comment about annex.dbdir on relevant bugs 2022-08-12 13:31:27 -04:00
Joey Hess
4cfe17a9e8
use a subdirectory of annex.dbdir
This allows annex.dbdir to be set globally or always set to the same
value when needed. Each repository uses a subdirectory of it.

Sponsored-by: Dartmouth College's Datalad project
2022-08-12 13:18:15 -04:00
Joey Hess
16e82f6cf9
comment 2022-08-12 13:10:54 -04:00
Joey Hess
428af29281
Merge branch 'dbdir' 2022-08-12 13:07:12 -04:00
Joey Hess
a335c1e46e
annex.dbdir fully working
Completes work started in e60766543f

I've verified that all the sqlite databases get stored in annex.dbdir
and are created successfully. If annex.dbdir does not exist, it will be
created; its parent directory must already exist though.

Sponsored-by: Dartmouth College's Datalad project
2022-08-12 13:06:58 -04:00
Joey Hess
b80ad3a2ad
comment 2022-08-11 17:16:35 -04:00
Joey Hess
e60766543f
add annex.dbdir (WIP)
WIP: This is mostly complete, but there is a problem: createDirectoryUnder
throws an error when annex.dbdir is set to outside the git repo.

annex.dbdir is a workaround for filesystems where sqlite does not work,
due to eg, the filesystem not properly supporting locking.

It's intended to be set before initializing the repository. Changing it
in an existing repository can be done, but would be the same as making a
new repository and moving all the annexed objects into it. While the
databases get recreated from the git-annex branch in that situation, any
information that is in the databases but not stored in the branch gets
lost. It may be that no information ever gets stored in the databases
that cannot be reconstructed from the branch, but I have not verified
that.

Sponsored-by: Dartmouth College's Datalad project
2022-08-11 16:58:53 -04:00
Joey Hess
425deaf615
comment 2022-08-11 13:59:37 -04:00
atrent
e3b6d203c1 2022-08-11 12:45:59 +00:00
Joey Hess
e9ffffbb8f
close 2022-08-10 12:29:29 -04:00
Atemu
434a1423c0 Added a comment 2022-08-10 12:35:28 +00:00
yarikoptic
bd3c68a57a Added a comment 2022-08-09 19:12:40 +00:00
yarikoptic
7cfab36e10 Added a comment 2022-08-09 18:02:32 +00:00
yarikoptic
dc10e9fdc2 Added a comment 2022-08-09 18:02:08 +00:00
Joey Hess
21cfd0ea98
fix reversion
3a513cfe73 caused a reversion in addurl.
The type of addSmall changed, but the void prevented the type checker
from helping notice this. Since it now returns a CommandPerform, the
cleanup action has to be run.

Sponsored-by: Dartmouth College's Datalad project
2022-08-09 13:49:30 -04:00
Joey Hess
eb2acf5fd7
comment 2022-08-09 13:26:47 -04:00
Joey Hess
4a68abace1
comment 2022-08-09 13:21:58 -04:00
Joey Hess
607c57d66b
comment 2022-08-09 13:06:48 -04:00
Joey Hess
4a5b50fae8
comment 2022-08-09 12:33:24 -04:00
yarikoptic
5595d0ef96 initial report on possible regression due to --dry-run 2022-08-09 13:37:39 +00:00
Atemu
50c4632740 Added a comment 2022-08-09 06:22:50 +00:00
Atemu
007d89f3e9 Added a comment 2022-08-09 06:14:05 +00:00
rinomizu5@5ead4c82685c65d7717dbd5591b80425036ae9e3
8adb37a98c Added a comment 2022-08-09 00:33:56 +00:00
Joey Hess
abd417d4fe
Avoid running multiple bup split processes concurrently
Since bup split is not concurrency safe.

Used a lock file so that 2 git-annex processes only run one bup split
between them (per bup repo).

(Concurrent writes from different git-annex repository clones to the same
bup repo could still have concurrency problems.)

Sponsored-by: Noam Kremen on Patreon
2022-08-08 18:54:06 -04:00
Joey Hess
04247fb4d0
avoid surprising "not found" error when copying to a http remote
git-annex copy --to a http remote will of course fail, as that's not
supported. But git-annex copy first checks if the content is already
present in the remote, and that threw a "not found".

Looks to me like other remotes that use Url.checkBoth in their checkPresent
do just return false when it fails. And Url.checkBoth does display
errors when unusual errors occur. So I'm pretty sure removing this error
message is ok.

Sponsored-by: Jarkko Kniivilä on Patreon
2022-08-08 11:57:24 -04:00
Joey Hess
645a66a084
comment 2022-08-08 11:26:25 -04:00
Joey Hess
7a235469e7
comment 2022-08-08 11:23:54 -04:00
Joey Hess
8d3a6ae527
comment 2022-08-08 11:15:04 -04:00
rinomizu5@5ead4c82685c65d7717dbd5591b80425036ae9e3
d4b29293b8 Added a comment: Additional Questions: git annex copy failed 2022-08-08 10:31:26 +00:00
rinomizu5@5ead4c82685c65d7717dbd5591b80425036ae9e3
96794dbd0a Added a comment: Additional Questions: git annex copy failed 2022-08-08 10:31:04 +00:00
aurelia@b44312a63326710de6cea9c43290e5debbd55607
a24ae08142 Added a comment 2022-08-07 10:28:09 +00:00
Atemu
dec58c032c Added a comment 2022-08-07 08:05:24 +00:00
Joey Hess
6d762fafae
idea 2022-08-05 14:54:10 -04:00
Joey Hess
ee73bc7a3c
tag datalad since they have an issue about this 2022-08-05 14:48:21 -04:00
Joey Hess
7ac161395b
comment 2022-08-05 14:10:47 -04:00
Joey Hess
9e66a332b4
Merge branch 'master' of ssh://git-annex.branchable.com 2022-08-05 13:57:32 -04:00
Joey Hess
5bc70e2da5
When bup split fails, display its stderr
It seems worth noting here that I emailed bup's author about bup split
being noisy on stderr even with -q in approximately 2011. That never got
fixed. Its current repo on github only accepts pull requests, not bug
reports. Needing to add such complexity to deal with such a longstanding
unfixed issue is not fun.

Sponsored-by: Kevin Mueller on Patreon
2022-08-05 13:57:20 -04:00
yarikoptic
e884d2ed4c Added a comment 2022-08-05 16:17:09 +00:00
Joey Hess
a23fd7349f
work around git segfault
Work around bug in git 2.37 that causes a segfault when when
core.untrackedCache is set, and broke git-annex init.

Depending on when git gets fixed and how widely the buggy versions are
used, this could be reverted quite soon, or need to linger for a long time.
It only makes git-annex init a tiny bit slower in a new repo.

Sponsored-by: Max Thoursie on Patreon
2022-08-04 14:20:57 -04:00
Joey Hess
008204b2f3
explain why this happens and close 2022-08-04 12:39:07 -04:00
Joey Hess
6950e01e2a
Revert "fix link"
This reverts commit 2f671f1d1b.

Didn't work
2022-08-04 12:20:02 -04:00
Joey Hess
2f671f1d1b
fix link 2022-08-04 12:18:49 -04:00
Joey Hess
cd9fd6e28c
fix case of Win32 2022-08-04 12:17:27 -04:00
rinomizu5@5ead4c82685c65d7717dbd5591b80425036ae9e3
2824b476c2 2022-08-04 08:28:09 +00:00
rinomizu5@5ead4c82685c65d7717dbd5591b80425036ae9e3
925424092b 2022-08-04 08:26:11 +00:00
rinomizu5@5ead4c82685c65d7717dbd5591b80425036ae9e3
e91fdabba7 2022-08-04 08:23:05 +00:00
jkniiv
2930afded3 Added a comment: typo in Utility/LockFile/Windows.hs 2022-08-03 20:46:14 +00:00
jkniiv
164129b53d Added a comment 2022-08-03 15:47:08 +00:00
Joey Hess
f185140d3e
Merge branch 'master' of ssh://git-annex.branchable.com 2022-08-03 11:16:50 -04:00
Joey Hess
3a513cfe73
add --dry-run: New option
This is intended for users who want to see what it would output in order to
eg, check if a file would be added to git or the annex. It is not intended
as a way for scripts to get information.

Sponsored-by: Dartmouth College's Datalad project
2022-08-03 11:16:04 -04:00
jkniiv
e5a83d29bc Added a comment 2022-08-03 15:14:23 +00:00
Joey Hess
e005bd6f98
typo fix 2022-08-03 11:11:10 -04:00
Joey Hess
54b3bfed4b
comment 2022-08-03 10:21:08 -04:00
Joey Hess
c6ce2150f4
Merge branch 'master' of ssh://git-annex.branchable.com 2022-08-03 09:53:56 -04:00
yarikoptic
d297e9ba78 initial report on wanting --dry-run 2022-08-02 21:06:06 +00:00
Joey Hess
c2aa67d373
Merge branch 'master' of ssh://git-annex.branchable.com 2022-08-02 12:33:17 -04:00
Joey Hess
472f5c142b
Use createFile_NoRetry from win32 2.13.3.1
Sponsored-by: Tobias Ammann on Patreon
2022-08-02 10:45:39 -04:00
yarikoptic
3e8d7a87b6 fix link to git-annex-initremote 2022-08-02 13:51:47 +00:00
contr-error
6b0dc23338 fix links 2022-08-02 10:10:31 +00:00
yarikoptic
bb30d43b7f Added a comment 2022-08-01 18:55:38 +00:00
yarikoptic
818614ceaf Added a comment 2022-08-01 18:51:59 +00:00
Joey Hess
dddaec1b74
Revert "stack.yaml: Updated to lts-19.16"
This reverts commit b5dc04099e.

Broke windows build, because the new lts updates Win32 to a version that
lacks a function that git-annex needs. git-annex.cabal depends on an
older Win32, and so stack build fails.

Will need to wait to update stack.yaml until this is fixed
https://github.com/haskell/win32/issues/208
and is in a new LTS release.
2022-08-01 13:24:46 -04:00
Joey Hess
010332dba3
comment 2022-08-01 13:10:30 -04:00
Joey Hess
f6f46eb9eb
comment 2022-08-01 12:45:41 -04:00
Joey Hess
89095abc26
comment 2022-08-01 12:38:39 -04:00
Joey Hess
0c0724e9a8
response 2022-08-01 12:36:44 -04:00
Joey Hess
fcb8b19737
Merge branch 'master' of ssh://git-annex.branchable.com 2022-08-01 12:09:52 -04:00
jkniiv
53a5d21797 created my user page 2022-07-31 18:41:02 +00:00
jkniiv
0e14491e00 Added a comment 2022-07-31 18:00:59 +00:00
Ilya_Shlyakhter
2d982ffccd Added a comment: lts version 2022-07-31 17:25:27 +00:00
jkniiv
0b748f8d9b lts-19.16 causes an issue on Windows 2022-07-31 08:56:00 +00:00
Atemu
34d7675302 Added a comment 2022-07-30 15:30:31 +00:00
Dan
e832676d38 Added a comment 2022-07-29 22:02:56 +00:00
Joey Hess
b2d2711ba1
remove explicit-setup-deps
This has not been needed since stack <1.4.0, and even the i386ancent
build uses stack 2.1.1.

Stack 2.7.5 seems to have forgotten about this old config and warns
about it, so this avoids that warning.

The libtinfo-dev was added to the docs at the same time, I assume it is
also not necessary.
2022-07-29 17:34:13 -04:00
Joey Hess
29f6b19525
fix pagespec 2022-07-29 13:00:19 -04:00
Joey Hess
d8f94389e1
comment 2022-07-29 12:38:52 -04:00
Joey Hess
d15fe4285f
find does not support --batch-keys
It was added to the man page in error.
2022-07-29 12:34:22 -04:00
Joey Hess
08be64b6f6
comment 2022-07-29 12:30:33 -04:00
ceramic_glass
10d051f49d Added a comment 2022-07-29 08:08:33 +00:00
Dan
d04553fdc4 Added a comment: Re: Confirming all annexed files exist elsewhere? 2022-07-28 23:20:03 +00:00
Joey Hess
e3544abc71
Merge branch 'master' of ssh://git-annex.branchable.com 2022-07-28 13:47:27 -04:00
Ilya_Shlyakhter
b14270e0fe Added a comment: Re: "Confirming all annexed files exist elsewhere?" 2022-07-28 17:40:20 +00:00
Joey Hess
be19a68276
new matching options --want-get-by and --want-drop-by
Sponsored-by: Graham Spencer on Patreon
2022-07-28 13:26:03 -04:00
Joey Hess
2bb42fa003
comment 2022-07-28 12:15:07 -04:00
Joey Hess
c8a2752345
comment 2022-07-28 12:07:30 -04:00
ceramic_glass
7ec949e0fc 2022-07-28 00:23:44 +00:00
Dan Kessler
887a039194 update comment about updating comments :) 2022-07-27 19:29:43 -04:00
Dan Kessler
2f0620a917 fix up comment 2022-07-27 19:26:10 -04:00
Dan
f79cd648de Added a comment: Confirming all annexed files exist elsewhere? 2022-07-27 16:35:22 +00:00
kdm9
11f7e68e16 Added a comment: Bump for --want-get/drop-by 2022-07-26 18:19:37 +00:00