git-annex/doc/todo/windows_support.mdwn

39 lines
1.7 KiB
Text
Raw Normal View History

2013-05-11 21:17:38 +00:00
The git-annex Windows port is not ready for prime time. But it does exist
now! --[[Joey]]
2013-05-11 21:17:38 +00:00
## status
2011-06-10 19:55:38 +00:00
2013-05-14 19:04:45 +00:00
* Does not work with Cygwin's build of git (that git does not consistently
2013-05-14 19:14:11 +00:00
support use of DOS style paths, which git-annex uses on Windows).
2013-12-09 20:00:48 +00:00
Must use Msysgit.
* rsync special remotes are known buggy.
2013-05-11 21:17:38 +00:00
* Bad file locking, it's probably not safe to run more than one git-annex
process at the same time on Windows.
2013-07-07 17:57:56 +00:00
* Ssh connection caching does not work on Windows, so `git annex get`
has to connect twice to the remote system over ssh per file, which
is much slower than on systems supporting connection caching.
2013-12-04 21:39:58 +00:00
* `git annex watch` works, but does not detect when files are still open
for write as they're being added (no lsof). So watch/webapp/assistant
2013-12-10 05:45:21 +00:00
may be unsafe.
2013-12-10 18:34:35 +00:00
* `git annex assistant` has not been tested, is probably quite incomplete
and/or buggy.
2013-12-10 05:00:10 +00:00
* Doesn't daemonize. Maybe use
<http://hackage.haskell.org/package/Win32-services>
or perhaps easier,
<http://hackage.haskell.org/package/Win32-services-wrapper>
* XMPP library not yet built.
This should work to install the deps, using libs from cygwin
cabal install libxml-sax --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\libxml2
cabal install gnuidn --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\
cabal install gnutls --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\
While the 1st line works, the rest fail oddly. Looks like lack of
quoting when cabal runs c2hs and gcc, as "Haskell Platform" is
taken as 2 filenames. Needs investigation why this happens here
and not other times..
Also needs gsasl, which is not in cygwin.
See <http://josefsson.org/gsasl4win/README.html>