Login  Register

Re: Git (gitfiletree) on Pharo vs Windows

Posted by Thierry Goubier on Feb 22, 2015; 7:39pm
URL: https://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791p4806884.html

Hi Hernan,

thanks, but ProcessWrapper isn't available on Pharo 3 nor Pharo 4. Could
you tell which configuration or metacello script we need to load it?

Thierry

Le 22/02/2015 17:52, Hernán Morales Durand a écrit :

>
> ProcessWrapper new
>            useStdout;
>            startWithShellCommand: 'echo hello';
>            upToEnd
>
>
> Hernán
>
>     Because this is where we are now: GitFileTree can run git commands
>     on windows (and they do run correctly), it's just that the command
>     output isn't recovered.
>
>     Help, please!
>
>     Thierry
>
>
>         Pharo image if you need:
>         http://www.mediafire.com/__download/zsguw7suit4vdu7/15-__02-22_10.25.zip
>         <http://www.mediafire.com/download/zsguw7suit4vdu7/15-02-22_10.25.zip>
>
>
>         Jan
>
>
>         Thierry Goubier wrote
>
>             Le 21/02/2015 21:50, Jan B. a écrit :
>
>                 Hi
>
>                 Thanks for reply.
>
>                 When I run this load command on Pharo 3, I get exception
>                 "FileDoesNotExist:
>                 @ \tmp\github-__dalehenrichfiletreeissue142.__zip"
>
>
>             Ok. I have uploaded the latest version of
>             MonticelloFileTree-Git on
>             smalltalkhub;
>
>             Gofer new
>                      url:
>             'https://smalltalkhub.com/mc/__Pharo/MetaRepoForPharo30/main
>             <https://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main>'__;
>                      configurationOf: 'GitFileTree';
>                      loadDevelopment
>
>             should pick it up
>
>             Thierry
>
>                 On Pharo 4, it loads. But when I try to add gitfiletree
>                 repository now
>                 (ie.
>                 clean pharo 4 platfrom -> your
>                 issue 142 load command -> adding gitfiletree
>                 repository), I get exception
>                 "MessageNotUnderstood: ExternalWindowsOSProcess
>                 class>>defaultShellPath
>
>                 When I afterwards try to manually load latest OSProcess
>                 packages, I get
>                 the
>                 same exception like before, without this issue 142 loading:
>                 "MessageNotUnderstood: receiver of "addFirst:" is nil
>
>                 Jan
>
>
>                 Thierry Goubier wrote
>
>                     Hi Jan,
>
>                     ok, the latest cod for GitFileTree is available on a
>                     dedicated branch on
>                     filetree. The way to load it is:
>
>                     Metacello new
>                              baseline: 'FileTree';
>                              repository:
>                     'github://dalehenrich/__filetree:issue_142/repository'__;
>                              load: 'Git'
>
>                     It rely on OSProcess, and I'm not entirely sure of
>                     OSProcess on windows,
>                     but I've simplified the commands, in part to ease an
>                     eventual Windows
>                     support. So, if you happen to be able to test?
>
>                     I would suggest pharo3.0 as your platform. I think
>                     changes to filetree
>                     to handle pharo4.0 are still on a separate branch.
>
>                     Thierry
>
>                 --
>                 View this message in context:
>                 http://forum.world.st/Git-__gitfiletree-on-Pharo-vs-__Windows-tp4806791p4806824.html
>                 <http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791p4806824.html>
>                 Sent from the Pharo Smalltalk Users mailing list archive
>                 at Nabble.com.
>
>
>
>
>
>
>
>
>         --
>         View this message in context:
>         http://forum.world.st/Git-__gitfiletree-on-Pharo-vs-__Windows-tp4806791p4806857.html
>         <http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791p4806857.html>
>         Sent from the Pharo Smalltalk Users mailing list archive at
>         Nabble.com.
>
>
>
>
>
>