Commit graph

38396 commits

Author SHA1 Message Date
a@92214b2eae95307f511e06845d2cb5b5931b00a3
937f84a9ea 2020-11-03 16:38:19 +00:00
Joey Hess
eacfb58eca
Merge branch 'master' of ssh://git-annex.branchable.com 2020-11-03 11:53:52 -04:00
Joey Hess
0cf77eb41c
add news item for git-annex 8.20201103 2020-11-03 11:53:33 -04:00
Joey Hess
2dabd4cc2d
releasing package git-annex version 8.20201103 2020-11-03 11:53:11 -04:00
Joey Hess
78178d4c33
clean build warning 2020-11-03 11:36:48 -04:00
Joey Hess
eb42cd4d46
more RawFilePath conversion
535/645

This commit was sponsored by Brett Eisenberg on Patreon.
2020-11-03 10:11:04 -04:00
Joey Hess
664bec4297
comment 2020-11-02 22:34:04 -04:00
yarikoptic
7e24b2587e Added a comment 2020-11-03 02:12:17 +00:00
yarikoptic
2c88c5e258 initial formal report on drop 2020-11-03 02:02:41 +00:00
yarikoptic
7f4e511613 Added a comment 2020-11-02 21:04:35 +00:00
yarikoptic
5b4d5f6d64 Added a comment 2020-11-02 20:37:47 +00:00
Joey Hess
55400a03d3
more RawFilePath conversion
This commit was sponsored by Luke Shumaker on Patreon.
2020-11-02 16:31:28 -04:00
Joey Hess
b724236b35
remove unused imports 2020-11-02 15:36:11 -04:00
Joey Hess
49475eb3d9
rename 2 bug report titles that are too long due to pasting enormous error messages into title entry
So the repo can be cloned on windows.
2020-11-02 15:25:10 -04:00
Joey Hess
e926305221
add maxlength=50 to ikiwiki template used for page title entry 2020-11-02 15:21:24 -04:00
Joey Hess
c2056c1caf
test case for view
For reversion fixed in 9252f86b2e

This commit was sponsored by Ethan Aubin
2020-11-02 15:06:55 -04:00
Joey Hess
40679616ed
comment 2020-11-02 15:01:17 -04:00
Joey Hess
15e08bd572
Merge branch 'master' of ssh://git-annex.branchable.com 2020-11-02 14:47:57 -04:00
Joey Hess
9252f86b2e
view: Fix a reversion in 8.20200522 that broke entering or changing views.
Commit 2dc7b5186a messed up indentation.

This commit was sponsored by Noam Kremen on Patreon.
2020-11-02 14:47:08 -04:00
Joey Hess
c41be0d3bd
Merge branch 'master' into rawfilepath 2020-11-02 14:35:46 -04:00
yarikoptic
79874325b8 a plea for more --debug output 2020-11-02 18:04:20 +00:00
Joey Hess
efdb13fca3
comment 2020-11-02 13:55:30 -04:00
Joey Hess
fcdbc892ed
already fixed 2020-11-02 13:25:07 -04:00
Joey Hess
6eca4fc95e
not a bug 2020-11-02 13:24:23 -04:00
Joey Hess
00ff87a09e
Merge branch 'master' of ssh://git-annex.branchable.com 2020-11-02 13:24:02 -04:00
Joey Hess
7245a9ed53
Improve shutdown process for external special remotes and external backends
Make sure to relay any remaining stderr from the process after it has
shut down, rather than closing stderr just before shutdown. This avoids
a situation where the process is still running and tries to write to
stderr, getting a SIGPIPE. And, it ensures that no stderr output is
lost.

This may fix a problem encountered by datalad on windows, where it hangs
during the external special remote shutdown.

Before commit a49d300545, it closed stdin
and stdout, but left stderr open, and never killed the stderr waiter
thread, which presumably exited on its own. For async exception
safety, do need to at make sure that thread gets waited on, as that
commit does, but it introduced this problem.

