git-annex/Upgrade
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
..
V5 avoid creating content directory when locking content 2022-05-16 12:34:56 -04:00
V0.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
V1.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
V2.hs split upgrade into v9 and v10 2022-01-19 13:09:33 -04:00
V3.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
V4.hs split upgrade into v9 and v10 2022-01-19 13:09:33 -04:00
V5.hs split upgrade into v9 and v10 2022-01-19 13:09:33 -04:00
V6.hs split upgrade into v9 and v10 2022-01-19 13:09:33 -04:00
V7.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
V8.hs enable filter.annex.process in v9 2022-01-21 13:11:18 -04:00
V9.hs handle upgrading repositories initialized with --version=9 2022-09-26 12:59:51 -04:00