File: day_109__elimintating_absNormPath.mdwn

package info (click to toggle)
git-annex 5.20141125%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 37,832 kB
  • sloc: haskell: 42,603; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (18 lines) | stat: -rw-r--r-- 933 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
git-annex has been using MissingH's `absNormPath` forever, but that's
not very maintained and doesn't work on Windows. I've been
wanting to get rid of it for some time, and finally did today, writing a
`simplifyPath` that does the things git-annex needs and will work with all
the Windows filename craziness, and takes advantage of the more modern
System.FilePath to be quite a simple peice of code. A QuickCheck test found
no important divergences from absNormPath. A good first step to making
git-annex not depend on MissingH at all. 

That fixed one last Windows bug that was disabled in the test suite:
`git annex add ..\subdir\file` will now work.

I am re-installing the Android autobuilder for 2 reasons: I noticed I had
accidentially lost a patch to make a library use the Android SSL cert directory,
and also a new version of GHC is very near to release and so it makes sense
to update.

Down to 38 messages in the backlog.