Joey Hess [Fri, 12 Aug 2022 17:10:54 +0000 (13:10 -0400)]
comment
Joey Hess [Fri, 12 Aug 2022 17:07:12 +0000 (13:07 -0400)]
Merge branch 'dbdir'
Joey Hess [Fri, 12 Aug 2022 16:56:56 +0000 (12:56 -0400)]
annex.dbdir fully working
Completes work started in
e60766543f0ae9eaa2ac8fdaff8fff5c66501beb
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
Joey Hess [Fri, 12 Aug 2022 16:45:46 +0000 (12:45 -0400)]
improve createDirectoryUnder to allow alternate top directories
This should not change the behavior of it, unless there are multiple top
directories, and then it should behave the same as if there was a single
top directory that was actually above the directory to be created.
Sponsored-by: Dartmouth College's Datalad project
Joey Hess [Thu, 11 Aug 2022 21:16:35 +0000 (17:16 -0400)]
comment
Joey Hess [Thu, 11 Aug 2022 20:57:44 +0000 (16:57 -0400)]
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
Joey Hess [Thu, 11 Aug 2022 17:59:37 +0000 (13:59 -0400)]
comment
Joey Hess [Thu, 11 Aug 2022 17:54:02 +0000 (13:54 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
atrent [Thu, 11 Aug 2022 12:45:59 +0000 (12:45 +0000)]
Joey Hess [Wed, 10 Aug 2022 16:32:49 +0000 (12:32 -0400)]
fix wording
Joey Hess [Wed, 10 Aug 2022 16:29:29 +0000 (12:29 -0400)]
close
Atemu [Wed, 10 Aug 2022 12:35:28 +0000 (12:35 +0000)]
Added a comment
yarikoptic [Tue, 9 Aug 2022 19:12:40 +0000 (19:12 +0000)]
Added a comment
yarikoptic [Tue, 9 Aug 2022 18:02:32 +0000 (18:02 +0000)]
Added a comment
yarikoptic [Tue, 9 Aug 2022 18:02:08 +0000 (18:02 +0000)]
Added a comment
Joey Hess [Tue, 9 Aug 2022 17:46:43 +0000 (13:46 -0400)]
fix reversion
3a513cfe73ed873aeeabbc17d2c458b62dd4198c 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
Joey Hess [Tue, 9 Aug 2022 17:26:47 +0000 (13:26 -0400)]
comment
Joey Hess [Tue, 9 Aug 2022 17:21:58 +0000 (13:21 -0400)]
comment
Joey Hess [Tue, 9 Aug 2022 17:06:48 +0000 (13:06 -0400)]
comment
Joey Hess [Tue, 9 Aug 2022 16:33:24 +0000 (12:33 -0400)]
comment
Joey Hess [Tue, 9 Aug 2022 16:27:38 +0000 (12:27 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 9 Aug 2022 14:43:07 +0000 (10:43 -0400)]
don't force debuglocks flag on in Makefile
Reverts a change accidentially committed in
09edb07ac5982edc8fe2987a8b477405fe9f982b
debuglocks is minimal cost, but there is some and this was an accidental
change
Joey Hess [Tue, 9 Aug 2022 14:40:45 +0000 (10:40 -0400)]
Avoid running bup join concurrently with bup split
On the bup mailing list, this was hypothesized as also being a
concurrency problem.
Sponsored-by: Svenne Krap on Patreon
yarikoptic [Tue, 9 Aug 2022 13:37:39 +0000 (13:37 +0000)]
initial report on possible regression due to --dry-run
Atemu [Tue, 9 Aug 2022 06:22:50 +0000 (06:22 +0000)]
Added a comment
Atemu [Tue, 9 Aug 2022 06:14:05 +0000 (06:14 +0000)]
Added a comment
Added a comment
Joey Hess [Mon, 8 Aug 2022 22:54:06 +0000 (18:54 -0400)]
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
Joey Hess [Mon, 8 Aug 2022 15:57:24 +0000 (11:57 -0400)]
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
Joey Hess [Mon, 8 Aug 2022 15:26:25 +0000 (11:26 -0400)]
comment
Joey Hess [Mon, 8 Aug 2022 15:23:54 +0000 (11:23 -0400)]
comment
Joey Hess [Mon, 8 Aug 2022 15:15:04 +0000 (11:15 -0400)]
comment
Added a comment: Additional Questions: git annex copy failed
Added a comment: Additional Questions: git annex copy failed
Added a comment
Atemu [Sun, 7 Aug 2022 08:05:24 +0000 (08:05 +0000)]
Added a comment
Joey Hess [Fri, 5 Aug 2022 18:54:10 +0000 (14:54 -0400)]
idea
Joey Hess [Fri, 5 Aug 2022 18:48:21 +0000 (14:48 -0400)]
tag datalad since they have an issue about this
Joey Hess [Fri, 5 Aug 2022 18:10:47 +0000 (14:10 -0400)]
comment
Joey Hess [Fri, 5 Aug 2022 17:57:32 +0000 (13:57 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 5 Aug 2022 17:57:20 +0000 (13:57 -0400)]
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
Joey Hess [Fri, 5 Aug 2022 16:29:33 +0000 (12:29 -0400)]
improve output when storing to bup
bup split outputs to stderr even with -q. This was discarded when using -J,
but it was still outputting when not using -J, and so was git-annex.
Sponsored-by: Nicholas Golder-Manning on Patreon
yarikoptic [Fri, 5 Aug 2022 16:17:09 +0000 (16:17 +0000)]
Added a comment
Joey Hess [Thu, 4 Aug 2022 18:20:57 +0000 (14:20 -0400)]
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
Joey Hess [Thu, 4 Aug 2022 16:39:07 +0000 (12:39 -0400)]
explain why this happens and close
Joey Hess [Thu, 4 Aug 2022 16:20:02 +0000 (12:20 -0400)]
Revert "fix link"
This reverts commit
2f671f1d1bd71ef26c6a648b2321b25e6689f227.
Didn't work
Joey Hess [Thu, 4 Aug 2022 16:18:49 +0000 (12:18 -0400)]
fix link
Joey Hess [Thu, 4 Aug 2022 16:17:27 +0000 (12:17 -0400)]
fix case of Win32
jkniiv [Wed, 3 Aug 2022 20:46:14 +0000 (20:46 +0000)]
Added a comment: typo in Utility/LockFile/Windows.hs
jkniiv [Wed, 3 Aug 2022 15:47:08 +0000 (15:47 +0000)]
Added a comment
Joey Hess [Wed, 3 Aug 2022 15:16:50 +0000 (11:16 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 3 Aug 2022 15:16:04 +0000 (11:16 -0400)]
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
jkniiv [Wed, 3 Aug 2022 15:14:23 +0000 (15:14 +0000)]
Added a comment
Joey Hess [Wed, 3 Aug 2022 15:11:10 +0000 (11:11 -0400)]
typo fix
Joey Hess [Wed, 3 Aug 2022 14:21:08 +0000 (10:21 -0400)]
comment
Joey Hess [Wed, 3 Aug 2022 13:53:56 +0000 (09:53 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
yarikoptic [Tue, 2 Aug 2022 21:06:06 +0000 (21:06 +0000)]
initial report on wanting --dry-run
Joey Hess [Tue, 2 Aug 2022 16:33:17 +0000 (12:33 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 2 Aug 2022 14:45:00 +0000 (10:45 -0400)]
Use createFile_NoRetry from win32 2.13.3.1
Sponsored-by: Tobias Ammann on Patreon
yarikoptic [Tue, 2 Aug 2022 13:51:47 +0000 (13:51 +0000)]
fix link to git-annex-initremote
contr-error [Tue, 2 Aug 2022 10:10:31 +0000 (10:10 +0000)]
fix links
yarikoptic [Mon, 1 Aug 2022 18:55:38 +0000 (18:55 +0000)]
Added a comment
yarikoptic [Mon, 1 Aug 2022 18:51:59 +0000 (18:51 +0000)]
Added a comment
Joey Hess [Mon, 1 Aug 2022 17:53:36 +0000 (13:53 -0400)]
clarify comment and remove broken link
There are archives of MC Knowledgebase, which google will find, I don't
want to try to keep a link to an archive working since MS is no longer
providing it.
Joey Hess [Mon, 1 Aug 2022 17:24:46 +0000 (13:24 -0400)]
Revert "stack.yaml: Updated to lts-19.16"
This reverts commit
b5dc04099efd8b1bd2dbfa09a288518eabf8ceec.
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.
Joey Hess [Mon, 1 Aug 2022 17:10:30 +0000 (13:10 -0400)]
comment
Joey Hess [Mon, 1 Aug 2022 16:45:41 +0000 (12:45 -0400)]
comment
Joey Hess [Mon, 1 Aug 2022 16:38:39 +0000 (12:38 -0400)]
comment
Joey Hess [Mon, 1 Aug 2022 16:36:44 +0000 (12:36 -0400)]
response
Joey Hess [Mon, 1 Aug 2022 16:09:52 +0000 (12:09 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
jkniiv [Sun, 31 Jul 2022 18:41:02 +0000 (18:41 +0000)]
created my user page
jkniiv [Sun, 31 Jul 2022 18:00:59 +0000 (18:00 +0000)]
Added a comment
Ilya_Shlyakhter [Sun, 31 Jul 2022 17:25:27 +0000 (17:25 +0000)]
Added a comment: lts version
jkniiv [Sun, 31 Jul 2022 08:56:00 +0000 (08:56 +0000)]
lts-19.16 causes an issue on Windows
Atemu [Sat, 30 Jul 2022 15:30:31 +0000 (15:30 +0000)]
Added a comment
Dan [Fri, 29 Jul 2022 22:02:56 +0000 (22:02 +0000)]
Added a comment
Joey Hess [Fri, 29 Jul 2022 20:12:00 +0000 (16:12 -0400)]
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.
Joey Hess [Fri, 29 Jul 2022 17:00:19 +0000 (13:00 -0400)]
fix pagespec
Joey Hess [Fri, 29 Jul 2022 16:52:12 +0000 (12:52 -0400)]
Allow find --branch to be used in a bare repository, the same as the deprecated findref can be
This will allow later fully deprecating and removing findref.
Sponsored-by: Erik Bjäreholt on Patreon
Joey Hess [Fri, 29 Jul 2022 16:38:52 +0000 (12:38 -0400)]
comment
Joey Hess [Fri, 29 Jul 2022 16:34:22 +0000 (12:34 -0400)]
find does not support --batch-keys
It was added to the man page in error.
Joey Hess [Fri, 29 Jul 2022 16:30:33 +0000 (12:30 -0400)]
comment
ceramic_glass [Fri, 29 Jul 2022 08:08:33 +0000 (08:08 +0000)]
Added a comment
Dan [Thu, 28 Jul 2022 23:20:03 +0000 (23:20 +0000)]
Added a comment: Re: Confirming all annexed files exist elsewhere?
Joey Hess [Thu, 28 Jul 2022 17:47:27 +0000 (13:47 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Ilya_Shlyakhter [Thu, 28 Jul 2022 17:40:20 +0000 (17:40 +0000)]
Added a comment: Re: "Confirming all annexed files exist elsewhere?"
Joey Hess [Thu, 28 Jul 2022 17:26:03 +0000 (13:26 -0400)]
new matching options --want-get-by and --want-drop-by
Sponsored-by: Graham Spencer on Patreon
Joey Hess [Thu, 28 Jul 2022 16:15:07 +0000 (12:15 -0400)]
comment
Joey Hess [Thu, 28 Jul 2022 16:07:30 +0000 (12:07 -0400)]
comment
Joey Hess [Thu, 28 Jul 2022 16:01:33 +0000 (12:01 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
ceramic_glass [Thu, 28 Jul 2022 00:23:44 +0000 (00:23 +0000)]
Dan Kessler [Wed, 27 Jul 2022 23:29:43 +0000 (19:29 -0400)]
update comment about updating comments :)
Dan Kessler [Wed, 27 Jul 2022 23:26:10 +0000 (19:26 -0400)]
fix up comment
Dan [Wed, 27 Jul 2022 16:35:22 +0000 (16:35 +0000)]
Added a comment: Confirming all annexed files exist elsewhere?
Joey Hess [Tue, 26 Jul 2022 20:04:49 +0000 (16:04 -0400)]
stack.yaml: Updated to lts-19.16
Last try at this broke on windows with a problem installing ghc, but I
wanted to try again.
Also this has a version of aws that allows using aeson 2.0, which has a
potential security fix.
kdm9 [Tue, 26 Jul 2022 18:19:37 +0000 (18:19 +0000)]
Added a comment: Bump for --want-get/drop-by
Joey Hess [Mon, 25 Jul 2022 21:32:39 +0000 (17:32 -0400)]
use ResourcePool for hash-object handles
Avoid starting an unncessary number of git hash-object processes when
concurrency is enabled.
Sponsored-by: Dartmouth College's DANDI project