Joey Hess [Thu, 21 Jan 2021 17:19:40 +0000 (13:19 -0400)]
comment
yarikoptic [Thu, 21 Jan 2021 03:30:07 +0000 (03:30 +0000)]
adjusted report with more of not so deep thoughts/observation ;)
yarikoptic [Thu, 21 Jan 2021 03:26:09 +0000 (03:26 +0000)]
initial plea for considering credentials upon 404 of /config
mark@6b90344cdab3158eacb94a3944460d138afc9bef [Wed, 20 Jan 2021 17:36:20 +0000 (17:36 +0000)]
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Wed, 20 Jan 2021 15:41:50 +0000 (15:41 +0000)]
Added a comment
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Tue, 19 Jan 2021 18:16:28 +0000 (18:16 +0000)]
Added a comment
Joey Hess [Tue, 19 Jan 2021 17:20:22 +0000 (13:20 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 19 Jan 2021 16:57:15 +0000 (12:57 -0400)]
omit inode from ContentIdentifier for directory special remote
Directory special remotes with importtree=yes now avoid unncessary overhead
when inodes of files have changed, as happens whenever a FAT filesystem
gets remounted.
A few unusual edge cases of modifications won't be detected and
imported. I think they're unusual enough not to be a concern. It would
be possible to add a config setting that controls whether to compare
inodes too, but does not seem worth bothering the user about currently.
I chose to continue to use the InodeCache serialization, just with the
inode zeroed. This way, if I later change my mind or make it
configurable, can parse it back to an InodeCache and operate on it. The
overhead of storing a 0 in the content identifier log seems worth it.
There is a one-time cost to this change; all directory special remotes
with importtree=yes will re-hash all files once, and will update the
content identifier logs with zeroed inodes.
This commit was sponsored by Brett Eisenberg on Patreon.
Lukey [Tue, 19 Jan 2021 16:49:57 +0000 (16:49 +0000)]
removed
Lukey [Tue, 19 Jan 2021 16:49:05 +0000 (16:49 +0000)]
Added a comment
Lukey [Tue, 19 Jan 2021 16:45:31 +0000 (16:45 +0000)]
Added a comment
Joey Hess [Tue, 19 Jan 2021 16:27:42 +0000 (12:27 -0400)]
display exception as part of warnings
and comment that led to this change
Lukey [Tue, 19 Jan 2021 16:27:07 +0000 (16:27 +0000)]
Added a comment
Joey Hess [Tue, 19 Jan 2021 16:12:34 +0000 (12:12 -0400)]
comment
Joey Hess [Tue, 19 Jan 2021 16:11:38 +0000 (12:11 -0400)]
comment
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.