Git (gitfiletree) on Pharo vs Windows
Hello We are moving our project from smalltalkhub to github. Gitfiletree seems to be working as expected on linux, but there are some of us (well, me) who would like to contribute from Windows, but I am unable to make it working (which is, of course, also "as expected" :) ). What do I have: Windows 7 64bit Pharo 4 (#40496) Pharo VM for win, tried both stable (371 from 2014-09-25) and latest (410 from 2015-02-17) git version 1.9.5.msysgit.0 What did I try: 1) using Git for Windows from http://git-scm.com/downloads 2) cloning our project into ~/Pharo/repo (this created folder structure ~/Pharo/repo/dynacase/repository where all package folders are, along with .git folder in ~Pharo/repo/dynacase 3) downloading clean Pharo 4 platform 4) running from playground (tried both MetaRepoForPharo40 and 30): Gofer new url: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main'; configurationOf: 'GitFileTree'; loadDevelopment. 5) this step I tried only once in few tries: updating all OSProcess and CommandShell packages to latest commits 6) adding repository to Monticello, selected gitfiletree://, selected folder ~/Pharo/repo/dynacase/repository , OK Result was being swamped by exceptions every time. When I did step 5, I got different exceptions and, also, windows command line has opened (but "empty", ie. like if I opened it myself in folder with Pharo.exe and left like that) Only thing that worked for me was adding this local repository as regular filetree (not gitfiletree), commiting there, and than commiting same thing once again with git via command line (or git bash). I would like to ask for help with making it work somehow better. Here are saved images from moments when I confirmed adding gitfiletree repository with those mentioned exceptions and errors: https://www.mediafire.com/folder/879qs8srf5ice/PharoGitConfigs (30 = using MetaRepoForPharo30, 40 = using MetaRepoForPharo40, latest = using MetaRepoForPharo40 + loading latest packages) Thank you Jan BlizniÄenko -- View this message in context: http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hi Jan, Thanks for your interest and motivation. I have rewritten part of the git commands in gitfiletree in a way which should make it easier to get it to work on windows (and corrected a few bugs). I can't have access to a computer right now, so I'll be able to give you things to try (if you want) a bit later. Thierry Le 21 févr. 2015 13:26, "Jan B." <bliznjan@fit.cvut.cz> a écrit :
Hello
We are moving our project from smalltalkhub to github. Gitfiletree seems to be working as expected on linux, but there are some of us (well, me) who would like to contribute from Windows, but I am unable to make it working (which is, of course, also "as expected" :) ).
What do I have:
Windows 7 64bit Pharo 4 (#40496) Pharo VM for win, tried both stable (371 from 2014-09-25) and latest (410 from 2015-02-17) git version 1.9.5.msysgit.0
What did I try:
1) using Git for Windows from http://git-scm.com/downloads 2) cloning our project into ~/Pharo/repo (this created folder structure ~/Pharo/repo/dynacase/repository where all package folders are, along with .git folder in ~Pharo/repo/dynacase 3) downloading clean Pharo 4 platform 4) running from playground (tried both MetaRepoForPharo40 and 30): Gofer new url: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main'; configurationOf: 'GitFileTree'; loadDevelopment. 5) this step I tried only once in few tries: updating all OSProcess and CommandShell packages to latest commits 6) adding repository to Monticello, selected gitfiletree://, selected folder ~/Pharo/repo/dynacase/repository , OK
Result was being swamped by exceptions every time. When I did step 5, I got different exceptions and, also, windows command line has opened (but "empty", ie. like if I opened it myself in folder with Pharo.exe and left like that)
Only thing that worked for me was adding this local repository as regular filetree (not gitfiletree), commiting there, and than commiting same thing once again with git via command line (or git bash).
I would like to ask for help with making it work somehow better.
Here are saved images from moments when I confirmed adding gitfiletree repository with those mentioned exceptions and errors: https://www.mediafire.com/folder/879qs8srf5ice/PharoGitConfigs (30 = using MetaRepoForPharo30, 40 = using MetaRepoForPharo40, latest = using MetaRepoForPharo40 + loading latest packages)
Thank you Jan BlizniÄenko
-- View this message in context: http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
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 le 21/02/2015 13:19, Jan B. a écrit :
Hello
We are moving our project from smalltalkhub to github. Gitfiletree seems to be working as expected on linux, but there are some of us (well, me) who would like to contribute from Windows, but I am unable to make it working (which is, of course, also "as expected" :) ).
What do I have:
Windows 7 64bit Pharo 4 (#40496) Pharo VM for win, tried both stable (371 from 2014-09-25) and latest (410 from 2015-02-17) git version 1.9.5.msysgit.0
What did I try:
1) using Git for Windows from http://git-scm.com/downloads 2) cloning our project into ~/Pharo/repo (this created folder structure ~/Pharo/repo/dynacase/repository where all package folders are, along with .git folder in ~Pharo/repo/dynacase 3) downloading clean Pharo 4 platform 4) running from playground (tried both MetaRepoForPharo40 and 30): Gofer new url: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main'; configurationOf: 'GitFileTree'; loadDevelopment. 5) this step I tried only once in few tries: updating all OSProcess and CommandShell packages to latest commits 6) adding repository to Monticello, selected gitfiletree://, selected folder ~/Pharo/repo/dynacase/repository , OK
Result was being swamped by exceptions every time. When I did step 5, I got different exceptions and, also, windows command line has opened (but "empty", ie. like if I opened it myself in folder with Pharo.exe and left like that)
Only thing that worked for me was adding this local repository as regular filetree (not gitfiletree), commiting there, and than commiting same thing once again with git via command line (or git bash).
I would like to ask for help with making it work somehow better.
Here are saved images from moments when I confirmed adding gitfiletree repository with those mentioned exceptions and errors: https://www.mediafire.com/folder/879qs8srf5ice/PharoGitConfigs (30 = using MetaRepoForPharo30, 40 = using MetaRepoForPharo40, latest = using MetaRepoForPharo40 + loading latest packages)
Thank you Jan BlizniÄenko
-- View this message in context: http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hi Thanks for reply. When I run this load command on Pharo 3, I get exception "FileDoesNotExist: @ \tmp\github-dalehenrichfiletreeissue142.zip" 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
le 21/02/2015 13:19, Jan B. a écrit :
Hello
We are moving our project from smalltalkhub to github. Gitfiletree seems to be working as expected on linux, but there are some of us (well, me) who would like to contribute from Windows, but I am unable to make it working (which is, of course, also "as expected" :) ).
What do I have:
Windows 7 64bit Pharo 4 (#40496) Pharo VM for win, tried both stable (371 from 2014-09-25) and latest (410 from 2015-02-17) git version 1.9.5.msysgit.0
What did I try:
1) using Git for Windows from http://git-scm.com/downloads 2) cloning our project into ~/Pharo/repo (this created folder structure ~/Pharo/repo/dynacase/repository where all package folders are, along with .git folder in ~Pharo/repo/dynacase 3) downloading clean Pharo 4 platform 4) running from playground (tried both MetaRepoForPharo40 and 30): Gofer new url: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main'; configurationOf: 'GitFileTree'; loadDevelopment. 5) this step I tried only once in few tries: updating all OSProcess and CommandShell packages to latest commits 6) adding repository to Monticello, selected gitfiletree://, selected folder ~/Pharo/repo/dynacase/repository , OK
Result was being swamped by exceptions every time. When I did step 5, I got different exceptions and, also, windows command line has opened (but "empty", ie. like if I opened it myself in folder with Pharo.exe and left like that)
Only thing that worked for me was adding this local repository as regular filetree (not gitfiletree), commiting there, and than commiting same thing once again with git via command line (or git bash).
I would like to ask for help with making it work somehow better.
Here are saved images from moments when I confirmed adding gitfiletree repository with those mentioned exceptions and errors: https://www.mediafire.com/folder/879qs8srf5ice/PharoGitConfigs (30 = using MetaRepoForPharo30, 40 = using MetaRepoForPharo40, latest = using MetaRepoForPharo40 + loading latest packages)
Thank you Jan BlizniÄenko
-- View this message in context: http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791.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-tp4806791p4806824.... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
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"
This one is strange. A student of mine got a similar error on his laptop (W7, I think) but it worked on his desktop (W7 as well?).
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
Ok then. I'll update the development version of ConfigurationOfGitFileTree for you to try. Thierry
On Sun, Feb 22, 2015 at 5:57 AM, Thierry Goubier <thierry.goubier@gmail.com> 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"
This one is strange. A student of mine got a similar error on his laptop (W7, I think) but it worked on his desktop (W7 as well?).
Does on machine have a /tmp folder and the other doesn't? Windows sometimes gives that error when it can't create a file. cheers -ben
Hi Since it happens when after calling FileSystem >>#writeStreamOn: , I halted it there on both Pharo version and I got these values: Pharo 4: FileReference path = RelativePath with value 'github-dalehenrichfiletreeissue142134338868022738279896609523701.zip' which calls FileSystem writeStreamOn: self path FileSystem workingDirectory = AbsolutePath with values 'C:' 'Users' 'Ruiner' 'Pharo' 'Pharo40' Pharo 3: FileReference path = AbsolutePath with values 'tmp' 'github-dalehenrichfiletreeissue142.zip' which calls FileSystem writeStreamOn: self path FileSystem workingDirectory = AbsolutePath with values 'C:' 'Users' 'Ruiner' 'Pharo' 'Pharo30' Notice Pharo 4 uses relative path and Pharo 3 absolute path to that zip. But since it works in Pharo 4 right, I think it might have been a bug in Pharo 3 which was noticed and fixed. Ben Coman wrote
On Sun, Feb 22, 2015 at 5:57 AM, Thierry Goubier <
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"
This one is strange. A student of mine got a similar error on his laptop (W7, I think) but it worked on his desktop (W7 as well?).
Does on machine have a /tmp folder and the other doesn't? Windows sometimes gives that error when it can't create a file. cheers -ben
-- View this message in context: http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791p4806852.... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
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
le 21/02/2015 13:19, Jan B. a écrit :
Hello
We are moving our project from smalltalkhub to github. Gitfiletree seems to be working as expected on linux, but there are some of us (well, me) who would like to contribute from Windows, but I am unable to make it working (which is, of course, also "as expected" :) ).
What do I have:
Windows 7 64bit Pharo 4 (#40496) Pharo VM for win, tried both stable (371 from 2014-09-25) and latest (410 from 2015-02-17) git version 1.9.5.msysgit.0
What did I try:
1) using Git for Windows from http://git-scm.com/downloads 2) cloning our project into ~/Pharo/repo (this created folder structure ~/Pharo/repo/dynacase/repository where all package folders are, along with .git folder in ~Pharo/repo/dynacase 3) downloading clean Pharo 4 platform 4) running from playground (tried both MetaRepoForPharo40 and 30): Gofer new url: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main'; configurationOf: 'GitFileTree'; loadDevelopment. 5) this step I tried only once in few tries: updating all OSProcess and CommandShell packages to latest commits 6) adding repository to Monticello, selected gitfiletree://, selected folder ~/Pharo/repo/dynacase/repository , OK
Result was being swamped by exceptions every time. When I did step 5, I got different exceptions and, also, windows command line has opened (but "empty", ie. like if I opened it myself in folder with Pharo.exe and left like that)
Only thing that worked for me was adding this local repository as regular filetree (not gitfiletree), commiting there, and than commiting same thing once again with git via command line (or git bash).
I would like to ask for help with making it work somehow better.
Here are saved images from moments when I confirmed adding gitfiletree repository with those mentioned exceptions and errors: https://www.mediafire.com/folder/879qs8srf5ice/PharoGitConfigs (30 = using MetaRepoForPharo30, 40 = using MetaRepoForPharo40, latest = using MetaRepoForPharo40 + loading latest packages)
Thank you Jan BlizniÄenko
-- View this message in context: http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791.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-tp4806791p4806824.... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hi It seems like we got a step further, now this happens when I add gitfiletree repository: https://monosnap.com/image/21Li7R29QUVJh6AVDQvzENiCEpcBeF.png And when I close the command line (press q), I get this additional error: https://monosnap.com/image/9Di55xa9UBx0Tcgd54B4I3IVn4lFJ6.png 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.
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.
In the window with list of commits, there was nothing else. Nothing above or under it and it closes the window when I press q. However, before this command line window is opened, there briefly flashes another command line window (opens and immediately closes again), but I did not find a way to keep all command line windows opened after execution finishes. Thierry Goubier wrote
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?
-- View this message in context: http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791p4806859.... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hi Jan, I pushed a new version (development) of GitFileTree using ProcessWrapper on Windows (version 82 on Smalltalkhub). You need to get ProcessWrapper loaded first, of course, from the Configuration browser in Pharo 3. If you want to try? Thierry Le 22/02/2015 11:09, Jan B. a écrit :
In the window with list of commits, there was nothing else. Nothing above or under it and it closes the window when I press q. However, before this command line window is opened, there briefly flashes another command line window (opens and immediately closes again), but I did not find a way to keep all command line windows opened after execution finishes.
Thierry Goubier wrote
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?
-- View this message in context: http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791p4806859.... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hi This time, when I add gitfiletree repository via monticello, it loads all packages and classes. However, it does not load any methods. Even if I use "Browse" in repository window, it displays class definition, including variables and category correctly, but still no methods. Normal filetree shows and loads these methods. And another thing is that if I try to add and load gitfiletree repository via following command, not GUI, I get an Error: filetree:// repository 'C:\Users\User\Pharo\ourproject\repository\' does not exist command was: Metacello new baseline: 'OurProject'; repository: 'gitfiletree:///C:\Users\User\Pharo\ourproject\repository'; load. when I delete that 'git' characters and leave just repository: 'filetree:///C:\Users (etc.), it loads fine, too, but it may be my mistake. Jan Thierry Goubier wrote
Hi Jan,
I pushed a new version (development) of GitFileTree using ProcessWrapper on Windows (version 82 on Smalltalkhub).
You need to get ProcessWrapper loaded first, of course, from the Configuration browser in Pharo 3.
If you want to try?
Thierry
-- View this message in context: http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791p4807789.... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
2015-02-26 11:06 GMT+01:00 Jan B. <bliznjan@fit.cvut.cz>:
Hi
This time, when I add gitfiletree repository via monticello, it loads all packages and classes. However, it does not load any methods. Even if I use "Browse" in repository window, it displays class definition, including variables and category correctly, but still no methods. Normal filetree shows and loads these methods.
Strange. Really strange. Why? Because what GitFileTree does for loading is request an archive from git (i.e. a zip file) and load all definitions from it. If the zip was corrupted or not available in a way or another, it would not load anything... or could it be a case sensitivity problem on method names?
And another thing is that if I try to add and load gitfiletree repository via following command, not GUI, I get an Error: filetree:// repository 'C:\Users\User\Pharo\ourproject\repository\' does not exist
command was:
Metacello new baseline: 'OurProject'; repository: 'gitfiletree:///C:\Users\User\Pharo\ourproject\repository'; load.
when I delete that 'git' characters and leave just repository: 'filetree:///C:\Users (etc.), it loads fine, too, but it may be my mistake.
I don't know. It's hard to do this remote debugging of a kind :( Everything seems to be different in unexpected places. Thierry
Jan
Thierry Goubier wrote
Hi Jan,
I pushed a new version (development) of GitFileTree using ProcessWrapper on Windows (version 82 on Smalltalkhub).
You need to get ProcessWrapper loaded first, of course, from the Configuration browser in Pharo 3.
If you want to try?
Thierry
-- View this message in context: http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791p4807789.... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hi Jan, With Hernán's help and Dave Lewis confirmation, I have updated GitFileTree so that it loads ProcessWrapper and wrote a solution to the loading issue you have encountered. Please tell me any issues you would have with it. Thierry Le 26/02/2015 11:06, Jan B. a écrit :
Hi
This time, when I add gitfiletree repository via monticello, it loads all packages and classes. However, it does not load any methods. Even if I use "Browse" in repository window, it displays class definition, including variables and category correctly, but still no methods. Normal filetree shows and loads these methods.
And another thing is that if I try to add and load gitfiletree repository via following command, not GUI, I get an Error: filetree:// repository 'C:\Users\User\Pharo\ourproject\repository\' does not exist
command was:
Metacello new baseline: 'OurProject'; repository: 'gitfiletree:///C:\Users\User\Pharo\ourproject\repository'; load.
when I delete that 'git' characters and leave just repository: 'filetree:///C:\Users (etc.), it loads fine, too, but it may be my mistake.
Jan
Thierry Goubier wrote
Hi Jan,
I pushed a new version (development) of GitFileTree using ProcessWrapper on Windows (version 82 on Smalltalkhub).
You need to get ProcessWrapper loaded first, of course, from the Configuration browser in Pharo 3.
If you want to try?
Thierry
-- View this message in context: http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791p4807789.... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hello Thierry It works now, thank you a lot. It just seems like ProcessWrapper needs to be included also into MetaRepoForPharo40, but when I load ProcessWrapper separately from https://smalltalkhub.com/mc/hernan/ProcessWrapper/main , everything is fine on both Pharo 3 and 4 (40526). So only remaining minor windows problem (which probably is not on your side anyway) is that about getting gitfiletree repository address from string, so I have to add repository manually via monticello gui, but it does not matter too much. Jan Thierry Goubier wrote
Hi Jan,
With Hernán's help and Dave Lewis confirmation, I have updated GitFileTree so that it loads ProcessWrapper and wrote a solution to the loading issue you have encountered.
Please tell me any issues you would have with it.
Thierry
-- View this message in context: http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791p4808994.... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
2015-03-02 19:53 GMT-03:00 Jan B. <bliznjan@fit.cvut.cz>:
Hello Thierry
It works now, thank you a lot.
It just seems like ProcessWrapper needs to be included also into MetaRepoForPharo40, but when I load ProcessWrapper separately from https://smalltalkhub.com/mc/hernan/ProcessWrapper/main , everything is fine on both Pharo 3 and 4 (40526).
Yes, I should prepare a Configuration for Pharo 4 because some things changed. Hernán
Le 02/03/2015 23:53, Jan B. a écrit :
Hello Thierry
It works now, thank you a lot.
It just seems like ProcessWrapper needs to be included also into MetaRepoForPharo40, but when I load ProcessWrapper separately from https://smalltalkhub.com/mc/hernan/ProcessWrapper/main , everything is fine on both Pharo 3 and 4 (40526).
So only remaining minor windows problem (which probably is not on your side anyway) is that about getting gitfiletree repository address from string, so I have to add repository manually via monticello gui, but it does not matter too much.
Hi Jan, I remember that you said you used something like: Le 26/02/2015 11:06, Jan B. a écrit :> Metacello new
baseline: 'OurProject'; repository:
'gitfiletree:///C:\Users\User\Pharo\ourproject\repository';
load.
Can you try with 'gitfiletree:///C:/Users/User/Pharo/ourproject/repository' ? I had a look at the code and gitfiletree uses ZnUrl>>asFileReference, so it behaves like a file:// url which has / (and not \) as path separator [1]. And i'll make sure you get a gitfiletree (and not a filetree) error :) [1] http://www-archive.mozilla.org/quality/networking/testing/filetests.html Thierry
Of course, forward slashes. They seemed a little unnatural on windows, but it works indeed. So thank you once again. Jan Thierry Goubier wrote
Hi Jan,
I remember that you said you used something like:
Le 26/02/2015 11:06, Jan B. a écrit :> Metacello new
baseline: 'OurProject'; repository:
'gitfiletree:///C:\Users\User\Pharo\ourproject\repository';
load.
Can you try with 'gitfiletree:///C:/Users/User/Pharo/ourproject/repository' ?
I had a look at the code and gitfiletree uses ZnUrl>>asFileReference, so it behaves like a file:// url which has / (and not \) as path separator [1].
And i'll make sure you get a gitfiletree (and not a filetree) error :)
[1] http://www-archive.mozilla.org/quality/networking/testing/filetests.html
Thierry
-- View this message in context: http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791p4809074.... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
It seems to work now, Thank you Thierry, Hernán 2015-03-02 17:07 GMT-03:00 Thierry Goubier <thierry.goubier@gmail.com>:
Hi Jan,
With Hernán's help and Dave Lewis confirmation, I have updated GitFileTree so that it loads ProcessWrapper and wrote a solution to the loading issue you have encountered.
Please tell me any issues you would have with it.
Thierry
Le 26/02/2015 11:06, Jan B. a écrit :
Hi
This time, when I add gitfiletree repository via monticello, it loads all packages and classes. However, it does not load any methods. Even if I use "Browse" in repository window, it displays class definition, including variables and category correctly, but still no methods. Normal filetree shows and loads these methods.
And another thing is that if I try to add and load gitfiletree repository via following command, not GUI, I get an Error: filetree:// repository 'C:\Users\User\Pharo\ourproject\repository\' does not exist
command was:
Metacello new baseline: 'OurProject'; repository: 'gitfiletree:///C:\Users\User\ Pharo\ourproject\repository'; load.
when I delete that 'git' characters and leave just repository: 'filetree:///C:\Users (etc.), it loads fine, too, but it may be my mistake.
Jan
Thierry Goubier wrote
Hi Jan,
I pushed a new version (development) of GitFileTree using ProcessWrapper on Windows (version 82 on Smalltalkhub).
You need to get ProcessWrapper loaded first, of course, from the Configuration browser in Pharo 3.
If you want to try?
Thierry
-- View this message in context: http://forum.world.st/Git- gitfiletree-on-Pharo-vs-Windows-tp4806791p4807789.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
2015-02-22 7:04 GMT-03:00 Thierry Goubier <thierry.goubier@gmail.com>:
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 ?
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
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.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 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.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>
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-tp4806791p4806... <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-tp4806791p4806... <http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791p4806857....> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
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.goubier@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>
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.
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.goubier@gmail.com <mailto:thierry.goubier@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-tp4806791p... <http://forum.world.st/Git-__gitfiletree-on-Pharo-vs-__Windows-tp4806791p4806...>
<http://forum.world.st/Git-__gitfiletree-on-Pharo-vs-__Windows-tp4806791p4806... <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-tp4806791p... <http://forum.world.st/Git-__gitfiletree-on-Pharo-vs-__Windows-tp4806791p4806...>
<http://forum.world.st/Git-__gitfiletree-on-Pharo-vs-__Windows-tp4806791p4806... <http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791p4806857.html>__> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hi Thierry, I have tried in Pharo 3: Gofer new url: 'https://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main'; configurationOf: 'GitFileTree'; loadDevelopment But it didn't load the ProcessWrapper. Can you tell me how should I install? Cheers, Hernán 2015-02-25 16:32 GMT-03:00 Thierry Goubier <thierry.goubier@gmail.com>:
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.goubier@gmail.com <mailto:thierry.goubier@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.
Hi Hernán, I didn't put ProcessWrapper as a dependency yet, you'll have to load it first. Gofer new url: 'https://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main'; configurationOf: 'ProcessWrapper'; loadStable Thierry Le 27/02/2015 02:58, Hernán Morales Durand a écrit :
Hi Thierry,
I have tried in Pharo 3:
Gofer new url: 'https://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main'; configurationOf: 'GitFileTree'; loadDevelopment
But it didn't load the ProcessWrapper. Can you tell me how should I install?
Cheers,
Hernán
Thierry, It seems to work fine so far. However I would like to commit and push (propagate changes from my local git cloned repository to the remote one) from Pharo. Is that possible right now from Monticello or an (Smalltalk) expression? Would you us how? :) I want to avoid to switch to SourceTree as in the following video (at 5:41) https://www.youtube.com/watch?feature=player_detailpage&v=n2WNYDtO0cE#t=344 Hernán 2015-02-27 3:45 GMT-03:00 Thierry Goubier <thierry.goubier@gmail.com>:
Hi Hernán,
I didn't put ProcessWrapper as a dependency yet, you'll have to load it first.
Gofer new url: 'https://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main' ; configurationOf: 'ProcessWrapper'; loadStable
Thierry
Le 27/02/2015 02:58, Hernán Morales Durand a écrit :
Hi Thierry,
I have tried in Pharo 3:
Gofer new url: 'https://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main' ; configurationOf: 'GitFileTree'; loadDevelopment
But it didn't load the ProcessWrapper. Can you tell me how should I install?
Cheers,
Hernán
Le 28/02/2015 00:49, Hernán Morales Durand a écrit :
Thierry,
It seems to work fine so far. However I would like to commit and push (propagate changes from my local git cloned repository to the remote one) from Pharo. Is that possible right now from Monticello or an (Smalltalk) expression? Would you us how? :)
Do you mean this: making changes outside Pharo in the git, and doing a commit (and a push) ? I've integrated commit and push inside Monticello: commit is done automatically when you save, push can be done when opening the repository and pressing push... But I haven't done a GUI over Git. It could be done, but would not be that easy (and some of the existing Guis for Git, such as gitg, have serious performance issues). Thierry
I want to avoid to switch to SourceTree as in the following video (at 5:41)
https://www.youtube.com/watch?feature=player_detailpage&v=n2WNYDtO0cE#t=344
Hernán
2015-02-27 3:45 GMT-03:00 Thierry Goubier <thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com>>:
Hi Hernán,
I didn't put ProcessWrapper as a dependency yet, you'll have to load it first.
Gofer new url: 'https://smalltalkhub.com/mc/__Pharo/MetaRepoForPharo30/main <https://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main>'__; configurationOf: 'ProcessWrapper'; loadStable
Thierry
Le 27/02/2015 02:58, Hernán Morales Durand a écrit :
Hi Thierry,
I have tried in Pharo 3:
Gofer new url: 'https://smalltalkhub.com/mc/__Pharo/MetaRepoForPharo30/main <https://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main>'__; configurationOf: 'GitFileTree'; loadDevelopment
But it didn't load the ProcessWrapper. Can you tell me how should I install?
Cheers,
Hernán
A Pharo gui for git would be an excellent thing. As you (and Alan Kay) know, simple things should be simple, complex things should be possible... With git itself and its command line, there are lots of complex things possible, but my opinion is that simple thing are far from simple with git. Nice example of git gui I personally like is github for mac (and github for windows). https://mac.github.com https://windows.github.com Of course, it is just for github, but it contains all things one usually needs for commiting, branching etc. in the gui and if something is not so simple, it has command line, too. So, just for inspiration of overall design... how hard implementation for git in general might be, that is another thing. Jan Thierry Goubier wrote
Le 28/02/2015 00:49, Hernán Morales Durand a écrit :
But I haven't done a GUI over Git. It could be done, but would not be that easy (and some of the existing Guis for Git, such as gitg, have serious performance issues).
Thierry
-- View this message in context: http://forum.world.st/Git-gitfiletree-on-Pharo-vs-Windows-tp4806791p4808626.... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Le 01/03/2015 09:54, Jan B. a écrit :
A Pharo gui for git would be an excellent thing. As you (and Alan Kay) know, simple things should be simple, complex things should be possible... With git itself and its command line, there are lots of complex things possible, but my opinion is that simple thing are far from simple with git.
I do agree with you on that simple things are far from simple with git ;) and complex things are complex, and things that we shouldn't be doing are possible :)
Nice example of git gui I personally like is github for mac (and github for windows). https://mac.github.com https://windows.github.com
:( No mac, no windows here...
Of course, it is just for github, but it contains all things one usually needs for commiting, branching etc. in the gui and if something is not so simple, it has command line, too.
I think this 'GUI for usual things', 'command line for the rest' is probably the pragmatic solution.
So, just for inspiration of overall design... how hard implementation for git in general might be, that is another thing.
There is a possibility there, which is offered by libcgit integration in Pharo. If one wanted to do a full GUI integration, then it could be easier to do it that way (i.e. low-level access to git concepts, better mastery of those concepts since their understanding is needed when integrating into Pharo).. instead of a high-level flying overhead like GitFileTree does. Max, Esteban, what do you think? The other one is to focus on VCS overall, and to consider Monticello GUI refactoring to support concepts such as branches and external merging, so that it could be portable to other VCS (svn, mercurial, bazaar) and support whatever flow is needed out there (see my point during PharoDays 2015). It could even allow us to let branches appear in .mcz repositories :) Thierry
On Sun, Mar 1, 2015 at 5:19 PM, Thierry Goubier <thierry.goubier@gmail.com> wrote:
Le 01/03/2015 09:54, Jan B. a écrit :
A Pharo gui for git would be an excellent thing. As you (and Alan Kay) know, simple things should be simple, complex things should be possible... With git itself and its command line, there are lots of complex things possible, but my opinion is that simple thing are far from simple with git.
I do agree with you on that simple things are far from simple with git ;) and complex things are complex, and things that we shouldn't be doing are possible :)
Nice example of git gui I personally like is github for mac (and github
for windows). https://mac.github.com https://windows.github.com
:( No mac, no windows here...
Of course, it is just for github, but it contains all things one usually
needs for commiting, branching etc. in the gui and if something is not so simple, it has command line, too.
I think this 'GUI for usual things', 'command line for the rest' is probably the pragmatic solution.
So, just for inspiration of overall design... how hard implementation for
git in general might be, that is another thing.
There is a possibility there, which is offered by libcgit integration in Pharo. If one wanted to do a full GUI integration, then it could be easier to do it that way (i.e. low-level access to git concepts, better mastery of those concepts since their understanding is needed when integrating into Pharo).. instead of a high-level flying overhead like GitFileTree does.
Max, Esteban, what do you think?
The other one is to focus on VCS overall, and to consider Monticello GUI refactoring to support concepts such as branches and external merging, so that it could be portable to other VCS (svn, mercurial, bazaar) and support whatever flow is needed out there (see my point during PharoDays 2015).
It could even allow us to let branches appear in .mcz repositories :)
Thierry
I believe there would be some advantage to having a general git GUI app on Pharo for: * providing a test bed for Pharo libcgit integration * for others to get some familiarity with Pharo libcgit usage, before adapting any core Pharo to make use of it * it would be an app that "I" would have the power to add features to cheers -ben
On Sun, Mar 1, 2015 at 7:17 PM, Ben Coman <btc@openinworld.com> wrote:
On Sun, Mar 1, 2015 at 5:19 PM, Thierry Goubier <thierry.goubier@gmail.com
wrote:
Le 01/03/2015 09:54, Jan B. a écrit :
A Pharo gui for git would be an excellent thing. As you (and Alan Kay) know, simple things should be simple, complex things should be possible... With git itself and its command line, there are lots of complex things possible, but my opinion is that simple thing are far from simple with git.
I do agree with you on that simple things are far from simple with git ;) and complex things are complex, and things that we shouldn't be doing are possible :)
Nice example of git gui I personally like is github for mac (and github
for windows). https://mac.github.com https://windows.github.com
:( No mac, no windows here...
Of course, it is just for github, but it contains all things one usually
needs for commiting, branching etc. in the gui and if something is not so simple, it has command line, too.
I think this 'GUI for usual things', 'command line for the rest' is probably the pragmatic solution.
So, just for inspiration of overall design... how hard implementation for
git in general might be, that is another thing.
There is a possibility there, which is offered by libcgit integration in Pharo. If one wanted to do a full GUI integration, then it could be easier to do it that way (i.e. low-level access to git concepts, better mastery of those concepts since their understanding is needed when integrating into Pharo).. instead of a high-level flying overhead like GitFileTree does.
Max, Esteban, what do you think?
The other one is to focus on VCS overall, and to consider Monticello GUI refactoring to support concepts such as branches and external merging, so that it could be portable to other VCS (svn, mercurial, bazaar) and support whatever flow is needed out there (see my point during PharoDays 2015).
It could even allow us to let branches appear in .mcz repositories :)
Thierry
I believe there would be some advantage to having a general git GUI app on Pharo for: * providing a test bed for Pharo libcgit integration * for others to get some familiarity with Pharo libcgit usage, before adapting any core Pharo to make use of it * it would be an app that "I" would have the power to add features to
I meant to add, this might make an attractive GSoC project.
Le 01/03/2015 13:39, Ben Coman a écrit :
On Sun, Mar 1, 2015 at 7:17 PM, Ben Coman <btc@openinworld.com <mailto:btc@openinworld.com>> wrote:
On Sun, Mar 1, 2015 at 5:19 PM, Thierry Goubier <thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com>> wrote:
Le 01/03/2015 09:54, Jan B. a écrit :
A Pharo gui for git would be an excellent thing. As you (and Alan Kay) know, simple things should be simple, complex things should be possible... With git itself and its command line, there are lots of complex things possible, but my opinion is that simple thing are far from simple with git.
I do agree with you on that simple things are far from simple with git ;) and complex things are complex, and things that we shouldn't be doing are possible :)
Nice example of git gui I personally like is github for mac (and github for windows). https://mac.github.com https://windows.github.com
:( No mac, no windows here...
Of course, it is just for github, but it contains all things one usually needs for commiting, branching etc. in the gui and if something is not so simple, it has command line, too.
I think this 'GUI for usual things', 'command line for the rest' is probably the pragmatic solution.
So, just for inspiration of overall design... how hard implementation for git in general might be, that is another thing.
There is a possibility there, which is offered by libcgit integration in Pharo. If one wanted to do a full GUI integration, then it could be easier to do it that way (i.e. low-level access to git concepts, better mastery of those concepts since their understanding is needed when integrating into Pharo).. instead of a high-level flying overhead like GitFileTree does.
Max, Esteban, what do you think?
The other one is to focus on VCS overall, and to consider Monticello GUI refactoring to support concepts such as branches and external merging, so that it could be portable to other VCS (svn, mercurial, bazaar) and support whatever flow is needed out there (see my point during PharoDays 2015).
It could even allow us to let branches appear in .mcz repositories :)
Thierry
I believe there would be some advantage to having a general git GUI app on Pharo for: * providing a test bed for Pharo libcgit integration * for others to get some familiarity with Pharo libcgit usage, before adapting any core Pharo to make use of it * it would be an app that "I" would have the power to add features to
I meant to add, this might make an attractive GSoC project.
I'll add it then. Thierry
participants (4)
-
Ben Coman -
Hernán Morales Durand -
Jan B. -
Thierry Goubier