Commit graph

46400 commits

Author SHA1 Message Date
Joey Hess
0da0bbae6b
Merge branch 'master' of ssh://git-annex.branchable.com 2025-01-30 15:03:47 -04:00
Joey Hess
4ceb00d0dc
update appveyor cache directory
With old:

Cache entry not found: C:\projects\git-annex\Users\appveyor\.stack

I think fixing this will result in caching preventing a full rebuild of
git-annex each time.
2025-01-30 15:02:59 -04:00
Joey Hess
9f5393016f
response 2025-01-30 14:57:51 -04:00
Joey Hess
c926de73b9
avoid build warning
An odd one, it complained about security_attributes being defined but
not used, but it was used..
2025-01-30 14:52:41 -04:00
jnkl
c681d3fef6 Added a comment 2025-01-30 18:52:14 +00:00
Joey Hess
3a08881214
avoid build warnings on windows 2025-01-30 14:50:45 -04:00
Joey Hess
64e96f12ad
Merge branch 'master' of ssh://git-annex.branchable.com 2025-01-30 14:39:05 -04:00
jnkl
9a5fbcc942 2025-01-30 18:35:55 +00:00
Joey Hess
84291b6014
bring back OsPath changes
I hope that the windows test suite failure on appveyor was fixed by
updating to a newer windows there. I have not been able to reproduce
that failure in a windows 11 VM run locally.
2025-01-30 14:34:21 -04:00
Joey Hess
c21526e3e2
Merge branch 'ospath-mk1' into ospath 2025-01-30 14:33:08 -04:00
Joey Hess
fb7a0ccb4c
Revert "disable OsPath build flag on windows for now"
This reverts commit 55cf9ce28f.

