2014-02-04 15:13:25 -04:00
|
|
|
git-annex now does Windows!
|
2013-05-13 13:46:03 -04:00
|
|
|
|
2014-09-11 13:57:48 -04:00
|
|
|
* First, [install git](http://git-scm.com/downloads) (msysgit 1.9 or newer is needed)
|
2014-09-11 14:11:52 -04:00
|
|
|
_Be sure to tell the msysgit installer to add git to the PATH._
|
2015-02-10 11:54:23 -04:00
|
|
|
That is, select "Use Git from the Windows Command Prompt"
|
2013-06-26 19:21:19 -04:00
|
|
|
* Then, [install git-annex](https://downloads.kitenet.net/git-annex/windows/current/)
|
2013-05-14 20:12:13 -04:00
|
|
|
|
2014-02-04 15:13:25 -04:00
|
|
|
This port is now in reasonably good shape for command-line use of
|
2014-06-17 14:34:51 -04:00
|
|
|
git-annex. The assistant and webapp are also usable. There are some known
|
|
|
|
problems and parts that don't work. See [[todo/windows_support]] for
|
|
|
|
current status.
|
2013-05-14 20:12:13 -04:00
|
|
|
|
2014-12-30 17:05:35 -04:00
|
|
|
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".
|
2013-07-30 16:57:17 -04:00
|
|
|
|
2013-05-17 13:38:45 -04:00
|
|
|
## autobuilds
|
2013-05-13 13:46:03 -04:00
|
|
|
|
2013-05-17 13:45:33 -04:00
|
|
|
A daily build is also available, thanks to Yury V. Zaytsev and
|
|
|
|
[NEST](http://nest-initiative.org/).
|
2013-05-14 20:12:13 -04:00
|
|
|
|
2014-06-19 14:21:34 -04:00
|
|
|
* [download](https://downloads.kitenet.net/git-annex/autobuild/windows/) ([build logs](https://qa.nest-initiative.org/view/msysGit/job/msysgit-git-annex-assistant-test/))
|
2013-05-14 20:12:13 -04:00
|
|
|
|
2013-05-17 13:38:45 -04:00
|
|
|
## building it yourself
|
|
|
|
|
|
|
|
To build git-annex from source on Windows, you need to install
|
2013-12-09 15:57:41 -04:00
|
|
|
the Haskell Platform, Mingw, and Cygwin. Use Cygwin to install:
|
|
|
|
gcc rsync git wget ssh gnupg
|
|
|
|
|
|
|
|
Once the prerequisites are installed, run:
|
2013-05-14 20:12:13 -04:00
|
|
|
|
2013-12-05 20:40:28 -04:00
|
|
|
cabal update
|
2013-12-07 13:06:01 -04:00
|
|
|
git clone git://git-annex.branchable.com/ gitannex
|
2013-12-05 20:40:28 -04:00
|
|
|
cd gitannex
|
|
|
|
build
|
2013-12-09 15:57:41 -04:00
|
|
|
|
2014-12-03 14:54:52 -04:00
|
|
|
(To build the git-annex installer, you also need to install the NullSoft
|
2013-12-09 15:57:41 -04:00
|
|
|
installer system.)
|