Note that, the process's stdout is closed before waiting on it. It's too
late for anything it writes to stdout to be processed, and since we're
not going to consume any such writes, this avoids the process getting
blocked writing to stdout due to us not reading what it's buffered. This
does mean that if the process writes to stdout too late, it will get a
SIGPIPE. (This was already the case before the above-mentioned commit.)
In practice, I think only the protocol's ERROR is allowed to be
sent at a point where this could happen.
2020-11-02 12:56:35 -04:00
Ilya_Shlyakhter
44948ae342 updated URL of Homebrew formula for git-annex. 2020-11-02 15:56:45 +00:00
nix.zahlen@1211ac6c964ba2d68b70655f747bef1383032e77
617ec1a813 Added a comment: build a CI/CD chain for git-annex 2020-10-31 17:47:15 +00:00
nix.zahlen@1211ac6c964ba2d68b70655f747bef1383032e77
6334665dd2 Added a comment: where and how to submit Windows autobuild related issues? 2020-10-31 17:44:18 +00:00
Joey Hess
87f91ce563
more RawFilePath conversion
451/645
2020-10-30 15:55:59 -04:00
Joey Hess
b4b02e4c61
more RawFilePath conversion
412/645
2020-10-30 13:31:35 -04:00
Joey Hess
ca80c3154c
more RawFilePath conversion
removeFile changed to removeLink, because AFAICS it should be fine to
remove non-file things here. In particular, it's fine to remove a
symlink, since we're about to write a symlink. (removeLink does not
remove directories, so file, symlink, and unix socket are the only
possibilities.)
2020-10-30 13:07:41 -04:00
Joey Hess
8f452416f7
more RawFilePath conversion
Better to use Git.repoPath to get a filepath, Git.repoLocation does not
always return one.

This commit was sponsored by Ethan Aubin.
2020-10-30 13:00:12 -04:00
Joey Hess
19694fb280
more RawFilePath conversion
At this point I'll be done by new year's.

This commit was sponsored by Ethan Aubin.
2020-10-30 12:51:34 -04:00
gschnabel
7c66380163 git-annex-view fails because of "another git process running" 2020-10-30 08:13:25 +00:00
gschnabel
9d2d52ae55 git-annex-view fails 2020-10-30 08:08:18 +00:00
Joey Hess
681b44236a
more RawFilePath conversion
at 377/645

This commit was sponsored by Svenne Krap on Patreon.
2020-10-29 14:20:57 -04:00
Joey Hess
f45ad178cb
more RawFilePath conversion
At 318/645 after 4k lines of changes

This commit was sponsored by Jake Vosloo on Patreon.
2020-10-29 12:03:50 -04:00
Joey Hess
b05015f772
fix name of lock file
It was the stringification of a UUID, so "UUID \"foo\""
2020-10-29 10:53:01 -04:00
Joey Hess
e505c03bcc
more RawFilePath conversion
nukeFile replaced with removeWhenExistsWith removeLink, which allows
using RawFilePath. Utility.Directory cannot use RawFilePath since setup
does not depend on posix.

This commit was sponsored by Graham Spencer on Patreon.
2020-10-29 10:50:29 -04:00
gl@cfc0fd7a693bb7c3a600eb73f462bd504c51cedf
577cd911ee 2020-10-29 11:53:52 +00:00
lyderic
0ab03f3a61 2020-10-29 10:14:28 +00:00
lyderic
468682b6c9 Added a comment: This bug has alreay been raised 2020-10-29 10:13:50 +00:00
lyderic
69acb869ff 2020-10-29 10:08:13 +00:00
Joey Hess
8d66f7ba0f
more RawFilePath conversion
Added a RawFilePath createDirectory and kept making stuff build.

Up to 296/645

This commit was sponsored by Mark Reidenbach on Patreon.
2020-10-28 17:25:59 -04:00
Joey Hess
b8bd2e45e3
more RawFilePath conversion
Notable wins in Annex.Locations which was sometimes doing 6 conversions
in a single function call.

This commit was sponsored by Denis Dzyubenko on Patreon.
2020-10-28 16:24:14 -04:00
Joey Hess
6c29817748
RawFilePath version of getCurrentDirectory
This commit was sponsored by Jochen Bartl on Patreon
2020-10-28 16:03:45 -04:00
Joey Hess
08cbaee1f8
more RawFilePath conversion
Most of Git/ builds now.

Notable win is toTopFilePath no longer double converts

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2020-10-28 15:55:30 -04:00
Joey Hess
d6e94a6b2e
got configure working after Utility.Path ByteString conversion
Had to split out some modules because getWorkingDirectory needs unix,
which is not a build-dep of configure.

This commit was sponsored by Brock Spratlen on Patreon.
2020-10-28 15:01:19 -04:00
Joey Hess
e219aadbab
convert to RawByteString
This will break a lot of stuff that uses it, but once fixed should lead
to better performance.

Mostly mechanical.
Changes of note:

* upFrom now uses isPathSeparator, which is better on Windows where
  there is not just one
* splitShortExtensions used to take the length of a string,
  which would count wide unicode characters as a single character.
  Changing to B.length changes that. Note that, git-annex's
  annexMaxExtensionLength already changed to the length in bytes
  before this change. This function is only used in generating views,
  and the small behavior change should not be a problem.
* relHome still uses FilePath because it didn't seem worth changing(?)

This commit was sponsored by Jack Hill on Patreon.
2020-10-28 14:32:45 -04:00