git-annex.git
5 years agocomment
Joey Hess [Thu, 21 Jan 2021 17:19:40 +0000 (13:19 -0400)]
comment

5 years agoadjusted report with more of not so deep thoughts/observation ;)
yarikoptic [Thu, 21 Jan 2021 03:30:07 +0000 (03:30 +0000)]
adjusted report with more of not so deep thoughts/observation ;)

5 years agoinitial plea for considering credentials upon 404 of /config
yarikoptic [Thu, 21 Jan 2021 03:26:09 +0000 (03:26 +0000)]
initial plea for considering credentials upon 404 of /config

5 years ago(no commit message)
mark@6b90344cdab3158eacb94a3944460d138afc9bef [Wed, 20 Jan 2021 17:36:20 +0000 (17:36 +0000)]

5 years agoAdded a comment
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Wed, 20 Jan 2021 15:41:50 +0000 (15:41 +0000)]
Added a comment

5 years agoAdded a comment
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Tue, 19 Jan 2021 18:16:28 +0000 (18:16 +0000)]
Added a comment

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 19 Jan 2021 17:20:22 +0000 (13:20 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agoomit inode from ContentIdentifier for directory special remote
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.

5 years agoremoved
Lukey [Tue, 19 Jan 2021 16:49:57 +0000 (16:49 +0000)]
removed

5 years agoAdded a comment
Lukey [Tue, 19 Jan 2021 16:49:05 +0000 (16:49 +0000)]
Added a comment

5 years agoAdded a comment
Lukey [Tue, 19 Jan 2021 16:45:31 +0000 (16:45 +0000)]
Added a comment

5 years agodisplay exception as part of warnings
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

5 years agoAdded a comment
Lukey [Tue, 19 Jan 2021 16:27:07 +0000 (16:27 +0000)]
Added a comment

5 years agocomment
Joey Hess [Tue, 19 Jan 2021 16:12:34 +0000 (12:12 -0400)]
comment

5 years agocomment
Joey Hess [Tue, 19 Jan 2021 16:11:38 +0000 (12:11 -0400)]
comment

5 years agocomment and todo
Joey Hess [Tue, 19 Jan 2021 15:56:14 +0000 (11:56 -0400)]
comment and todo

5 years agoremoved
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Tue, 19 Jan 2021 12:21:38 +0000 (12:21 +0000)]
removed

5 years agoAdded a comment
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Tue, 19 Jan 2021 12:21:07 +0000 (12:21 +0000)]
Added a comment

5 years agoAdded a comment
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Tue, 19 Jan 2021 12:19:46 +0000 (12:19 +0000)]
Added a comment

5 years ago(no commit message)
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Tue, 19 Jan 2021 12:04:48 +0000 (12:04 +0000)]

5 years agoAdded a comment: Went away with fsck?
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68 [Tue, 19 Jan 2021 01:15:51 +0000 (01:15 +0000)]
Added a comment: Went away with fsck?

5 years agoAdded a comment: Issue when using flag --recurse-submodules with git-checkout and...
aschoise@2386473665998adccbe71286036e57d7f3ad3a58 [Mon, 18 Jan 2021 23:04:17 +0000 (23:04 +0000)]
Added a comment: Issue when using flag --recurse-submodules with git-checkout and git-switch

5 years ago(no commit message)
rdp@af74e2cdae4a6bbe02b41cfc0821a1980ed59293 [Mon, 18 Jan 2021 22:31:29 +0000 (22:31 +0000)]

5 years agoavoid partial functions in Git.Url
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.

5 years agoavoid crashing when there are remotes using unparseable urls
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.

5 years agocomment
Joey Hess [Mon, 18 Jan 2021 17:54:57 +0000 (13:54 -0400)]
comment

