2014-02-04 19:13:25 +00:00
|
|
|
git-annex now does Windows!
|
2013-05-13 17:46:03 +00:00
|
|
|
|
2016-11-29 17:37:16 +00:00
|
|
|
* First, [install Git for Windows](http://git-scm.com/downloads)
|
|
|
|
|
2015-10-26 17:29:12 +00:00
|
|
|
Important: **Get the 32 bit version not the 64 bit version.**
|
2016-11-29 17:37:16 +00:00
|
|
|
If you installed the 64 bit version of git, then parts of git-annex will
|
|
|
|
still run, however, some features, including tools like rsync, will
|
|
|
|
not work.
|
|
|
|
|
2013-06-26 23:21:19 +00:00
|
|
|
* Then, [install git-annex](https://downloads.kitenet.net/git-annex/windows/current/)
|
2013-05-15 00:12:13 +00:00
|
|
|
|
2014-02-04 19:13:25 +00:00
|
|
|
This port is now in reasonably good shape for command-line use of
|
2014-06-17 18:34:51 +00: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-15 00:12:13 +00:00
|
|
|
|
2014-12-30 21:05:35 +00: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 20:57:17 +00:00
|
|
|
|
2013-05-17 17:38:45 +00:00
|
|
|
## autobuilds
|
2013-05-13 17:46:03 +00:00
|
|
|
|
2017-10-26 17:47:47 +00:00
|
|
|
An hourly autobuild is also available, thanks to Yury V. Zaytsev and
|
2016-11-29 16:05:37 +00:00
|
|
|
Dartmouth College.
|
2013-05-15 00:12:13 +00:00
|
|
|
|
2016-11-30 18:37:32 +00:00
|
|
|
* [download](https://downloads.kitenet.net/git-annex/autobuild/windows/)
|
2013-05-15 00:12:13 +00:00
|
|
|
|
2013-05-17 17:38:45 +00:00
|
|
|
## building it yourself
|
|
|
|
|
|
|
|
To build git-annex from source on Windows, you need to install
|
2016-05-05 19:47:01 +00:00
|
|
|
[Git for Windows](http://git-scm.com/downloads), and
|
|
|
|
[Stack](http://haskellstack.org/).
|
2013-12-09 19:57:41 +00:00
|
|
|
|
2017-10-25 18:45:23 +00:00
|
|
|
You also need to install rsync for windows.
|
|
|
|
It needs to be linked with the same MINGW32 libraries that come with Git
|
|
|
|
for Windows. One way is to download it from
|
2016-05-05 19:47:01 +00:00
|
|
|
<https://downloads.kitenet.net/git-annex/windows/assets/>.
|
2017-10-25 18:45:23 +00:00
|
|
|
Put it somewhere in PATH.
|
2013-05-15 00:12:13 +00:00
|
|
|
|
2017-10-25 18:45:23 +00:00
|
|
|
Then open Git Bash, [[clone git-annex|download]], and in git-annex's source
|
2017-11-09 17:54:05 +00:00
|
|
|
tree, run "stack build --stack-yaml stack-windows.yaml" to download and
|
|
|
|
build all dependencies and git-annex. "stack install --stack-yaml
|
|
|
|
stack-windows.yaml" will install git-annex.
|
2013-12-09 19:57:41 +00:00
|
|
|
|
2014-12-03 18:54:52 +00:00
|
|
|
(To build the git-annex installer, you also need to install the NullSoft
|
2016-05-05 19:47:01 +00:00
|
|
|
installer system. The script `standalone/windows/build.sh` is
|
|
|
|
used to make the builds linked to above.)
|