Re: [Pharo-dev] Status of GitFileTree in Pharo 5.0 and Spur
On Sun, Jan 3, 2016 at 12:51 PM, Thierry Goubierwrote: > Hi Mariano, > > Le 03/01/2016 16:01, Mariano Martinez Peck a écrit : > >> Hi Thierry, >> >> I had some problems with OSProcess in 5.0 with Spur so I wonder what's >> the status with GitFileTree. Is it working with latest 5.0? I tried to >> search some tests to confirm this but I found none. >> > > As far as I use it, there are no issues with GitFileTree on the latest 5.0 > with Spur on Linux. I do know that the Mac OSProcess plugin for Spur has an > issue. OK, I just tried in 4.0 and it works correct. And I remember also an issue with OSProcess in OSX in 5.0 and Spur...but cannot remember what exactly :( So it seems there is something going on there... -- Mariano http://marianopeck.wordpress.com
Re: [Pharo-dev] Status of GitFileTree in Pharo 5.0 and Spur
That would be fantastic to have this fixed Cheers, Alexandre > On Jan 3, 2016, at 12:57 PM, Mariano Martinez Peck> wrote: > > > > On Sun, Jan 3, 2016 at 12:54 PM, Thierry Goubier > wrote: > Le 03/01/2016 16:49, Mariano Martinez Peck a écrit : > ok, I am giving it a try but it seems it's not working or... mostly > likely, I am doing something wrong. > I just created a repo via github web interface, then I clone it to my > machine, and then I tried to add the gitfiletree repo in MC Browser, but > I get an error in: #currentBranch because #gitBranchs answered an empty > array. But the `git branch` command was really executed as I can see the > output of it in the stdout of the VM. So I guess OSProcess stdout > setting may be what is not working? > > You're on Mac when you do that, right? > > > Yep. > > OSProcess output redirection doesn't work in the latest Mac VM... my fault > (introduced in the OSProcess plugin) :( but I have no idea why the fd dup / > pipes work on Linux and not on Mac OS X. > > > OSProcess uses (as well as my prototype) dup2 rather than dup. > > Thierry > > > Thanks in advance, > > On Sun, Jan 3, 2016 at 12:01 PM, Mariano Martinez Peck > > wrote: > > Hi Thierry, > > I had some problems with OSProcess in 5.0 with Spur so I wonder > what's the status with GitFileTree. Is it working with latest 5.0? > I tried to search some tests to confirm this but I found none. > > Thanks in advance, > > > -- > Mariano > http://marianopeck.wordpress.com > > > > > -- > Mariano > http://marianopeck.wordpress.com > > > > > > -- > Mariano > http://marianopeck.wordpress.com -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Re: [Pharo-dev] Status of GitFileTree in Pharo 5.0 and Spur
Le 03/01/2016 17:11, Alexandre Bergel a écrit : That would be fantastic to have this fixed Well, that or Mariano's solution :) Thierry Cheers, Alexandre On Jan 3, 2016, at 12:57 PM, Mariano Martinez Peckwrote: On Sun, Jan 3, 2016 at 12:54 PM, Thierry Goubier wrote: Le 03/01/2016 16:49, Mariano Martinez Peck a écrit : ok, I am giving it a try but it seems it's not working or... mostly likely, I am doing something wrong. I just created a repo via github web interface, then I clone it to my machine, and then I tried to add the gitfiletree repo in MC Browser, but I get an error in: #currentBranch because #gitBranchs answered an empty array. But the `git branch` command was really executed as I can see the output of it in the stdout of the VM. So I guess OSProcess stdout setting may be what is not working? You're on Mac when you do that, right? Yep. OSProcess output redirection doesn't work in the latest Mac VM... my fault (introduced in the OSProcess plugin) :( but I have no idea why the fd dup / pipes work on Linux and not on Mac OS X. OSProcess uses (as well as my prototype) dup2 rather than dup. Thierry Thanks in advance, On Sun, Jan 3, 2016 at 12:01 PM, Mariano Martinez Peck > wrote: Hi Thierry, I had some problems with OSProcess in 5.0 with Spur so I wonder what's the status with GitFileTree. Is it working with latest 5.0? I tried to search some tests to confirm this but I found none. Thanks in advance, -- Mariano http://marianopeck.wordpress.com -- Mariano http://marianopeck.wordpress.com -- Mariano http://marianopeck.wordpress.com
Re: [Pharo-dev] Status of GitFileTree in Pharo 5.0 and Spur
On Sun, Jan 03, 2016 at 04:54:48PM +0100, Thierry Goubier wrote: > Le 03/01/2016 16:49, Mariano Martinez Peck a ??crit : > > ok, I am giving it a try but it seems it's not working or... mostly > >likely, I am doing something wrong. > >I just created a repo via github web interface, then I clone it to my > >machine, and then I tried to add the gitfiletree repo in MC Browser, but > >I get an error in: #currentBranch because #gitBranchs answered an empty > >array. But the `git branch` command was really executed as I can see the > >output of it in the stdout of the VM. So I guess OSProcess stdout > >setting may be what is not working? > > You're on Mac when you do that, right? > > OSProcess output redirection doesn't work in the latest Mac VM... my > fault (introduced in the OSProcess plugin) :( but I have no idea why the > fd dup / pipes work on Linux and not on Mac OS X. Hi Thierry, I cannot say if it is related to the problem you are discussing here for Mac VMs, but I should mention that there is an error in the oscog branch of OSProcessPlugin (the one that you are using for Pharo VMs). The following test passes in the main branch of OSPP but fails for oscog version: (UnixProcessAccessorTestCase selector: #testRedirectStdOutTo) run If you are compiling your own VM, you may want to try using the main branch of OSPP (VMConstruction-Plugins-OSProcessPlugin-dtl.40) rather than the oscog version (VMConstruction-Plugins-OSProcessPlugin.oscog-eem.50) and see if it makes a difference. Dave
[Pharo-dev] Status of GitFileTree in Pharo 5.0 and Spur
Hi Thierry, I had some problems with OSProcess in 5.0 with Spur so I wonder what's the status with GitFileTree. Is it working with latest 5.0? I tried to search some tests to confirm this but I found none. Thanks in advance, -- Mariano http://marianopeck.wordpress.com
Re: [Pharo-dev] Status of GitFileTree in Pharo 5.0 and Spur
Hi Mariano, Le 03/01/2016 16:01, Mariano Martinez Peck a écrit : Hi Thierry, I had some problems with OSProcess in 5.0 with Spur so I wonder what's the status with GitFileTree. Is it working with latest 5.0? I tried to search some tests to confirm this but I found none. As far as I use it, there are no issues with GitFileTree on the latest 5.0 with Spur on Linux. I do know that the Mac OSProcess plugin for Spur has an issue. Thierry
Re: [Pharo-dev] Status of GitFileTree in Pharo 5.0 and Spur
On Sun, Jan 3, 2016 at 1:18 PM, Thierry Goubierwrote: > Le 03/01/2016 17:11, Alexandre Bergel a écrit : > >> That would be fantastic to have this fixed >> > > Well, that or Mariano's solution :) > > I think we will always need OSProcess around because that gives you a real access to everything since it's at plugin level and because it uses the bare metal of fork + exec combination :) With my solution, you may solve many easy cases, but for other cases, you will very much likely need OSProcess. BTW, I am trying your OSProcess git usage but I must finish a few things for that ;) > Thierry > > > Cheers, >> Alexandre >> >> >> On Jan 3, 2016, at 12:57 PM, Mariano Martinez Peck >>> wrote: >>> >>> >>> >>> On Sun, Jan 3, 2016 at 12:54 PM, Thierry Goubier < >>> thierry.goub...@gmail.com> wrote: >>> Le 03/01/2016 16:49, Mariano Martinez Peck a écrit : >>> ok, I am giving it a try but it seems it's not working or... mostly >>> likely, I am doing something wrong. >>> I just created a repo via github web interface, then I clone it to my >>> machine, and then I tried to add the gitfiletree repo in MC Browser, but >>> I get an error in: #currentBranch because #gitBranchs answered an empty >>> array. But the `git branch` command was really executed as I can see the >>> output of it in the stdout of the VM. So I guess OSProcess stdout >>> setting may be what is not working? >>> >>> You're on Mac when you do that, right? >>> >>> >>> Yep. >>> >>> OSProcess output redirection doesn't work in the latest Mac VM... my >>> fault (introduced in the OSProcess plugin) :( but I have no idea why the fd >>> dup / pipes work on Linux and not on Mac OS X. >>> >>> >>> OSProcess uses (as well as my prototype) dup2 rather than dup. >>> >>> Thierry >>> >>> >>> Thanks in advance, >>> >>> On Sun, Jan 3, 2016 at 12:01 PM, Mariano Martinez Peck >>> > wrote: >>> >>> Hi Thierry, >>> >>> I had some problems with OSProcess in 5.0 with Spur so I wonder >>> what's the status with GitFileTree. Is it working with latest 5.0? >>> I tried to search some tests to confirm this but I found none. >>> >>> Thanks in advance, >>> >>> >>> -- >>> Mariano >>> http://marianopeck.wordpress.com >>> >>> >>> >>> >>> -- >>> Mariano >>> http://marianopeck.wordpress.com >>> >>> >>> >>> >>> >>> -- >>> Mariano >>> http://marianopeck.wordpress.com >>> >> >> > > -- Mariano http://marianopeck.wordpress.com