5 years agocomment
Joey Hess [Mon, 18 Jan 2021 17:40:31 +0000 (13:40 -0400)]
comment

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 18 Jan 2021 17:28:08 +0000 (13:28 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agofix prop_relPathDirToFileAbs_basics fail on windows
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.

5 years agoAdded a comment
Lukey [Mon, 18 Jan 2021 17:05:55 +0000 (17:05 +0000)]
Added a comment

5 years agoupdate
Joey Hess [Mon, 18 Jan 2021 17:02:28 +0000 (13:02 -0400)]
update

5 years agocomment
Joey Hess [Mon, 18 Jan 2021 16:42:34 +0000 (12:42 -0400)]
comment

5 years agoBug fix: Fix tilde expansion in ssh urls when the tilde is the last character in...
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.

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 18 Jan 2021 16:18:23 +0000 (12:18 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agoinitial report on prop_relPathDirToFileAbs_basics windows FAIL
yarikoptic [Mon, 18 Jan 2021 15:50:24 +0000 (15:50 +0000)]
initial report on prop_relPathDirToFileAbs_basics windows FAIL

5 years agoAdded a comment
Lukey [Mon, 18 Jan 2021 14:31:06 +0000 (14:31 +0000)]
Added a comment

5 years agoAdded a comment
Lukey [Mon, 18 Jan 2021 14:11:45 +0000 (14:11 +0000)]
Added a comment

5 years ago(no commit message)
Lukey [Mon, 18 Jan 2021 14:02:19 +0000 (14:02 +0000)]

5 years agoAdded a comment: Works fine after changing mount point
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68 [Sun, 17 Jan 2021 07:24:38 +0000 (07:24 +0000)]
Added a comment: Works fine after changing mount point

5 years ago(no commit message)
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68 [Sun, 17 Jan 2021 06:36:20 +0000 (06:36 +0000)]

5 years agoimprove
Joey Hess [Fri, 15 Jan 2021 15:31:08 +0000 (11:31 -0400)]
improve

5 years ago(no commit message)
grond66@79ca29ba964cd0d8e2f352871d54452e4a9dad88 [Fri, 15 Jan 2021 13:07:28 +0000 (13:07 +0000)]

5 years ago(no commit message)
grond66@79ca29ba964cd0d8e2f352871d54452e4a9dad88 [Fri, 15 Jan 2021 13:01:50 +0000 (13:01 +0000)]

5 years agoAdded a comment
mih [Fri, 15 Jan 2021 08:32:58 +0000 (08:32 +0000)]
Added a comment

5 years ago(no commit message)
grond66@79ca29ba964cd0d8e2f352871d54452e4a9dad88 [Fri, 15 Jan 2021 02:24:25 +0000 (02:24 +0000)]

5 years agoremoved
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Thu, 14 Jan 2021 22:16:20 +0000 (22:16 +0000)]
removed

5 years agoremoved
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Thu, 14 Jan 2021 22:15:54 +0000 (22:15 +0000)]
removed

5 years agoAdded a comment
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Thu, 14 Jan 2021 22:15:12 +0000 (22:15 +0000)]
Added a comment

5 years agoclose as not a git-annex bug
Joey Hess [Wed, 13 Jan 2021 18:51:44 +0000 (14:51 -0400)]
close as not a git-annex bug

5 years agoBug fix: export with -J could fail when two files had the same content.
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.

5 years agofix build warning
Joey Hess [Wed, 13 Jan 2021 18:48:41 +0000 (14:48 -0400)]
fix build warning

5 years agoWindows: Work around win32 length limits when dealing with lock files
Joey Hess [Wed, 13 Jan 2021 18:38:35 +0000 (14:38 -0400)]
Windows: Work around win32 length limits when dealing with lock files

5 years agoexport TestableFilePath constructor
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.

5 years agorewrite prop_relPathDirToFileAbs_basics
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.

5 years agoclose
Joey Hess [Wed, 13 Jan 2021 17:19:54 +0000 (13:19 -0400)]
close

5 years agocomment
Joey Hess [Wed, 13 Jan 2021 16:58:21 +0000 (12:58 -0400)]
comment

5 years agoimprove comment
Joey Hess [Wed, 13 Jan 2021 16:55:26 +0000 (12:55 -0400)]
improve comment

5 years agocomment
Joey Hess [Wed, 13 Jan 2021 16:49:28 +0000 (12:49 -0400)]
comment

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 13 Jan 2021 16:31:43 +0000 (12:31 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agoinclude bugs/todos tagged datalad
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

5 years agoinitial report about fresh test fail
yarikoptic [Wed, 13 Jan 2021 15:18:44 +0000 (15:18 +0000)]
initial report about fresh test fail

5 years agomerge from git-repair
Joey Hess [Tue, 12 Jan 2021 01:57:35 +0000 (21:57 -0400)]
merge from git-repair

5 years agoAdded a comment
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Mon, 11 Jan 2021 22:48:27 +0000 (22:48 +0000)]
Added a comment

5 years agoAdded a comment
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Mon, 11 Jan 2021 22:42:28 +0000 (22:42 +0000)]
Added a comment

5 years agoAdded a comment: git-annex uninit --fast
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Mon, 11 Jan 2021 22:41:04 +0000 (22:41 +0000)]
Added a comment: git-annex uninit --fast

5 years agoremoved myself as the author, damn cut/paste ;)
yarikoptic [Mon, 11 Jan 2021 21:58:59 +0000 (21:58 +0000)]
removed myself as the author, damn cut/paste ;)