Problem was fixed by commit c1e90767da
2025-01-30 14:32:44 -04:00
Joey Hess
bd5d2b0782
fix FileIO openTempFile on Windows
When an UNC-style path is passed into openTempFile, the returned file
starts with that same style of path. Which can cause problems, eg piping
that filename to git failed. So, convert the output filename to be
relative to the input temp directory.
2025-01-30 14:32:14 -04:00
Joey Hess
c1e90767da
fix FileIO openTempFile on Windows
When an UNC-style path is passed into openTempFile, the returned file
starts with that same style of path. Which can cause problems, eg piping
that filename to git failed. So, convert the output filename to be
relative to the input temp directory.
2025-01-30 14:31:01 -04:00
Joey Hess
f0ab439c95
Merge branch 'master' of ssh://git-annex.branchable.com 2025-01-30 13:25:49 -04:00
Joey Hess
34d969fa08
switch appveyor windows build to newer version 2025-01-30 13:24:51 -04:00
matrss
eab8aec4f0 2025-01-30 14:50:58 +00:00
dmcardle
0d33983141 Added a comment 2025-01-30 13:56:30 +00:00
nobodyinperson
0afb8eab26 2025-01-30 12:59:00 +00:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
cfe960bf5e 2025-01-30 02:35:09 +00:00
Joey Hess
8ed173481a
close 2025-01-29 19:05:37 -04:00
Joey Hess
94e177db9d
document a SNAFU 2025-01-29 19:04:13 -04:00
Joey Hess
5738f5194d
throwing away a week's work
This was an attempt at continuing the RawFilePath transition into an
OsPath transition. Unforunately, it had multiple test suite failures on
windows. Debugging those seems that it would be more work than the
minor optimisation value of this.
2025-01-29 18:59:09 -04:00
Joey Hess
cbb6df35aa
merge in doc changes from master 2025-01-29 18:57:25 -04:00
Joey Hess
97c83152d6
Merge branch 'master' into ospath 2025-01-29 18:48:02 -04:00
Joey Hess
aaf4dd3b9c
fix liuxstandalone build 2025-01-29 18:12:00 -04:00
Joey Hess
55cf9ce28f
disable OsPath build flag on windows for now
Test suite failure looks like this:

        fatal: could not open '\\?\C:\Users\appveyor\AppData\Local\Temp\1\hash-cc81b41d-dfda-4ae8-904b-b531742443cc' for reading: No such file or directory
        fatal: could not open '\\?\C:\Users\appveyor\AppData\Local\Temp\1\hash-cc81b41d-dfda-4ae8-904b-b531742443cc' for reading: No such file or directory
        fatal: could not open '\\?\C:\Users\appveyor\AppData\Local\Temp\1\hash-cc81b41d-dfda-4ae8-904b-b531742443cc' for reading: No such file or directory
        fatal: could not open '\\?\C:\Users\appveyor\AppData\Local\Temp\1\hash-cc81b41d-dfda-4ae8-904b-b531742443cc' for reading: No such file or directory
        fatal: could not open '\\?\C:\Users\appveyor\AppData\Local\Temp\1\hash-cc81b41d-dfda-4ae8-904b-b531742443cc' for reading: No such file or directory
        fatal: could not open '\\?\C:\Users\appveyor\AppData\Local\Temp\1\hash-cc81b41d-dfda-4ae8-904b-b531742443cc' for reading: No such file or directory
        fatal: could not open '\\?\C:\Users\appveyor\AppData\Local\Temp\1\hash-cc81b41d-dfda-4ae8-904b-b531742443cc' for reading: No such file or directory
        fatal: could not open '\\?\C:\Users\appveyor\AppData\Local\Temp\1\hash-cc81b41d-dfda-4ae8-904b-b531742443cc' for reading: No such file or directory
        fatal: could not open '\\?\C:\Users\appveyor\AppData\Local\Temp\1\hash-cc81b41d-dfda-4ae8-904b-b531742443cc' for reading: No such file or directory
        fatal: could not open '\\?\C:\Users\appveyor\AppData\Local\Temp\1\hash-cc81b41d-dfda-4ae8-904b-b531742443cc' for reading: No such file or directory
        fatal: could not open '\\?\C:\Users\appveyor\AppData\Local\Temp\1\hash-cc81b41d-dfda-4ae8-904b-b531742443cc' for reading: No such file or directory
        git-annex: fd:4: Data.ByteString.hGetLine: end of file
        git-annex: user error (git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","hash-object","-w","--no-filters","--stdin-paths"] exited 128)

This is apparently in Git.HashObject, and probably in hashBlob, which uses a
temp file with a name starting with "hash", but I have not been able to tell
what's wrong.

I don't understand where the "\\?" path prefix (windows UNC-style path)
is coming from in the path that gets fed into git hash-file, or why git
hash-file can't open the file.
2025-01-29 17:22:21 -04:00
Joey Hess
998de2e7ce
remove temp debugging code 2025-01-29 17:19:01 -04:00
Joey Hess
415455883c
debug test suite crash on windows 2025-01-29 16:37:54 -04:00
Joey Hess
a9f3a31a52
more OsPath conversion
Sponsored-by: Kevin Mueller
2025-01-29 16:24:51 -04:00
Joey Hess
c309edb8fb
Merge branch 'master' into ospath 2025-01-29 15:37:19 -04:00
Joey Hess
1b7293fb67
fix windows build 2025-01-29 15:36:41 -04:00
Joey Hess
4d7bdd0047
windows build fix 2025-01-29 14:59:00 -04:00
Joey Hess
4e999af7ac
fix windows build and clarify comment 2025-01-29 14:52:20 -04:00
Joey Hess
76bff3e8d1
Merge branch 'master' into ospath 2025-01-29 14:29:34 -04:00
Joey Hess
2940cfcd18
fix fromOsPath on windows
Same reasons as 9c9baf7c65
2025-01-29 14:19:25 -04:00
Joey Hess
9c9baf7c65
fix toOsPath on windows
After recent changes to use OsPath, test suite fails on windows with:

Exception: Uneven number of bytes: 5. This is not a Word16 bytestream.

Hopefully this fixes it. The innefficiency of the conversion is
unfortunate.
2025-01-29 14:06:54 -04:00
Joey Hess
381019ee3f
response 2025-01-29 12:06:22 -04:00
Joey Hess
27305042f3
more OsPath conversion
Sponsored-by: Nicholas Golder-Manning
2025-01-29 11:53:20 -04:00
dmcardle
ec5f30f746 Added a comment 2025-01-29 14:44:38 +00:00
matrss
1e0a48fad0 Added a comment 2025-01-29 10:13:59 +00:00
matrss
acdefd77a6 Added a comment 2025-01-29 09:56:13 +00:00
Atemu
2f278fd4b3 Added a comment 2025-01-28 21:57:42 +00:00
jnkl
58e897b966 2025-01-28 21:32:18 +00:00
jnkl
75a6a00307 Added a comment 2025-01-28 21:20:17 +00:00
Joey Hess
0376bc5ee0
more OsPath conversion
Sponsored-by: Luke T. Shumaker
2025-01-28 16:31:19 -04:00
Joey Hess
e915b6c169
Merge branch 'master' of ssh://git-annex.branchable.com 2025-01-28 16:00:09 -04:00
Joey Hess
7da6f83582
Merge branch 'master' into ospath 2025-01-28 16:00:03 -04:00
Joey Hess
2b12f9f4b7
windows build fix
and a little more bonus RawFilePath conversion
2025-01-28 15:59:45 -04:00
Joey Hess
22c2451e26
more OsPath conversion
Sponsored-by: mycroft
2025-01-28 15:46:00 -04:00
Joey Hess
917c43f31f
Merge /home/joey/tmp/git-annex into ospath 2025-01-28 15:29:58 -04:00