Hi Thierry,

Providing some feedback here.

I couldn't add a remote repository (image hangs) using Pharo 5. Working with GitHub Bash and SSH connections I think one needs to re-use ssh-agent environment variables before launching git commands. For example if ssh-agent.exe was sucessfully started and MSYS says:

$ env | grep ^SSH
SSH_AGENT_PID=5784
SSH_AUTH_SOCK=/tmp/ssh-Jpgwx10860/agent.10860

then from CMD.exe one could get both values using:

C:\> wmic process where ExecutablePath='c:\\Program Files (x86)\\Git\\bin\\ssh-agent.exe' get ProcessId

C:\> find /tmp/ssh-* -name agent.\* -uid $(id -u)|head -n 1

I have attached a change set with some refactorings and new methods to enable setting ssh-agent variables. It is not finished and it needs review. I do not have too much time but is a start, I hope.

Cheers,

Hern��n






2015-10-09 18:35 GMT-03:00 Thierry Goubier <thierry.goubier@gmail.com>:
Hi all,

thanks to the help of Nicolai and Levente (and others), GitFileTree has now working support for Windows users through ProcessWrapper (on the development versions).

A way for it to work is to have git in your path and simply load:

Metacello new
�� �� �� �� configuration: 'GitFileTree';
�� �� �� �� version: #'development';
�� �� �� �� repository: 'https://smalltalkhub.com/mc/Pharo/MetaRepoForPharo50/main';
�� �� �� �� load

Expect this to move into stable GitFileTree if it is reported to work.

Next steps for gitfiletree are a metadata-less mode (for Alexandre :)) and svn support (aka SVNFileTree ;)).

Regards,

Thierry