5 years agoassigned to datalad project
yarikoptic [Mon, 11 Jan 2021 21:57:26 +0000 (21:57 +0000)]
assigned to datalad project

5 years agofixed
Joey Hess [Mon, 11 Jan 2021 19:55:33 +0000 (15:55 -0400)]
fixed

5 years agocomment
Joey Hess [Mon, 11 Jan 2021 18:55:46 +0000 (14:55 -0400)]
comment

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 11 Jan 2021 17:47:04 +0000 (13:47 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agotest: avoid unnecessary tests of variants of git remote
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.

5 years agoremove blank
Joey Hess [Mon, 11 Jan 2021 17:15:21 +0000 (13:15 -0400)]
remove blank

5 years agoupdate test suite after git-annex trust behavior change
Joey Hess [Mon, 11 Jan 2021 17:14:58 +0000 (13:14 -0400)]
update test suite after git-annex trust behavior change

5 years agofix format of message
Joey Hess [Mon, 11 Jan 2021 17:14:09 +0000 (13:14 -0400)]
fix format of message

newlines are eaten

5 years agoadd testremote of a git remote to test suite
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.

5 years agoclose
Joey Hess [Mon, 11 Jan 2021 16:26:52 +0000 (12:26 -0400)]
close

5 years agoidea
Joey Hess [Sun, 10 Jan 2021 20:32:44 +0000 (16:32 -0400)]
idea

5 years agoAdded a comment: Specific to repository location in /private
michael.hanke@c60e12358aa3fc6060531bdead1f530ac4d582ec [Sun, 10 Jan 2021 16:10:42 +0000 (16:10 +0000)]
Added a comment: Specific to repository location in /private

5 years ago(no commit message)
michael.hanke@c60e12358aa3fc6060531bdead1f530ac4d582ec [Sun, 10 Jan 2021 13:40:29 +0000 (13:40 +0000)]

5 years agoAdded a comment
AlbertZeyer [Sat, 9 Jan 2021 20:14:21 +0000 (20:14 +0000)]
Added a comment

5 years agoAdded a comment: checkout borg remote
andrew [Sat, 9 Jan 2021 15:25:05 +0000 (15:25 +0000)]
Added a comment: checkout borg remote

5 years agoreport on fresh test fails
yarikoptic [Fri, 8 Jan 2021 15:37:46 +0000 (15:37 +0000)]
report on fresh test fails

5 years agomerged fix from kyle
Joey Hess [Thu, 7 Jan 2021 17:47:29 +0000 (13:47 -0400)]
merged fix from kyle

5 years agoavoid using wildcard near bug kyle fixed
Joey Hess [Thu, 7 Jan 2021 17:44:23 +0000 (13:44 -0400)]
avoid using wildcard near bug kyle fixed

5 years agoadjustTree: Consider submodule deletions
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.

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 7 Jan 2021 17:38:46 +0000 (13:38 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agoBehavior change: --trust-glacier option no longer overrides trust
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.

5 years agoBehavior change: --trust option no longer overrides trust
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.

5 years agoBehavior change: git-annex trust now needs --force
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.

5 years ago(no commit message)
kyle [Thu, 7 Jan 2021 00:25:38 +0000 (00:25 +0000)]

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 6 Jan 2021 18:27:03 +0000 (14:27 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agowording
Joey Hess [Wed, 6 Jan 2021 18:26:39 +0000 (14:26 -0400)]
wording

5 years agoimprove wording
Joey Hess [Wed, 6 Jan 2021 18:24:17 +0000 (14:24 -0400)]
improve wording

5 years agoMerge branch 'master' into requirednumcopies
Joey Hess [Wed, 6 Jan 2021 18:24:09 +0000 (14:24 -0400)]
Merge branch 'master' into requirednumcopies

5 years agomincopies
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.

5 years ago(no commit message)
AlbertZeyer [Wed, 6 Jan 2021 15:24:28 +0000 (15:24 +0000)]

5 years agoAdded a comment
AlbertZeyer [Wed, 6 Jan 2021 14:59:01 +0000 (14:59 +0000)]
Added a comment

5 years agoAdded a comment
AlbertZeyer [Wed, 6 Jan 2021 11:15:43 +0000 (11:15 +0000)]
Added a comment

5 years agobranch
Joey Hess [Tue, 5 Jan 2021 18:28:54 +0000 (14:28 -0400)]
branch

5 years agodocs for requirednumcopies
Joey Hess [Tue, 5 Jan 2021 18:22:27 +0000 (14:22 -0400)]
docs for requirednumcopies

Not implemented yet.