Possible to run git-annex on windows?
Asked Answered
A

2

16

Is it somehow possible to run git-annex on windows?

Amelia answered 10/6, 2011 at 12:1 Comment(0)
T
4

Update 2013/2014: as mentioned below by Abbafei, there is a beta version (as of Oct. 2014) for Windows.

version 5.20140221

The Windows port of the assistant and webapp is now considered to be beta quality. There are important missing features (notably Jabber), documented on windows support, but the webapp is broadly usable on Windows now.

The most recent update for Windows (day 219, Sept. 13th, 2014), mentions:

Windows support improved more than I guessed in my wildest dreams.

git-annex went from working not too well on the command line to being pretty solid there, as well as having a working and almost polished webapp on Windows.
There are still warts -- it's Windows after all!

So the situation is improving, but that remains a work in progress.


Original answer (June 2011)

That recent thread (March 2011) doesn't leave much hope:

Well, I can tell you that it assumes a POSIX system, both in available utilities and system calls, So you'd need to use cygwin or something like that. (Perhaps you already are for git, I think git also assumes a POSIX system.) So you need a Haskell that can target that.
What this page refers to as "GHC-Cygwin": I don't know where to get one.
Did find this thread.
(There are probably also still some places where it assumes / as a path separator, although I fixed some.) FWIW, git-annex works fine on OS X and other fine proprietary unixen. ;P

You also find that coment in this bug report (March 2011):

Currently the hashed directories in .git-annex allow for upper and lower case directory names... on linux (or any case sensitive filesystem) the directory names such as 'Gg' and 'GG' are different and unique.
However on systems like OSX (and probably windows if it is ever supported) the directory names 'Gg' is the same as 'GG'

Tsimshian answered 11/6, 2011 at 18:50 Comment(1)
Thank you, VonC! It doesn't seem worth holding the breath for a windows implementation...Amelia
P
6

As of the time of writing this comment you are reading right now, Windows support for git-annex is planned as part of the git-annex assistant project (which I think automatically adds support for git-annex itself), but it is not implemented just yet.

Links

  • This webpage has the status of the Windows port.

  • This page has design plans for the Windows port.

  • This one shows the roadmap status at the time of writing.

Patrilocal answered 23/4, 2013 at 10:16 Comment(3)
On windows I just want to clone from some annex repo and pull in and add annex binarys/files of my own does assistant hope to provide this?Anadem
@Anadem Clarified the answer. Thanks!Patrilocal
+1 this should get marked as the new asnwer - basic windows support is up and running..Meisel
T
4

Update 2013/2014: as mentioned below by Abbafei, there is a beta version (as of Oct. 2014) for Windows.

version 5.20140221

The Windows port of the assistant and webapp is now considered to be beta quality. There are important missing features (notably Jabber), documented on windows support, but the webapp is broadly usable on Windows now.

The most recent update for Windows (day 219, Sept. 13th, 2014), mentions:

Windows support improved more than I guessed in my wildest dreams.

git-annex went from working not too well on the command line to being pretty solid there, as well as having a working and almost polished webapp on Windows.
There are still warts -- it's Windows after all!

So the situation is improving, but that remains a work in progress.


Original answer (June 2011)

That recent thread (March 2011) doesn't leave much hope:

Well, I can tell you that it assumes a POSIX system, both in available utilities and system calls, So you'd need to use cygwin or something like that. (Perhaps you already are for git, I think git also assumes a POSIX system.) So you need a Haskell that can target that.
What this page refers to as "GHC-Cygwin": I don't know where to get one.
Did find this thread.
(There are probably also still some places where it assumes / as a path separator, although I fixed some.) FWIW, git-annex works fine on OS X and other fine proprietary unixen. ;P

You also find that coment in this bug report (March 2011):

Currently the hashed directories in .git-annex allow for upper and lower case directory names... on linux (or any case sensitive filesystem) the directory names such as 'Gg' and 'GG' are different and unique.
However on systems like OSX (and probably windows if it is ever supported) the directory names 'Gg' is the same as 'GG'

Tsimshian answered 11/6, 2011 at 18:50 Comment(1)
Thank you, VonC! It doesn't seem worth holding the breath for a windows implementation...Amelia

© 2022 - 2024 — McMap. All rights reserved.