git-annex now does Windows!
First, install Git for Windows
Then, install git-annex
This port is now in reasonably good shape for command-line use of git-annex. The assistant and webapp are also usable. There are some known problems and parts that don't work. See windows support for current status.
To verify that the build of git-annex works in your Windows system, you are
encouraged to run the test suite before using git-annex on real data. After
installation, run git annex test
. There will be a lot of output; the
important thing is that it should end with "All tests passed".
autobuilds
An hourly autobuild is also available, thanks to Yury V. Zaytsev and Dartmouth College.
building it yourself
To build git-annex from source on Windows, you need to install Git for Windows, and Stack.
Then open Git Bash, clone git-annex, and in git-annex's source tree, run "stack build" to download and build all dependencies and git-annex. "stack install" will install git-annex.
(To build the git-annex installer, you also need to install the NullSoft
installer system. The script standalone/windows/build.sh
is
used to make the builds linked to above.)
@michael.fsp autobuilder was down. There's a build now for the most recent release.
Just to let you know that the windows installer is still at version 7.20191115
Thanks for the awesome work!
Building on Windows gives this error:
[[!format sh """ Extracting ghc-8.6.5.tar
Everything is Ok
Size: 1773445120 Compressed: 280280296 Extracting ghc-8.6.5.tar... Extracted total of 9780 files from ghc-8.6.5.tar C:\Users\ilya\AppData\Local\Programs\stack\x86_64-windows\ghc-8.6.5-tmp6568\ghc-8.6.5: renamePath:MoveFileEx "C:\Users\ilya\AppData\Local\Programs\stack\x86_64-windows\ghc-8.6.5-tmp6568\ghc-8.6.5\" "C:\Users\ilya\AppData\Local\Programs\stack\x86_64-windows\ghc-8.6.5\": permission denied (Access is denied.)
"""]]
Running Git Bash with Administrator privileges does not seem to help. Anyone else run into this / know how to fix it? Thanks!
rsync is still used for some things, the rsync special remote and communication with servers using older versions of git-annex.
@eren, some of the programs included with git-annex need to use libraries from Git for Windows. In particular, I think you'll find that rsync doesn't work if you use the 64 bit Git for Windows.
To install git-annex next to 64bit git on Windows:
Start cmd.exe with administrator privileges and run mklink /J "C:\Program Files (x86)\Git" "C:\Program Files\Git" to add a sym-link. Install git-annex.