Joey Hess [Tue, 19 Jan 2021 15:56:14 +0000 (11:56 -0400)]
comment and todo
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Tue, 19 Jan 2021 12:21:38 +0000 (12:21 +0000)]
removed
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Tue, 19 Jan 2021 12:21:07 +0000 (12:21 +0000)]
Added a comment
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Tue, 19 Jan 2021 12:19:46 +0000 (12:19 +0000)]
Added a comment
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Tue, 19 Jan 2021 12:04:48 +0000 (12:04 +0000)]
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68 [Tue, 19 Jan 2021 01:15:51 +0000 (01:15 +0000)]
Added a comment: Went away with fsck?
Added a comment: Issue when using flag --recurse-submodules with git-checkout and git-switch
rdp@af74e2cdae4a6bbe02b41cfc0821a1980ed59293 [Mon, 18 Jan 2021 22:31:29 +0000 (22:31 +0000)]
Joey Hess [Mon, 18 Jan 2021 19:07:23 +0000 (15:07 -0400)]
avoid partial functions in Git.Url
After the last commit, it was able to throw errors just due to an
unparseable url. This avoids needing to worry about that, as long
as the call site has already checked that it has a parseable url.
Joey Hess [Mon, 18 Jan 2021 18:52:56 +0000 (14:52 -0400)]
avoid crashing when there are remotes using unparseable urls
Including the non-standard URI form that git-remote-gcrypt uses for rsync.
Eg, "ook://foo:bar" cannot be parsed because "bar" is not a valid port
number. But git could have a remote with that, it would try to run
git-remote-ook to handle it. So, git-annex has to allow for such things,
rather than crashing.
This commit was sponsored by Luke Shumaker on Patreon.
Joey Hess [Mon, 18 Jan 2021 17:54:57 +0000 (13:54 -0400)]
comment
Joey Hess [Mon, 18 Jan 2021 17:40:31 +0000 (13:40 -0400)]
comment
Joey Hess [Mon, 18 Jan 2021 17:28:08 +0000 (13:28 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 18 Jan 2021 17:19:17 +0000 (13:19 -0400)]
fix prop_relPathDirToFileAbs_basics fail on windows
It was just slapping on a path separator to the front of the path to
make it absolute, but on windows, a path like "//foo/bar" actually
has a network "drive" of "//foo" and so that broke the test case.
Since "a:foo" is a somehow relative path on windows
(who knows how), drop any drive from the input. But dropDrive also drops
any leading path separator, making the input path relative. So now
it should be safe to slapp on a leading path separator.
Lukey [Mon, 18 Jan 2021 17:05:55 +0000 (17:05 +0000)]
Added a comment
Joey Hess [Mon, 18 Jan 2021 17:02:28 +0000 (13:02 -0400)]
update
Joey Hess [Mon, 18 Jan 2021 16:42:34 +0000 (12:42 -0400)]
comment
Joey Hess [Mon, 18 Jan 2021 16:22:48 +0000 (12:22 -0400)]
Bug fix: Fix tilde expansion in ssh urls when the tilde is the last character in the url. Thanks, Grond for the patch.
Joey Hess [Mon, 18 Jan 2021 16:18:23 +0000 (12:18 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
yarikoptic [Mon, 18 Jan 2021 15:50:24 +0000 (15:50 +0000)]
initial report on prop_relPathDirToFileAbs_basics windows FAIL
Lukey [Mon, 18 Jan 2021 14:31:06 +0000 (14:31 +0000)]
Added a comment
Lukey [Mon, 18 Jan 2021 14:11:45 +0000 (14:11 +0000)]
Added a comment
Lukey [Mon, 18 Jan 2021 14:02:19 +0000 (14:02 +0000)]
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68 [Sun, 17 Jan 2021 07:24:38 +0000 (07:24 +0000)]
Added a comment: Works fine after changing mount point
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68 [Sun, 17 Jan 2021 06:36:20 +0000 (06:36 +0000)]
Joey Hess [Fri, 15 Jan 2021 15:31:08 +0000 (11:31 -0400)]
improve
grond66@79ca29ba964cd0d8e2f352871d54452e4a9dad88 [Fri, 15 Jan 2021 13:07:28 +0000 (13:07 +0000)]
grond66@79ca29ba964cd0d8e2f352871d54452e4a9dad88 [Fri, 15 Jan 2021 13:01:50 +0000 (13:01 +0000)]
mih [Fri, 15 Jan 2021 08:32:58 +0000 (08:32 +0000)]
Added a comment
grond66@79ca29ba964cd0d8e2f352871d54452e4a9dad88 [Fri, 15 Jan 2021 02:24:25 +0000 (02:24 +0000)]
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Thu, 14 Jan 2021 22:16:20 +0000 (22:16 +0000)]
removed
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Thu, 14 Jan 2021 22:15:54 +0000 (22:15 +0000)]
removed
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Thu, 14 Jan 2021 22:15:12 +0000 (22:15 +0000)]
Added a comment
Joey Hess [Wed, 13 Jan 2021 18:51:44 +0000 (14:51 -0400)]
close as not a git-annex bug
Joey Hess [Wed, 13 Jan 2021 18:50:48 +0000 (14:50 -0400)]
Bug fix: export with -J could fail when two files had the same content.
Exporting is done inside a call to writeLockDbWhile which guarantees there
is only one process uploading to a given ExportLocation.
Joey Hess [Wed, 13 Jan 2021 18:48:41 +0000 (14:48 -0400)]
fix build warning
Joey Hess [Wed, 13 Jan 2021 18:38:35 +0000 (14:38 -0400)]
Windows: Work around win32 length limits when dealing with lock files
Joey Hess [Wed, 13 Jan 2021 17:23:35 +0000 (13:23 -0400)]
export TestableFilePath constructor
Useful for eg, replicating failures in ghci. No need for this to be a
smart constructor, as long as it's used with valid filepaths, it's ok
and if not the test breaks.
Joey Hess [Wed, 13 Jan 2021 17:21:15 +0000 (13:21 -0400)]
rewrite prop_relPathDirToFileAbs_basics
This was not a good test, it broke the requirement that
relPathDirToFileAbs take absolute paths. And it failed when the two
input paths were eg, the same but differently normalized.
Replaced with some tests of the real basics of that function.
Joey Hess [Wed, 13 Jan 2021 17:19:54 +0000 (13:19 -0400)]
close
Joey Hess [Wed, 13 Jan 2021 16:58:21 +0000 (12:58 -0400)]
comment
Joey Hess [Wed, 13 Jan 2021 16:55:26 +0000 (12:55 -0400)]
improve comment
Joey Hess [Wed, 13 Jan 2021 16:49:28 +0000 (12:49 -0400)]
comment
Joey Hess [Wed, 13 Jan 2021 16:31:43 +0000 (12:31 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 13 Jan 2021 16:30:46 +0000 (12:30 -0400)]
include bugs/todos tagged datalad
sometimes they are not signed with an author
yarikoptic [Wed, 13 Jan 2021 15:18:44 +0000 (15:18 +0000)]
initial report about fresh test fail
Joey Hess [Tue, 12 Jan 2021 01:57:35 +0000 (21:57 -0400)]
merge from git-repair
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Mon, 11 Jan 2021 22:48:27 +0000 (22:48 +0000)]
Added a comment
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Mon, 11 Jan 2021 22:42:28 +0000 (22:42 +0000)]
Added a comment
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Mon, 11 Jan 2021 22:41:04 +0000 (22:41 +0000)]
Added a comment: git-annex uninit --fast
yarikoptic [Mon, 11 Jan 2021 21:58:59 +0000 (21:58 +0000)]
removed myself as the author, damn cut/paste ;)
yarikoptic [Mon, 11 Jan 2021 21:57:26 +0000 (21:57 +0000)]
assigned to datalad project
Joey Hess [Mon, 11 Jan 2021 19:55:33 +0000 (15:55 -0400)]
fixed
Joey Hess [Mon, 11 Jan 2021 18:55:46 +0000 (14:55 -0400)]
comment
Joey Hess [Mon, 11 Jan 2021 17:47:04 +0000 (13:47 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 11 Jan 2021 17:31:36 +0000 (13:31 -0400)]
test: avoid unnecessary tests of variants of git remote
Configuring chunking and encryption for a git remote has no effect, so
skip testing those variants in the TestRemote call.
It would be better if TestRemote itself could do this, but it
doesn't seem possible there. There is no way to look at a Remote and
tell if it supports chunking or encryption.
Note that, while the test suite displays output as it it's testing
exporting, it actually skips doing anything for the tests when run on
the git remote. So at least does not waste time even though the output
is not ideal.
This commit was sponsored by Noam Kremen on Patreon.
Joey Hess [Mon, 11 Jan 2021 17:15:21 +0000 (13:15 -0400)]
remove blank
Joey Hess [Mon, 11 Jan 2021 17:14:58 +0000 (13:14 -0400)]
update test suite after git-annex trust behavior change
Joey Hess [Mon, 11 Jan 2021 17:14:09 +0000 (13:14 -0400)]
fix format of message
newlines are eaten
Joey Hess [Mon, 11 Jan 2021 17:05:27 +0000 (13:05 -0400)]
add testremote of a git remote to test suite
The test suite contains its own tests that test a lot of basic stuff
about git remotes, mostly in passing to set up other situations.
But testremote does try some unusual edge cases, which may as
well be tried for git remotes as well as directory, especially since
it's so little code to add it.
This commit was sponsored by Kevin Mueller on Patreon.
Joey Hess [Mon, 11 Jan 2021 16:26:52 +0000 (12:26 -0400)]
close
Joey Hess [Sun, 10 Jan 2021 20:32:44 +0000 (16:32 -0400)]
idea
Added a comment: Specific to repository location in /private
AlbertZeyer [Sat, 9 Jan 2021 20:14:21 +0000 (20:14 +0000)]
Added a comment
andrew [Sat, 9 Jan 2021 15:25:05 +0000 (15:25 +0000)]
Added a comment: checkout borg remote
yarikoptic [Fri, 8 Jan 2021 15:37:46 +0000 (15:37 +0000)]
report on fresh test fails
Joey Hess [Thu, 7 Jan 2021 17:47:29 +0000 (13:47 -0400)]
merged fix from kyle
Joey Hess [Thu, 7 Jan 2021 17:44:23 +0000 (13:44 -0400)]
avoid using wildcard near bug kyle fixed
Kyle Meyer [Thu, 7 Jan 2021 00:16:30 +0000 (19:16 -0500)]
adjustTree: Consider submodule deletions
In addition to regular file deletions, the removefiles argument passed
to adjustTree may contain removed submodules. When making the new
tree, filter these out in the same way that is done for regular files
so that the deletion is propagated.
Joey Hess [Thu, 7 Jan 2021 17:38:46 +0000 (13:38 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 7 Jan 2021 14:37:43 +0000 (10:37 -0400)]
Behavior change: --trust-glacier option no longer overrides trust
Since that can lead to data loss, which should never be enabled by an
option other than --force.
This commit was sponsored by Jake Vosloo on Patreon.
Joey Hess [Thu, 7 Jan 2021 14:12:37 +0000 (10:12 -0400)]
Behavior change: --trust option no longer overrides trust
Since that can lead to data loss, which should never be enabled by an
option other than --force.
I suppose that using --trust was in some situation, safer than --force,
because it doesn't entirely disable checking for data loss, but only
disables checking involving data that is on the specified repository.
But it seems better to be able to say that data loss only happens with
--force.
This commit was sponsored by Graham Spencer on Patreon.
Joey Hess [Thu, 7 Jan 2021 13:59:52 +0000 (09:59 -0400)]
Behavior change: git-annex trust now needs --force
Since unconsidered use of trusted repositories can lead to data loss.
Trusted has always been this way, but it used to be acceptable for
git-annex to be set up so that data could be lost without using --force,
and most or all other ways that can happen have already been eliminated.
This commit was sponsored by Mark Reidenbach on Patreon.
kyle [Thu, 7 Jan 2021 00:25:38 +0000 (00:25 +0000)]
Joey Hess [Wed, 6 Jan 2021 18:27:03 +0000 (14:27 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 6 Jan 2021 18:26:39 +0000 (14:26 -0400)]
wording
Joey Hess [Wed, 6 Jan 2021 18:24:17 +0000 (14:24 -0400)]
improve wording
Joey Hess [Wed, 6 Jan 2021 18:24:09 +0000 (14:24 -0400)]
Merge branch 'master' into requirednumcopies
Joey Hess [Wed, 6 Jan 2021 18:11:08 +0000 (14:11 -0400)]
mincopies
This is conceptually very simple, just making a 1 that was hard coded be
exposed as a config option. The hard part was plumbing all that, and
dealing with complexities like reading it from git attributes at the
same time that numcopies is read.
Behavior change: When numcopies is set to 0, git-annex used to drop
content without requiring any copies. Now to get that (highly unsafe)
behavior, mincopies also needs to be set to 0. It seemed better to
remove that edge case, than complicate mincopies by ignoring it when
numcopies is 0.
This commit was sponsored by Denis Dzyubenko on Patreon.
AlbertZeyer [Wed, 6 Jan 2021 15:24:28 +0000 (15:24 +0000)]
AlbertZeyer [Wed, 6 Jan 2021 14:59:01 +0000 (14:59 +0000)]
Added a comment
AlbertZeyer [Wed, 6 Jan 2021 11:15:43 +0000 (11:15 +0000)]
Added a comment
Joey Hess [Tue, 5 Jan 2021 18:28:54 +0000 (14:28 -0400)]
branch
Joey Hess [Tue, 5 Jan 2021 18:22:27 +0000 (14:22 -0400)]
docs for requirednumcopies
Not implemented yet.
Joey Hess [Tue, 5 Jan 2021 15:23:31 +0000 (11:23 -0400)]
the author of this forum post deleted it, so remove comments
Joey Hess [Tue, 5 Jan 2021 15:23:02 +0000 (11:23 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 5 Jan 2021 13:15:28 +0000 (09:15 -0400)]
update
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Tue, 5 Jan 2021 06:06:35 +0000 (06:06 +0000)]
removed
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Tue, 5 Jan 2021 05:55:14 +0000 (05:55 +0000)]
Added a comment
Joey Hess [Mon, 4 Jan 2021 21:01:51 +0000 (17:01 -0400)]
promote forum post to bug report
Joey Hess [Mon, 4 Jan 2021 20:48:28 +0000 (16:48 -0400)]
comment
Joey Hess [Mon, 4 Jan 2021 20:28:36 +0000 (16:28 -0400)]
wrong, wrong, wrong
Joey Hess [Mon, 4 Jan 2021 19:25:28 +0000 (15:25 -0400)]
fix --time-limit
It got broken in several ways by the streaming seeking optimisations
around version 8.
20201007.
Moved time limit checking out of the matcher, which was a hack in the
first place. So everywhere that uses Limit.getMatcher needs to check
time limit. Well, almost everywhere. Command.Info uses it, but it does
not make sense to time limit getting info. And Command.MultiCast uses it
just to build up a list of files that then get passed to a command, so
it would never have hit the timeout in a useful way.
This implementation is a little more expensive when at time limit than
necessary, since it continues seeking only to discard everything after the
time limit. I did try making it close the file handles to force a faster
shutdown, but that didn't work and hung. Could certianly be improved
somehow, but seeking is probably not the expensive bit when a time limit
is hit, so this seems acceptable for now.
Joey Hess [Mon, 4 Jan 2021 18:32:29 +0000 (14:32 -0400)]
comment
Joey Hess [Mon, 4 Jan 2021 17:46:11 +0000 (13:46 -0400)]
close
Joey Hess [Mon, 4 Jan 2021 17:43:01 +0000 (13:43 -0400)]
comment
Joey Hess [Mon, 4 Jan 2021 17:39:48 +0000 (13:39 -0400)]
add pointer to annex.largefiles config docs
Joey Hess [Mon, 4 Jan 2021 17:34:32 +0000 (13:34 -0400)]
comment
Joey Hess [Mon, 4 Jan 2021 17:12:28 +0000 (13:12 -0400)]
add: Significantly speed up adding lots of non-large files to git
* add: Significantly speed up adding lots of non-large files to git,
by disabling the annex smudge filter when running git add.
* add --force-small: Run git add rather than updating the index itself,
so any other smudge filters than the annex one that may be enabled will
be used.