Le 22/02/2015 10:26, Jan B. a écrit :
Hi
It seems like we got a step further, now this happens when I add gitfiletree repository: https://monosnap.com/image/21Li7R29QUVJh6AVDQvzENiCEpcBeF.png
Ok. So it seems to be running the command just fine, however, the output appear in a separate window instead of being recovered by OSProcess. If you scrolled at the bottom of the command shell, have you seen the result of the git branch command?
And when I close the command line (press q), I get this additional error: https://monosnap.com/image/9Di55xa9UBx0Tcgd54B4I3IVn4lFJ6.png
Same issue: on the previous image, what you see as output is the result of the loadAncestry git operation... and then the load ancestry operation fails because no output is available inside Pharo. So, to all Windows Pharo users... How do you run an external shell command on windows and recover the output ? 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
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'; 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.... 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.... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.