ff85adba76
rsync is only needed for rsync special remotes and git-annex-shell from Debian oldstable. Since the library situation on windows for rsync required a particular 32 bit build of git for it to work, and may also somehow need git-annex to be 32 bit build, it's better to not include it. This commit was sponsored by Jake Vosloo on Patreon.
36 lines
1.4 KiB
Markdown
36 lines
1.4 KiB
Markdown
git-annex now does Windows!
|
|
|
|
* First, [install Git for Windows](http://git-scm.com/downloads)
|
|
|
|
* Then, [install git-annex](https://downloads.kitenet.net/git-annex/windows/current/)
|
|
|
|
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 [[todo/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.
|
|
|
|
* [download](https://downloads.kitenet.net/git-annex/autobuild/windows/)
|
|
|
|
## building it yourself
|
|
|
|
To build git-annex from source on Windows, you need to install
|
|
[Git for Windows](http://git-scm.com/downloads), and
|
|
[Stack](http://haskellstack.org/).
|
|
|
|
Then open Git Bash, [[clone git-annex|download]], 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.)
|