Commit graph

39000 commits

Author SHA1 Message Date
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
f1a9e88c96 Add positive stuff 2021-01-24 23:24:32 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
5d4a1b1cfa 2021-01-24 23:19:36 +00:00
m15
bcab80b508 Added a comment: bug report 2021-01-23 08:52:14 +00:00
Joey Hess
542f420f2c
comment 2021-01-22 14:56:18 -04:00
Joey Hess
e1a43ab097
followup 2021-01-22 14:36:34 -04:00
Joey Hess
9b2084f29a
fix problem on windows with newly rewritten prop_relPathDirToFileAbs_basics
Seems that dropDrive on windows only drops eg c:/ but not a leading /
while on linux, it does drop a leading / (which is what it considers
to be equivilant to a drive letter. I had been relying on it to drop
both. So need to drop leading directory separators.

Also, if the quickcheck generated input is eg "c:c:c:c:foo",
dropDrive will only drop the first one, leaving a path that's
still not relative. So instead of using dropDrive, just remove the
colons from the path.
2021-01-22 14:30:48 -04:00
Joey Hess
551ac2bdf9
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-22 14:05:49 -04:00
Joey Hess
5c7e6629cf
Fix a bug in view filename generation when a metadata value ended with "/"
Or ":" or "\" on Windows, eg "c:" again.
2021-01-22 14:05:14 -04:00
Joey Hess
e2ba8ae4a6
update copyright year 2021-01-22 14:00:36 -04:00
yarikoptic
7784046109 initial report on export_import fail 2021-01-22 16:50:58 +00:00
yarikoptic
d8722af2f3 Added a comment 2021-01-22 16:44:58 +00:00
yarikoptic
587795891b Added a comment 2021-01-22 16:42:32 +00:00
mike@2d6d71f56ce2a992244350475251df87c26fe351
0ea9539e0a Added a comment 2021-01-22 11:08:38 +00:00
yarikoptic
aa07e68ede Added a comment 2021-01-22 01:47:46 +00:00
Joey Hess
95cd49abdb
fix a bug that prevented git-annex init from working in a submodule
This is probably a reversion, but not sure what caused it. By the time
Annex.Init runs fixupUnusualReposAfterInit, another git-annex process has
at least sometimes already done the necessary fixups. (Eg, one run
indirectly by a git command.) But since the Repo is cached, it doesn't
realize and does them again. So, avoid crashing when git config --unset
fails.

This commit was sponsored by Jack Hill on Patreon.
2021-01-21 15:33:15 -04:00
Joey Hess
7482c093cc
comment 2021-01-21 15:25:46 -04:00
Joey Hess
b161ebe564
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-21 15:19:46 -04:00
yarikoptic
734be1260a Added a comment 2021-01-21 18:36:50 +00:00
Joey Hess
ba109ce7df
comment typo 2021-01-21 14:13:55 -04:00
Joey Hess
3847aa3c9c
change user-visible error to giveup 2021-01-21 14:13:14 -04:00
Joey Hess
954816f1eb
comment 2021-01-21 13:19:40 -04:00
yarikoptic
9f2ab66e06 adjusted report with more of not so deep thoughts/observation ;) 2021-01-21 03:30:07 +00:00
yarikoptic
cccc05ff30 initial plea for considering credentials upon 404 of /config 2021-01-21 03:26:09 +00:00
mark@6b90344cdab3158eacb94a3944460d138afc9bef
a39b2beda7 2021-01-20 17:36:20 +00:00
mike@2d6d71f56ce2a992244350475251df87c26fe351
9a29eba1f9 Added a comment 2021-01-20 15:41:50 +00:00
mike@2d6d71f56ce2a992244350475251df87c26fe351
7762f8be37 Added a comment 2021-01-19 18:16:28 +00:00
Joey Hess
9b2711167c
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-19 13:20:22 -04:00
Joey Hess
73df633a62
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.
2021-01-19 13:15:07 -04:00
Lukey
41cc2af245 removed 2021-01-19 16:49:57 +00:00
Lukey
40107f1ef1 Added a comment 2021-01-19 16:49:05 +00:00
Lukey
da428b152d Added a comment 2021-01-19 16:45:31 +00:00
Joey Hess
7ccddd4aea
display exception as part of warnings
and comment that led to this change
2021-01-19 12:27:42 -04:00
Lukey
b11aa063ae Added a comment 2021-01-19 16:27:07 +00:00
Joey Hess
4d51c9f148
comment 2021-01-19 12:12:34 -04:00
Joey Hess
5ca842aa7d
comment 2021-01-19 12:11:38 -04:00
Joey Hess
2b458c2d68
comment and todo 2021-01-19 11:56:27 -04:00
mike@2d6d71f56ce2a992244350475251df87c26fe351
15d3ea5fe9 removed 2021-01-19 12:21:38 +00:00
mike@2d6d71f56ce2a992244350475251df87c26fe351
bf5632ef52 Added a comment 2021-01-19 12:21:07 +00:00
mike@2d6d71f56ce2a992244350475251df87c26fe351
82820fabcd Added a comment 2021-01-19 12:19:46 +00:00
mike@2d6d71f56ce2a992244350475251df87c26fe351
d6d19ed494 2021-01-19 12:04:48 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
62ffc7180d Added a comment: Went away with fsck? 2021-01-19 01:15:51 +00:00
aschoise@2386473665998adccbe71286036e57d7f3ad3a58
2a9f574e6f Added a comment: Issue when using flag --recurse-submodules with git-checkout and git-switch 2021-01-18 23:04:17 +00:00
rdp@af74e2cdae4a6bbe02b41cfc0821a1980ed59293
43eed43b34 2021-01-18 22:31:29 +00:00
Joey Hess
e7134ca1eb
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.
2021-01-18 15:07:23 -04:00
Joey Hess
2aa4fab62a
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.
2021-01-18 14:59:08 -04:00
Joey Hess
aafb7f6eb9
comment 2021-01-18 13:54:57 -04:00
Joey Hess
c0ffb5c2c4
comment 2021-01-18 13:40:31 -04:00
Joey Hess
7cc1ed1940
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-18 13:28:08 -04:00
Joey Hess
7eb54bad12
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.
2021-01-18 13:26:10 -04:00
Lukey
541efd7476 Added a comment 2021-01-18 17:05:55 +00:00