Hi Hernan,

I've pushed a new development version of GitFileTree using ProcessWrapper on Windows if it is available.

Would you care in testing it on Pharo 3 (or Pharo 4)? I'm not sure I did it right; it took me a while to get OSProcess use right, and I'm not sure I can reuse the same patterns with ProcessWrapper, such as the behavior on error.

Thanks,

Thierry

Le 22/02/2015 21:47, Hernán Morales Durand a écrit :
Thierry,

The ConfigurationOfProcessWrapper is available from the Configuration
Browser in Pharo 3.

The StHub page is http://www.smalltalkhub.com/#!/~hernan/ProcessWrapper

I have no permission to write to MetaRepoForPharo40 otherwise I would
upload it.

Cheers,

Hernán



2015-02-22 16:45 GMT-03:00 Thierry Goubier <thierry.goub...@gmail.com
<mailto:thierry.goub...@gmail.com>>:

    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>

        
<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>

        <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>

        
<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>

        
<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.











Reply via email to