git-annex/Remote
Joey Hess 54ad1b4cfb
Windows: Support long filenames in more (possibly all) of the code
Works around this bug in unix-compat:
https://github.com/jacobstanley/unix-compat/issues/56
getFileStatus and other FilePath using functions in unix-compat do not do
UNC conversion on Windows.

Made Utility.RawFilePath use convertToWindowsNativeNamespace to do the
necessary conversion on windows to support long filenames.

Audited all imports of System.PosixCompat.Files to make sure that no
functions that operate on FilePath were imported from it. Instead, use
the equvilants from Utility.RawFilePath. In particular the
re-export of that module in Common had to be removed, which led to lots
of other changes throughout the code.

The changes to Build.Configure, Build.DesktopFile, and Build.TestConfig
make Utility.Directory not be needed to build setup. And so let it use
Utility.RawFilePath, which depends on unix, which cannot be in
setup-depends.

Sponsored-by: Dartmouth College's Datalad project
2023-03-01 15:55:58 -04:00
..
Directory improve createDirectoryUnder to allow alternate top directories 2022-08-12 12:52:37 -04:00
External convert Key to ShortByteString 2021-10-05 20:20:08 -04:00
Helper Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
List auto-init autoenable=yes 2020-05-27 12:40:35 -04:00
Rsync add newtypes for QuickCheck to avoid LANG=C issues 2020-11-09 20:21:18 -04:00
WebDAV fix exporting when the file is in the top of the repo 2021-03-16 14:17:29 -04:00
Adb.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
BitTorrent.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
Borg.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
Bup.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
Ddar.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Directory.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
External.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
GCrypt.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
Git.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
GitLFS.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
Glacier.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
Hook.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
HttpAlso.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
List.hs start borg special remote 2020-12-18 16:03:51 -04:00
P2P.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
Rsync.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
S3.hs fix build warning 2023-02-06 16:30:50 -04:00
Tahoe.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
Web.hs remove a debug print and fix build 2023-01-12 13:18:25 -04:00
WebDAV.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00