Github and Pharo

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
41 messages Options
123
Reply | Threaded
Open this post in threaded view
|

Github and Pharo

kilon.alios
So any information on how Pharo can be used with Github ? 

all I have is this


I dont need much, just basic git pull, push, clone, add and rm should do fine for starter. 

But of course I am interesting into learning what can be done, what is available , who needs help with what.  Github is something really important for me, so I am willing to contribute as much I can into bringing Pharo closer to it. 

My interest is using Github in place of smalltalkhub and squeaksource. I was planning to implement something like an App Store (not the purchase  system) for Pharo  libraries and I would love to use github as a backend to it and git of course. 
Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

philippeback
As said:

Load the filetree configuration from the configuration browser (Pharo 2.0 here) and you'll be good to go.


It works with any git repo. With the filtetree:// repository, it will put the files in your local workspace. Then you can use whatever git client to commit and push stuff out. I do use SourceTree from Atlassian successfully on both OSX and Windows8.

Sample (simple) repo: https://github.com/philippeback/filetreedemo in case you want to see what you'll get out of this.

This is all nice and well but frankly, basic Mczs aren't that bad after all :-)

Phil



On Sat, Nov 2, 2013 at 2:59 PM, kilon alios <[hidden email]> wrote:
So any information on how Pharo can be used with Github ? 

all I have is this


I dont need much, just basic git pull, push, clone, add and rm should do fine for starter. 

But of course I am interesting into learning what can be done, what is available , who needs help with what.  Github is something really important for me, so I am willing to contribute as much I can into bringing Pharo closer to it. 

My interest is using Github in place of smalltalkhub and squeaksource. I was planning to implement something like an App Store (not the purchase  system) for Pharo  libraries and I would love to use github as a backend to it and git of course. 

Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

kilon.alios
thank you phil I have visited the Filetree link but I have no clue how to use this. I did in Workspace

Gofer new
      package: 'ConfigurationOfFileTree';
      load.
((Smalltalk at: #ConfigurationOfFileTree) project version: #'stable') load.

and it seems it installed Filetree , but I have no clue what to do from here on. 


On Sat, Nov 2, 2013 at 4:33 PM, [hidden email] <[hidden email]> wrote:
As said:

Load the filetree configuration from the configuration browser (Pharo 2.0 here) and you'll be good to go.


It works with any git repo. With the filtetree:// repository, it will put the files in your local workspace. Then you can use whatever git client to commit and push stuff out. I do use SourceTree from Atlassian successfully on both OSX and Windows8.

Sample (simple) repo: https://github.com/philippeback/filetreedemo in case you want to see what you'll get out of this.

This is all nice and well but frankly, basic Mczs aren't that bad after all :-)

Phil



On Sat, Nov 2, 2013 at 2:59 PM, kilon alios <[hidden email]> wrote:
So any information on how Pharo can be used with Github ? 

all I have is this


I dont need much, just basic git pull, push, clone, add and rm should do fine for starter. 

But of course I am interesting into learning what can be done, what is available , who needs help with what.  Github is something really important for me, so I am willing to contribute as much I can into bringing Pharo closer to it. 

My interest is using Github in place of smalltalkhub and squeaksource. I was planning to implement something like an App Store (not the purchase  system) for Pharo  libraries and I would love to use github as a backend to it and git of course. 


Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

Sven Van Caekenberghe-2
In reply to this post by kilon.alios

On 02 Nov 2013, at 14:59, kilon alios <[hidden email]> wrote:

> So any information on how Pharo can be used with Github ?

Just to assure you that it works, the whole of Pharo, the image itself, is completely on GitHub:

  https://github.com/pharo-project/pharo-core

including all releases properly tagged !

Many people, including myself (http://github.com/svenvc), have Pharo Smalltalk code on GitHub.

It is just so that currently for most people this is a mirror, not the primary repository. You’ll have to try and study the different approaches yourself to understand the finer points.

Sven



Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

kilon.alios
I have used Github for smalltalk projects back when I was still using Squeak. I just was filling out packages and manually copying the st files to my git repo that I then committed to my Github account. It was the manual process of copying and triggering the git commit that I wanted to avoid. 

The one thing I dont like about FSGit is that it creates multiple files per package. I would prefer a single file per package containing complete declarations of the classes for easier viewing and reviewing of code in Github. Is this possible or would I need to hack it ? 


On Sat, Nov 2, 2013 at 5:42 PM, Sven Van Caekenberghe <[hidden email]> wrote:

On 02 Nov 2013, at 14:59, kilon alios <[hidden email]> wrote:

> So any information on how Pharo can be used with Github ?

Just to assure you that it works, the whole of Pharo, the image itself, is completely on GitHub:

  https://github.com/pharo-project/pharo-core

including all releases properly tagged !

Many people, including myself (http://github.com/svenvc), have Pharo Smalltalk code on GitHub.

It is just so that currently for most people this is a mirror, not the primary repository. You’ll have to try and study the different approaches yourself to understand the finer points.

Sven




Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

Frank Shearar-3
On 2 November 2013 21:29, kilon alios <[hidden email]> wrote:
> I have used Github for smalltalk projects back when I was still using
> Squeak. I just was filling out packages and manually copying the st files to
> my git repo that I then committed to my Github account. It was the manual
> process of copying and triggering the git commit that I wanted to avoid.
>
> The one thing I dont like about FSGit is that it creates multiple files per
> package. I would prefer a single file per package containing complete
> declarations of the classes for easier viewing and reviewing of code in
> Github. Is this possible or would I need to hack it ?

Filetree turns the smallest semantic units - class definitions, method
definitions, etc. - into individual files. This is, from a versioning
perspective, the right thing to do. You don't get merge conflicts that
break anything larger than an individual method/class
definition/whatever. But it does come at a very large cost in that, as
you say, it ruins GitHub as a means of conveniently browsing code.

Another option is to use Gitocello. It just dumps things out in chunk
format, as you can see here: https://github.com/frankshearar/Zippers

And as you'll see, chunk format is hideous.

frank

> On Sat, Nov 2, 2013 at 5:42 PM, Sven Van Caekenberghe <[hidden email]> wrote:
>>
>>
>> On 02 Nov 2013, at 14:59, kilon alios <[hidden email]> wrote:
>>
>> > So any information on how Pharo can be used with Github ?
>>
>> Just to assure you that it works, the whole of Pharo, the image itself, is
>> completely on GitHub:
>>
>>   https://github.com/pharo-project/pharo-core
>>
>> including all releases properly tagged !
>>
>> Many people, including myself (http://github.com/svenvc), have Pharo
>> Smalltalk code on GitHub.
>>
>> It is just so that currently for most people this is a mirror, not the
>> primary repository. You’ll have to try and study the different approaches
>> yourself to understand the finer points.
>>
>> Sven
>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

philippeback
At this point, I am storing some code in Bitbucket (private git repos) with FileTree + SourceTree app for the push/fetch/commit/you-name-it-command

But that's for reference storage.

For the daily work, it is a FTP server with plain Mcz files (which do contain a sources.st file internally for each package).

Works well.

And yes, having a lot of chunks is a pain in the assets when reading GitHub source folders. Not that I would want to do that anyway.

Phil
Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

kilon.alios
In reply to this post by Frank Shearar-3
yeap you definitely have a valid point there. Its not a huge loss, since smalltalk code is made to be viewed from inside the IDE anyway. The json formate used also makes it simpler to parse those files. So I can definitely see the logic behind it now.  Well I can give it a try and see how it goes from there. 


On Sat, Nov 2, 2013 at 11:37 PM, Frank Shearar <[hidden email]> wrote:
On 2 November 2013 21:29, kilon alios <[hidden email]> wrote:
> I have used Github for smalltalk projects back when I was still using
> Squeak. I just was filling out packages and manually copying the st files to
> my git repo that I then committed to my Github account. It was the manual
> process of copying and triggering the git commit that I wanted to avoid.
>
> The one thing I dont like about FSGit is that it creates multiple files per
> package. I would prefer a single file per package containing complete
> declarations of the classes for easier viewing and reviewing of code in
> Github. Is this possible or would I need to hack it ?

Filetree turns the smallest semantic units - class definitions, method
definitions, etc. - into individual files. This is, from a versioning
perspective, the right thing to do. You don't get merge conflicts that
break anything larger than an individual method/class
definition/whatever. But it does come at a very large cost in that, as
you say, it ruins GitHub as a means of conveniently browsing code.

Another option is to use Gitocello. It just dumps things out in chunk
format, as you can see here: https://github.com/frankshearar/Zippers

And as you'll see, chunk format is hideous.

frank

> On Sat, Nov 2, 2013 at 5:42 PM, Sven Van Caekenberghe <[hidden email]> wrote:
>>
>>
>> On 02 Nov 2013, at 14:59, kilon alios <[hidden email]> wrote:
>>
>> > So any information on how Pharo can be used with Github ?
>>
>> Just to assure you that it works, the whole of Pharo, the image itself, is
>> completely on GitHub:
>>
>>   https://github.com/pharo-project/pharo-core
>>
>> including all releases properly tagged !
>>
>> Many people, including myself (http://github.com/svenvc), have Pharo
>> Smalltalk code on GitHub.
>>
>> It is just so that currently for most people this is a mirror, not the
>> primary repository. You’ll have to try and study the different approaches
>> yourself to understand the finer points.
>>
>> Sven
>>
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

Goubier Thierry
In reply to this post by kilon.alios
Hi,

I've used github and work_owned git repositories as primary workplaces for more than a year. First with FileTree, then I wrote GitFileTree to make that process simpler.

Thierry

De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : samedi 2 novembre 2013 14:59
À : Pharo Development List
Objet : [Pharo-dev] Github and Pharo

So any information on how Pharo can be used with Github ? 

all I have is this


I dont need much, just basic git pull, push, clone, add and rm should do fine for starter. 

But of course I am interesting into learning what can be done, what is available , who needs help with what.  Github is something really important for me, so I am willing to contribute as much I can into bringing Pharo closer to it. 

My interest is using Github in place of smalltalkhub and squeaksource. I was planning to implement something like an App Store (not the purchase  system) for Pharo  libraries and I would love to use github as a backend to it and git of course. 
Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

kilon.alios
Thank you for your efforts , I have installed filetree using the instructions provided in the github pages for pharo 3. I was also successful into generating the local files for my packages that I have inserted to my git folder. I can manually git commit and git push them from terminal but how I do this from inside Monticello-Filetree ? 


On Sun, Nov 3, 2013 at 9:53 AM, GOUBIER Thierry <[hidden email]> wrote:
Hi,

I've used github and work_owned git repositories as primary workplaces for more than a year. First with FileTree, then I wrote GitFileTree to make that process simpler.

Thierry

De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : samedi 2 novembre 2013 14:59
À : Pharo Development List
Objet : [Pharo-dev] Github and Pharo

So any information on how Pharo can be used with Github ? 

all I have is this


I dont need much, just basic git pull, push, clone, add and rm should do fine for starter. 

But of course I am interesting into learning what can be done, what is available , who needs help with what.  Github is something really important for me, so I am willing to contribute as much I can into bringing Pharo closer to it. 

My interest is using Github in place of smalltalkhub and squeaksource. I was planning to implement something like an App Store (not the purchase  system) for Pharo  libraries and I would love to use github as a backend to it and git of course. 

Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

Goubier Thierry
This is where you use GitFileTree.

GitFileTree will do you the commit, browsing the git logs and accessing all versions of your package in the git repo (browsing, loading, changes with the same GUI and look as a smalltalkhub repo). It won't do the push, however(*). It will show you the current branch in the repo too (**).

For pharo3, GitFileTree is available with:

$ pharo Pharo.image eval --save Gofer new url: \'http://smalltalkhub.com/mc/ThierryGoubier/MonticelloFileTree-Git/main\'\; package: \'MonticelloFileTree-Git\'\; load

For pharo2, there is a group named 'MonticelloFileTree-Git' in FileTree configuration.

Feel free to ask if you have any questions or suggestions on it!

Thierry

(*) It would be easy to do commit + push in one go, but, I'm not sure I'd like to do a push each time I do a commit. I tend to prefer a push a day. Maybe something like a marker in the repository inspector to remind me I have something to push?
(**) It doesn't change branches, and there is no support for branches in Monticello... This tend to trigger bugs in MC package cache.


De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : dimanche 3 novembre 2013 10:16
À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo

Thank you for your efforts , I have installed filetree using the instructions provided in the github pages for pharo 3. I was also successful into generating the local files for my packages that I have inserted to my git folder. I can manually git commit and git push them from terminal but how I do this from inside Monticello-Filetree ? 


On Sun, Nov 3, 2013 at 9:53 AM, GOUBIER Thierry <[hidden email]> wrote:
Hi,

I've used github and work_owned git repositories as primary workplaces for more than a year. First with FileTree, then I wrote GitFileTree to make that process simpler.

Thierry

De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : samedi 2 novembre 2013 14:59
À : Pharo Development List
Objet : [Pharo-dev] Github and Pharo

So any information on how Pharo can be used with Github ? 

all I have is this


I dont need much, just basic git pull, push, clone, add and rm should do fine for starter. 

But of course I am interesting into learning what can be done, what is available , who needs help with what.  Github is something really important for me, so I am willing to contribute as much I can into bringing Pharo closer to it. 

My interest is using Github in place of smalltalkhub and squeaksource. I was planning to implement something like an App Store (not the purchase  system) for Pharo  libraries and I would love to use github as a backend to it and git of course. 

Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

kilon.alios
look like it cant find PipeableOSProcess on Macos, any idea where I can find this object ? 

UndefinedObject(Object)>>doesNotUnderstand: #command:
MCFileTreeGitRepository>>gitVersions
MCFileTreeGitRepository>>loadAncestry
MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCFileTreeGitRepository>>loadAllFileNames
MCFileTreeGitRepository>>allFileNames
MCFileTreeGitRepository>>readableFileNames
MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCWorkingCopy>>uniqueVersionNameIn:
MCWorkingCopy>>newVersionIn:
MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
WorldState>>runStepMethodsIn:



On Sun, Nov 3, 2013 at 12:41 PM, GOUBIER Thierry <[hidden email]> wrote:
This is where you use GitFileTree.

GitFileTree will do you the commit, browsing the git logs and accessing all versions of your package in the git repo (browsing, loading, changes with the same GUI and look as a smalltalkhub repo). It won't do the push, however(*). It will show you the current branch in the repo too (**).

For pharo3, GitFileTree is available with:

$ pharo Pharo.image eval --save Gofer new url: \'http://smalltalkhub.com/mc/ThierryGoubier/MonticelloFileTree-Git/main\'\; package: \'MonticelloFileTree-Git\'\; load

For pharo2, there is a group named 'MonticelloFileTree-Git' in FileTree configuration.

Feel free to ask if you have any questions or suggestions on it!

Thierry

(*) It would be easy to do commit + push in one go, but, I'm not sure I'd like to do a push each time I do a commit. I tend to prefer a push a day. Maybe something like a marker in the repository inspector to remind me I have something to push?
(**) It doesn't change branches, and there is no support for branches in Monticello... This tend to trigger bugs in MC package cache.


De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : dimanche 3 novembre 2013 10:16
À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo

Thank you for your efforts , I have installed filetree using the instructions provided in the github pages for pharo 3. I was also successful into generating the local files for my packages that I have inserted to my git folder. I can manually git commit and git push them from terminal but how I do this from inside Monticello-Filetree ? 


On Sun, Nov 3, 2013 at 9:53 AM, GOUBIER Thierry <[hidden email]> wrote:
Hi,

I've used github and work_owned git repositories as primary workplaces for more than a year. First with FileTree, then I wrote GitFileTree to make that process simpler.

Thierry

De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : samedi 2 novembre 2013 14:59
À : Pharo Development List
Objet : [Pharo-dev] Github and Pharo

So any information on how Pharo can be used with Github ? 

all I have is this


I dont need much, just basic git pull, push, clone, add and rm should do fine for starter. 

But of course I am interesting into learning what can be done, what is available , who needs help with what.  Github is something really important for me, so I am willing to contribute as much I can into bringing Pharo closer to it. 

My interest is using Github in place of smalltalkhub and squeaksource. I was planning to implement something like an App Store (not the purchase  system) for Pharo  libraries and I would love to use github as a backend to it and git of course. 


Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

Goubier Thierry
Oh sorry, the OSProcess dependency is missing :(

You can install OSProcess from the configuration browser in your Pharo image or, on the command line :

$ pharo Pharo.image config http://ss3.gemstone.com/ss/MetaRepoForPharo20 ConfigurationOfOSProcess --install=stable

Thierry


De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : dimanche 3 novembre 2013 13:30
À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo

look like it cant find PipeableOSProcess on Macos, any idea where I can find this object ? 

UndefinedObject(Object)>>doesNotUnderstand: #command:
MCFileTreeGitRepository>>gitVersions
MCFileTreeGitRepository>>loadAncestry
MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCFileTreeGitRepository>>loadAllFileNames
MCFileTreeGitRepository>>allFileNames
MCFileTreeGitRepository>>readableFileNames
MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCWorkingCopy>>uniqueVersionNameIn:
MCWorkingCopy>>newVersionIn:
MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
WorldState>>runStepMethodsIn:



On Sun, Nov 3, 2013 at 12:41 PM, GOUBIER Thierry <[hidden email]> wrote:
This is where you use GitFileTree.

GitFileTree will do you the commit, browsing the git logs and accessing all versions of your package in the git repo (browsing, loading, changes with the same GUI and look as a smalltalkhub repo). It won't do the push, however(*). It will show you the current branch in the repo too (**).

For pharo3, GitFileTree is available with:

$ pharo Pharo.image eval --save Gofer new url: \'http://smalltalkhub.com/mc/ThierryGoubier/MonticelloFileTree-Git/main\'\; package: \'MonticelloFileTree-Git\'\; load

For pharo2, there is a group named 'MonticelloFileTree-Git' in FileTree configuration.

Feel free to ask if you have any questions or suggestions on it!

Thierry

(*) It would be easy to do commit + push in one go, but, I'm not sure I'd like to do a push each time I do a commit. I tend to prefer a push a day. Maybe something like a marker in the repository inspector to remind me I have something to push?
(**) It doesn't change branches, and there is no support for branches in Monticello... This tend to trigger bugs in MC package cache.


De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : dimanche 3 novembre 2013 10:16
À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo

Thank you for your efforts , I have installed filetree using the instructions provided in the github pages for pharo 3. I was also successful into generating the local files for my packages that I have inserted to my git folder. I can manually git commit and git push them from terminal but how I do this from inside Monticello-Filetree ? 


On Sun, Nov 3, 2013 at 9:53 AM, GOUBIER Thierry <[hidden email]> wrote:
Hi,

I've used github and work_owned git repositories as primary workplaces for more than a year. First with FileTree, then I wrote GitFileTree to make that process simpler.

Thierry

De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : samedi 2 novembre 2013 14:59
À : Pharo Development List
Objet : [Pharo-dev] Github and Pharo

So any information on how Pharo can be used with Github ? 

all I have is this


I dont need much, just basic git pull, push, clone, add and rm should do fine for starter. 

But of course I am interesting into learning what can be done, what is available , who needs help with what.  Github is something really important for me, so I am willing to contribute as much I can into bringing Pharo closer to it. 

My interest is using Github in place of smalltalkhub and squeaksource. I was planning to implement something like an App Store (not the purchase  system) for Pharo  libraries and I would love to use github as a backend to it and git of course. 


Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

kilon.alios
I installed OSProcess but I get a new Error : Git Error : bad default revision 'Head' 

just to clarify i try to commit to an existing git repo that I have create manually via terminal. 


MCFileTreeGitRepository(Object)>>error:
MCFileTreeGitRepository>>gitVersions
MCFileTreeGitRepository>>loadAncestry
MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCFileTreeGitRepository>>loadAllFileNames
MCFileTreeGitRepository>>allFileNames
MCFileTreeGitRepository>>readableFileNames
MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCWorkingCopy>>uniqueVersionNameIn:
MCWorkingCopy>>newVersionIn:
MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
WorldState>>runStepMethodsIn:



On Sun, Nov 3, 2013 at 2:40 PM, GOUBIER Thierry <[hidden email]> wrote:
Oh sorry, the OSProcess dependency is missing :(

You can install OSProcess from the configuration browser in your Pharo image or, on the command line :

$ pharo Pharo.image config http://ss3.gemstone.com/ss/MetaRepoForPharo20 ConfigurationOfOSProcess --install=stable

Thierry


De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : dimanche 3 novembre 2013 13:30

À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo

look like it cant find PipeableOSProcess on Macos, any idea where I can find this object ? 

UndefinedObject(Object)>>doesNotUnderstand: #command:
MCFileTreeGitRepository>>gitVersions
MCFileTreeGitRepository>>loadAncestry
MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCFileTreeGitRepository>>loadAllFileNames
MCFileTreeGitRepository>>allFileNames
MCFileTreeGitRepository>>readableFileNames
MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCWorkingCopy>>uniqueVersionNameIn:
MCWorkingCopy>>newVersionIn:
MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
WorldState>>runStepMethodsIn:



On Sun, Nov 3, 2013 at 12:41 PM, GOUBIER Thierry <[hidden email]> wrote:
This is where you use GitFileTree.

GitFileTree will do you the commit, browsing the git logs and accessing all versions of your package in the git repo (browsing, loading, changes with the same GUI and look as a smalltalkhub repo). It won't do the push, however(*). It will show you the current branch in the repo too (**).

For pharo3, GitFileTree is available with:

$ pharo Pharo.image eval --save Gofer new url: \'http://smalltalkhub.com/mc/ThierryGoubier/MonticelloFileTree-Git/main\'\; package: \'MonticelloFileTree-Git\'\; load

For pharo2, there is a group named 'MonticelloFileTree-Git' in FileTree configuration.

Feel free to ask if you have any questions or suggestions on it!

Thierry

(*) It would be easy to do commit + push in one go, but, I'm not sure I'd like to do a push each time I do a commit. I tend to prefer a push a day. Maybe something like a marker in the repository inspector to remind me I have something to push?
(**) It doesn't change branches, and there is no support for branches in Monticello... This tend to trigger bugs in MC package cache.


De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : dimanche 3 novembre 2013 10:16
À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo

Thank you for your efforts , I have installed filetree using the instructions provided in the github pages for pharo 3. I was also successful into generating the local files for my packages that I have inserted to my git folder. I can manually git commit and git push them from terminal but how I do this from inside Monticello-Filetree ? 


On Sun, Nov 3, 2013 at 9:53 AM, GOUBIER Thierry <[hidden email]> wrote:
Hi,

I've used github and work_owned git repositories as primary workplaces for more than a year. First with FileTree, then I wrote GitFileTree to make that process simpler.

Thierry

De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : samedi 2 novembre 2013 14:59
À : Pharo Development List
Objet : [Pharo-dev] Github and Pharo

So any information on how Pharo can be used with Github ? 

all I have is this


I dont need much, just basic git pull, push, clone, add and rm should do fine for starter. 

But of course I am interesting into learning what can be done, what is available , who needs help with what.  Github is something really important for me, so I am willing to contribute as much I can into bringing Pharo closer to it. 

My interest is using Github in place of smalltalkhub and squeaksource. I was planning to implement something like an App Store (not the purchase  system) for Pharo  libraries and I would love to use github as a backend to it and git of course. 



Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

kilon.alios
ok it was my bad, i had not correctly initialized my git repo. Now it works fine. Thanks for the help this awesome. 


On Sun, Nov 3, 2013 at 2:56 PM, kilon alios <[hidden email]> wrote:
I installed OSProcess but I get a new Error : Git Error : bad default revision 'Head' 

just to clarify i try to commit to an existing git repo that I have create manually via terminal. 


MCFileTreeGitRepository(Object)>>error:
MCFileTreeGitRepository>>gitVersions
MCFileTreeGitRepository>>loadAncestry
MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCFileTreeGitRepository>>loadAllFileNames
MCFileTreeGitRepository>>allFileNames
MCFileTreeGitRepository>>readableFileNames
MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCWorkingCopy>>uniqueVersionNameIn:
MCWorkingCopy>>newVersionIn:
MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
WorldState>>runStepMethodsIn:



On Sun, Nov 3, 2013 at 2:40 PM, GOUBIER Thierry <[hidden email]> wrote:
Oh sorry, the OSProcess dependency is missing :(

You can install OSProcess from the configuration browser in your Pharo image or, on the command line :

$ pharo Pharo.image config http://ss3.gemstone.com/ss/MetaRepoForPharo20 ConfigurationOfOSProcess --install=stable

Thierry


De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : dimanche 3 novembre 2013 13:30

À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo

look like it cant find PipeableOSProcess on Macos, any idea where I can find this object ? 

UndefinedObject(Object)>>doesNotUnderstand: #command:
MCFileTreeGitRepository>>gitVersions
MCFileTreeGitRepository>>loadAncestry
MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCFileTreeGitRepository>>loadAllFileNames
MCFileTreeGitRepository>>allFileNames
MCFileTreeGitRepository>>readableFileNames
MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCWorkingCopy>>uniqueVersionNameIn:
MCWorkingCopy>>newVersionIn:
MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
WorldState>>runStepMethodsIn:



On Sun, Nov 3, 2013 at 12:41 PM, GOUBIER Thierry <[hidden email]> wrote:
This is where you use GitFileTree.

GitFileTree will do you the commit, browsing the git logs and accessing all versions of your package in the git repo (browsing, loading, changes with the same GUI and look as a smalltalkhub repo). It won't do the push, however(*). It will show you the current branch in the repo too (**).

For pharo3, GitFileTree is available with:

$ pharo Pharo.image eval --save Gofer new url: \'http://smalltalkhub.com/mc/ThierryGoubier/MonticelloFileTree-Git/main\'\; package: \'MonticelloFileTree-Git\'\; load

For pharo2, there is a group named 'MonticelloFileTree-Git' in FileTree configuration.

Feel free to ask if you have any questions or suggestions on it!

Thierry

(*) It would be easy to do commit + push in one go, but, I'm not sure I'd like to do a push each time I do a commit. I tend to prefer a push a day. Maybe something like a marker in the repository inspector to remind me I have something to push?
(**) It doesn't change branches, and there is no support for branches in Monticello... This tend to trigger bugs in MC package cache.


De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : dimanche 3 novembre 2013 10:16
À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo

Thank you for your efforts , I have installed filetree using the instructions provided in the github pages for pharo 3. I was also successful into generating the local files for my packages that I have inserted to my git folder. I can manually git commit and git push them from terminal but how I do this from inside Monticello-Filetree ? 


On Sun, Nov 3, 2013 at 9:53 AM, GOUBIER Thierry <[hidden email]> wrote:
Hi,

I've used github and work_owned git repositories as primary workplaces for more than a year. First with FileTree, then I wrote GitFileTree to make that process simpler.

Thierry

De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : samedi 2 novembre 2013 14:59
À : Pharo Development List
Objet : [Pharo-dev] Github and Pharo

So any information on how Pharo can be used with Github ? 

all I have is this


I dont need much, just basic git pull, push, clone, add and rm should do fine for starter. 

But of course I am interesting into learning what can be done, what is available , who needs help with what.  Github is something really important for me, so I am willing to contribute as much I can into bringing Pharo closer to it. 

My interest is using Github in place of smalltalkhub and squeaksource. I was planning to implement something like an App Store (not the purchase  system) for Pharo  libraries and I would love to use github as a backend to it and git of course. 




Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

Stéphane Ducasse
one of you should write a blog entry on Git support and the process :)
Because we will get this repeat that often.

Stef


On Nov 3, 2013, at 2:11 PM, kilon alios <[hidden email]> wrote:

ok it was my bad, i had not correctly initialized my git repo. Now it works fine. Thanks for the help this awesome. 


On Sun, Nov 3, 2013 at 2:56 PM, kilon alios <[hidden email]> wrote:
I installed OSProcess but I get a new Error : Git Error : bad default revision 'Head' 

just to clarify i try to commit to an existing git repo that I have create manually via terminal. 


MCFileTreeGitRepository(Object)>>error:
MCFileTreeGitRepository>>gitVersions
MCFileTreeGitRepository>>loadAncestry
MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCFileTreeGitRepository>>loadAllFileNames
MCFileTreeGitRepository>>allFileNames
MCFileTreeGitRepository>>readableFileNames
MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCWorkingCopy>>uniqueVersionNameIn:
MCWorkingCopy>>newVersionIn:
MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
WorldState>>runStepMethodsIn:



On Sun, Nov 3, 2013 at 2:40 PM, GOUBIER Thierry <[hidden email]> wrote:
Oh sorry, the OSProcess dependency is missing :(

You can install OSProcess from the configuration browser in your Pharo image or, on the command line :

$ pharo Pharo.image config http://ss3.gemstone.com/ss/MetaRepoForPharo20 ConfigurationOfOSProcess --install=stable

Thierry


De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : dimanche 3 novembre 2013 13:30

À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo

look like it cant find PipeableOSProcess on Macos, any idea where I can find this object ? 

UndefinedObject(Object)>>doesNotUnderstand: #command:
MCFileTreeGitRepository>>gitVersions
MCFileTreeGitRepository>>loadAncestry
MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCFileTreeGitRepository>>loadAllFileNames
MCFileTreeGitRepository>>allFileNames
MCFileTreeGitRepository>>readableFileNames
MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCWorkingCopy>>uniqueVersionNameIn:
MCWorkingCopy>>newVersionIn:
MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
WorldState>>runStepMethodsIn:



On Sun, Nov 3, 2013 at 12:41 PM, GOUBIER Thierry <[hidden email]> wrote:
This is where you use GitFileTree.

GitFileTree will do you the commit, browsing the git logs and accessing all versions of your package in the git repo (browsing, loading, changes with the same GUI and look as a smalltalkhub repo). It won't do the push, however(*). It will show you the current branch in the repo too (**).

For pharo3, GitFileTree is available with:

$ pharo Pharo.image eval --save Gofer new url: \'http://smalltalkhub.com/mc/ThierryGoubier/MonticelloFileTree-Git/main\'\; package: \'MonticelloFileTree-Git\'\; load

For pharo2, there is a group named 'MonticelloFileTree-Git' in FileTree configuration.

Feel free to ask if you have any questions or suggestions on it!

Thierry

(*) It would be easy to do commit + push in one go, but, I'm not sure I'd like to do a push each time I do a commit. I tend to prefer a push a day. Maybe something like a marker in the repository inspector to remind me I have something to push?
(**) It doesn't change branches, and there is no support for branches in Monticello... This tend to trigger bugs in MC package cache.


De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : dimanche 3 novembre 2013 10:16
À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo

Thank you for your efforts , I have installed filetree using the instructions provided in the github pages for pharo 3. I was also successful into generating the local files for my packages that I have inserted to my git folder. I can manually git commit and git push them from terminal but how I do this from inside Monticello-Filetree ? 


On Sun, Nov 3, 2013 at 9:53 AM, GOUBIER Thierry <[hidden email]> wrote:
Hi,

I've used github and work_owned git repositories as primary workplaces for more than a year. First with FileTree, then I wrote GitFileTree to make that process simpler.

Thierry

De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : samedi 2 novembre 2013 14:59
À : Pharo Development List
Objet : [Pharo-dev] Github and Pharo

So any information on how Pharo can be used with Github ? 

all I have is this


I dont need much, just basic git pull, push, clone, add and rm should do fine for starter. 

But of course I am interesting into learning what can be done, what is available , who needs help with what.  Github is something really important for me, so I am willing to contribute as much I can into bringing Pharo closer to it. 

My interest is using Github in place of smalltalkhub and squeaksource. I was planning to implement something like an App Store (not the purchase  system) for Pharo  libraries and I would love to use github as a backend to it and git of course. 





Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

Tudor Girba-2
Exactly. This would be a valuable contribution. Screencasts would be very helpful as well.

Doru




On Mon, Nov 4, 2013 at 12:04 AM, Stéphane Ducasse <[hidden email]> wrote:
one of you should write a blog entry on Git support and the process :)
Because we will get this repeat that often.

Stef



On Nov 3, 2013, at 2:11 PM, kilon alios <[hidden email]> wrote:

ok it was my bad, i had not correctly initialized my git repo. Now it works fine. Thanks for the help this awesome. 


On Sun, Nov 3, 2013 at 2:56 PM, kilon alios <[hidden email]> wrote:
I installed OSProcess but I get a new Error : Git Error : bad default revision 'Head' 

just to clarify i try to commit to an existing git repo that I have create manually via terminal. 


MCFileTreeGitRepository(Object)>>error:
MCFileTreeGitRepository>>gitVersions
MCFileTreeGitRepository>>loadAncestry
MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCFileTreeGitRepository>>loadAllFileNames
MCFileTreeGitRepository>>allFileNames
MCFileTreeGitRepository>>readableFileNames
MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCWorkingCopy>>uniqueVersionNameIn:
MCWorkingCopy>>newVersionIn:
MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
WorldState>>runStepMethodsIn:



On Sun, Nov 3, 2013 at 2:40 PM, GOUBIER Thierry <[hidden email]> wrote:
Oh sorry, the OSProcess dependency is missing :(

You can install OSProcess from the configuration browser in your Pharo image or, on the command line :

$ pharo Pharo.image config http://ss3.gemstone.com/ss/MetaRepoForPharo20 ConfigurationOfOSProcess --install=stable

Thierry


De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : dimanche 3 novembre 2013 13:30

À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo

look like it cant find PipeableOSProcess on Macos, any idea where I can find this object ? 

UndefinedObject(Object)>>doesNotUnderstand: #command:
MCFileTreeGitRepository>>gitVersions
MCFileTreeGitRepository>>loadAncestry
MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCFileTreeGitRepository>>loadAllFileNames
MCFileTreeGitRepository>>allFileNames
MCFileTreeGitRepository>>readableFileNames
MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCWorkingCopy>>uniqueVersionNameIn:
MCWorkingCopy>>newVersionIn:
MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
WorldState>>runStepMethodsIn:



On Sun, Nov 3, 2013 at 12:41 PM, GOUBIER Thierry <[hidden email]> wrote:
This is where you use GitFileTree.

GitFileTree will do you the commit, browsing the git logs and accessing all versions of your package in the git repo (browsing, loading, changes with the same GUI and look as a smalltalkhub repo). It won't do the push, however(*). It will show you the current branch in the repo too (**).

For pharo3, GitFileTree is available with:

$ pharo Pharo.image eval --save Gofer new url: \'http://smalltalkhub.com/mc/ThierryGoubier/MonticelloFileTree-Git/main\'\; package: \'MonticelloFileTree-Git\'\; load

For pharo2, there is a group named 'MonticelloFileTree-Git' in FileTree configuration.

Feel free to ask if you have any questions or suggestions on it!

Thierry

(*) It would be easy to do commit + push in one go, but, I'm not sure I'd like to do a push each time I do a commit. I tend to prefer a push a day. Maybe something like a marker in the repository inspector to remind me I have something to push?
(**) It doesn't change branches, and there is no support for branches in Monticello... This tend to trigger bugs in MC package cache.


De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : dimanche 3 novembre 2013 10:16
À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo

Thank you for your efforts , I have installed filetree using the instructions provided in the github pages for pharo 3. I was also successful into generating the local files for my packages that I have inserted to my git folder. I can manually git commit and git push them from terminal but how I do this from inside Monticello-Filetree ? 


On Sun, Nov 3, 2013 at 9:53 AM, GOUBIER Thierry <[hidden email]> wrote:
Hi,

I've used github and work_owned git repositories as primary workplaces for more than a year. First with FileTree, then I wrote GitFileTree to make that process simpler.

Thierry

De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : samedi 2 novembre 2013 14:59
À : Pharo Development List
Objet : [Pharo-dev] Github and Pharo

So any information on how Pharo can be used with Github ? 

all I have is this


I dont need much, just basic git pull, push, clone, add and rm should do fine for starter. 

But of course I am interesting into learning what can be done, what is available , who needs help with what.  Github is something really important for me, so I am willing to contribute as much I can into bringing Pharo closer to it. 

My interest is using Github in place of smalltalkhub and squeaksource. I was planning to implement something like an App Store (not the purchase  system) for Pharo  libraries and I would love to use github as a backend to it and git of course. 








--

"Every thing has its own flow"
Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

kilon.alios
I can document this , but not before I get really familiar with the process. Also I have not forgotten my promise to document Nativeboost, expect a blog post about that really soon.

I tried to use this in windows and I get a failure

ExternalWindowsOSProcess class(Object)>>doesNotUnderstand: #defaultShellPath
PipeableOSProcess class>>command:environment:workingDir:input:output:error:errorPipelineStream:shellSyntax:
PipeableOSProcess class>>command:environment:workingDir:input:output:error:errorPipelineStream:
PipeableOSProcess class>>command:
MCFileTreeGitRepository>>gitVersions
MCFileTreeGitRepository>>loadAncestry
MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCFileTreeGitRepository>>loadAllFileNames
MCFileTreeGitRepository>>allFileNames
MCFileTreeGitRepository>>readableFileNames
MCFileTreeGitRepository>>packageDescriptionsFromReadableFileNames
MCFileTreeGitRepository(MCFileBasedRepository)>>retrieveVersionsWithPackageNames:
MCFileTreeGitRepositoryInspector(MCFileRepositoryInspector)>>refresh
MCFileTreeGitRepositoryInspector(MCFileRepositoryInspector)>>setRepository:workingCopy: in Block: [ ...
BlockClosure>>newProcess in Block: [ ...

I have loaded both OSProcess and OSWindows , are there other dependencies on Windows I need to load ? 

 


On Mon, Nov 4, 2013 at 6:46 AM, Tudor Girba <[hidden email]> wrote:
Exactly. This would be a valuable contribution. Screencasts would be very helpful as well.

Doru




On Mon, Nov 4, 2013 at 12:04 AM, Stéphane Ducasse <[hidden email]> wrote:
one of you should write a blog entry on Git support and the process :)
Because we will get this repeat that often.

Stef



On Nov 3, 2013, at 2:11 PM, kilon alios <[hidden email]> wrote:

ok it was my bad, i had not correctly initialized my git repo. Now it works fine. Thanks for the help this awesome. 


On Sun, Nov 3, 2013 at 2:56 PM, kilon alios <[hidden email]> wrote:
I installed OSProcess but I get a new Error : Git Error : bad default revision 'Head' 

just to clarify i try to commit to an existing git repo that I have create manually via terminal. 


MCFileTreeGitRepository(Object)>>error:
MCFileTreeGitRepository>>gitVersions
MCFileTreeGitRepository>>loadAncestry
MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCFileTreeGitRepository>>loadAllFileNames
MCFileTreeGitRepository>>allFileNames
MCFileTreeGitRepository>>readableFileNames
MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCWorkingCopy>>uniqueVersionNameIn:
MCWorkingCopy>>newVersionIn:
MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
WorldState>>runStepMethodsIn:



On Sun, Nov 3, 2013 at 2:40 PM, GOUBIER Thierry <[hidden email]> wrote:
Oh sorry, the OSProcess dependency is missing :(

You can install OSProcess from the configuration browser in your Pharo image or, on the command line :

$ pharo Pharo.image config http://ss3.gemstone.com/ss/MetaRepoForPharo20 ConfigurationOfOSProcess --install=stable

Thierry


De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : dimanche 3 novembre 2013 13:30

À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo

look like it cant find PipeableOSProcess on Macos, any idea where I can find this object ? 

UndefinedObject(Object)>>doesNotUnderstand: #command:
MCFileTreeGitRepository>>gitVersions
MCFileTreeGitRepository>>loadAncestry
MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCFileTreeGitRepository>>loadAllFileNames
MCFileTreeGitRepository>>allFileNames
MCFileTreeGitRepository>>readableFileNames
MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
MCWorkingCopy>>uniqueVersionNameIn:
MCWorkingCopy>>newVersionIn:
MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
WorldState>>runStepMethodsIn:



On Sun, Nov 3, 2013 at 12:41 PM, GOUBIER Thierry <[hidden email]> wrote:
This is where you use GitFileTree.

GitFileTree will do you the commit, browsing the git logs and accessing all versions of your package in the git repo (browsing, loading, changes with the same GUI and look as a smalltalkhub repo). It won't do the push, however(*). It will show you the current branch in the repo too (**).

For pharo3, GitFileTree is available with:

$ pharo Pharo.image eval --save Gofer new url: \'http://smalltalkhub.com/mc/ThierryGoubier/MonticelloFileTree-Git/main\'\; package: \'MonticelloFileTree-Git\'\; load

For pharo2, there is a group named 'MonticelloFileTree-Git' in FileTree configuration.

Feel free to ask if you have any questions or suggestions on it!

Thierry

(*) It would be easy to do commit + push in one go, but, I'm not sure I'd like to do a push each time I do a commit. I tend to prefer a push a day. Maybe something like a marker in the repository inspector to remind me I have something to push?
(**) It doesn't change branches, and there is no support for branches in Monticello... This tend to trigger bugs in MC package cache.


De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : dimanche 3 novembre 2013 10:16
À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo

Thank you for your efforts , I have installed filetree using the instructions provided in the github pages for pharo 3. I was also successful into generating the local files for my packages that I have inserted to my git folder. I can manually git commit and git push them from terminal but how I do this from inside Monticello-Filetree ? 


On Sun, Nov 3, 2013 at 9:53 AM, GOUBIER Thierry <[hidden email]> wrote:
Hi,

I've used github and work_owned git repositories as primary workplaces for more than a year. First with FileTree, then I wrote GitFileTree to make that process simpler.

Thierry

De : Pharo-dev [[hidden email]] de la part de kilon alios [[hidden email]]
Date d'envoi : samedi 2 novembre 2013 14:59
À : Pharo Development List
Objet : [Pharo-dev] Github and Pharo

So any information on how Pharo can be used with Github ? 

all I have is this


I dont need much, just basic git pull, push, clone, add and rm should do fine for starter. 

But of course I am interesting into learning what can be done, what is available , who needs help with what.  Github is something really important for me, so I am willing to contribute as much I can into bringing Pharo closer to it. 

My interest is using Github in place of smalltalkhub and squeaksource. I was planning to implement something like an App Store (not the purchase  system) for Pharo  libraries and I would love to use github as a backend to it and git of course. 








--

"Every thing has its own flow"

Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

Goubier Thierry
In reply to this post by Stéphane Ducasse
Hi Stef,

I don't have a blog ;) yet. But yes, I think I should write things up.

Thierry

Le 04/11/2013 00:04, Stéphane Ducasse a écrit :

> one of you should write a blog entry on Git support and the process :)
> Because we will get this repeat that often.
>
> Stef
>
>
> On Nov 3, 2013, at 2:11 PM, kilon alios <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>> ok it was my bad, i had not correctly initialized my git repo. Now it
>> works fine. Thanks for the help this awesome.
>>
>>
>> On Sun, Nov 3, 2013 at 2:56 PM, kilon alios <[hidden email]
>> <mailto:[hidden email]>> wrote:
>>
>>     I installed OSProcess but I get a new Error : Git Error : bad
>>     default revision 'Head'
>>
>>     just to clarify i try to commit to an existing git repo that I
>>     have create manually via terminal.
>>
>>
>>     MCFileTreeGitRepository(Object)>>error:
>>     MCFileTreeGitRepository>>gitVersions
>>     MCFileTreeGitRepository>>loadAncestry
>>     MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
>>     BlockClosure>>cull:
>>     Job>>run in Block: [ result := block cull: self ]
>>     BlockClosure>>on:do:
>>     Job>>run in Block: [ ...
>>     BlockClosure>>ensure:
>>     Job>>run
>>     MorphicUIManager(UIManager)>>displayProgress:from:to:during:
>>     ByteString(String)>>displayProgressFrom:to:during:
>>     MCFileTreeGitRepository>>loadAllFileNames
>>     MCFileTreeGitRepository>>allFileNames
>>     MCFileTreeGitRepository>>readableFileNames
>>     MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
>>     MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
>>     MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
>>     BlockClosure>>cull:
>>     Job>>run in Block: [ result := block cull: self ]
>>     BlockClosure>>on:do:
>>     Job>>run in Block: [ ...
>>     BlockClosure>>ensure:
>>     Job>>run
>>     MorphicUIManager(UIManager)>>displayProgress:from:to:during:
>>     ByteString(String)>>displayProgressFrom:to:during:
>>     MCWorkingCopy>>uniqueVersionNameIn:
>>     MCWorkingCopy>>newVersionIn:
>>     MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
>>     WorldState>>runStepMethodsIn:
>>
>>
>>
>>     On Sun, Nov 3, 2013 at 2:40 PM, GOUBIER Thierry
>>     <[hidden email] <mailto:[hidden email]>> wrote:
>>
>>         Oh sorry, the OSProcess dependency is missing :(
>>
>>         You can install OSProcess from the configuration browser in
>>         your Pharo image or, on the command line :
>>
>>         $ pharo Pharo.image config
>>         http://ss3.gemstone.com/ss/MetaRepoForPharo20
>>         ConfigurationOfOSProcess --install=stable
>>
>>         Thierry
>>
>>         ------------------------------------------------------------------------
>>         *De :* Pharo-dev [[hidden email]
>>         <mailto:[hidden email]>] de la part de
>>         kilon alios [[hidden email] <mailto:[hidden email]>]
>>         *Date d'envoi :* dimanche 3 novembre 2013 13:30
>>
>>         *À :* Pharo Development List
>>         *Objet :* Re: [Pharo-dev] Github and Pharo
>>
>>         look like it cant find PipeableOSProcess on Macos, any idea
>>         where I can find this object ?
>>
>>         UndefinedObject(Object)>>doesNotUnderstand: #command:
>>         MCFileTreeGitRepository>>gitVersions
>>         MCFileTreeGitRepository>>loadAncestry
>>         MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
>>         BlockClosure>>cull:
>>         Job>>run in Block: [ result := block cull: self ]
>>         BlockClosure>>on:do:
>>         Job>>run in Block: [ ...
>>         BlockClosure>>ensure:
>>         Job>>run
>>         MorphicUIManager(UIManager)>>displayProgress:from:to:during:
>>         ByteString(String)>>displayProgressFrom:to:during:
>>         MCFileTreeGitRepository>>loadAllFileNames
>>         MCFileTreeGitRepository>>allFileNames
>>         MCFileTreeGitRepository>>readableFileNames
>>         MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
>>         MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
>>         MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
>>         BlockClosure>>cull:
>>         Job>>run in Block: [ result := block cull: self ]
>>         BlockClosure>>on:do:
>>         Job>>run in Block: [ ...
>>         BlockClosure>>ensure:
>>         Job>>run
>>         MorphicUIManager(UIManager)>>displayProgress:from:to:during:
>>         ByteString(String)>>displayProgressFrom:to:during:
>>         MCWorkingCopy>>uniqueVersionNameIn:
>>         MCWorkingCopy>>newVersionIn:
>>         MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
>>         WorldState>>runStepMethodsIn:
>>
>>
>>
>>         On Sun, Nov 3, 2013 at 12:41 PM, GOUBIER Thierry
>>         <[hidden email] <mailto:[hidden email]>> wrote:
>>
>>             This is where you use GitFileTree.
>>
>>             GitFileTree will do you the commit, browsing the git logs
>>             and accessing all versions of your package in the git repo
>>             (browsing, loading, changes with the same GUI and look as
>>             a smalltalkhub repo). It won't do the push, however(*). It
>>             will show you the current branch in the repo too (**).
>>
>>             For pharo3, GitFileTree is available with:
>>
>>             $ pharo Pharo.image eval --save Gofer new url:
>>             \'http://smalltalkhub.com/mc/ThierryGoubier/MonticelloFileTree-Git/main\
>>             <http://smalltalkhub.com/mc/ThierryGoubier/MonticelloFileTree-Git/main%5C>'\;
>>             package: \'MonticelloFileTree-Git\'\; load
>>
>>             For pharo2, there is a group named
>>             'MonticelloFileTree-Git' in FileTree configuration.
>>
>>             Feel free to ask if you have any questions or suggestions
>>             on it!
>>
>>             Thierry
>>
>>             (*) It would be easy to do commit + push in one go, but,
>>             I'm not sure I'd like to do a push each time I do a
>>             commit. I tend to prefer a push a day. Maybe something
>>             like a marker in the repository inspector to remind me I
>>             have something to push?
>>             (**) It doesn't change branches, and there is no support
>>             for branches in Monticello... This tend to trigger bugs in
>>             MC package cache.
>>
>>             ------------------------------------------------------------------------
>>             *De :* Pharo-dev [[hidden email]
>>             <mailto:[hidden email]>] de la part de
>>             kilon alios [[hidden email]
>>             <mailto:[hidden email]>]
>>             *Date d'envoi :* dimanche 3 novembre 2013 10:16
>>             *À :* Pharo Development List
>>             *Objet :* Re: [Pharo-dev] Github and Pharo
>>
>>             Thank you for your efforts , I have installed filetree
>>             using the instructions provided in the github pages for
>>             pharo 3. I was also successful into generating the local
>>             files for my packages that I have inserted to my git
>>             folder. I can manually git commit and git push them from
>>             terminal but how I do this from inside Monticello-Filetree ?
>>
>>
>>             On Sun, Nov 3, 2013 at 9:53 AM, GOUBIER Thierry
>>             <[hidden email] <mailto:[hidden email]>>
>>             wrote:
>>
>>                 Hi,
>>
>>                 I've used github and work_owned git repositories as
>>                 primary workplaces for more than a year. First with
>>                 FileTree, then I wrote GitFileTree to make that
>>                 process simpler.
>>
>>                 Thierry
>>                 ------------------------------------------------------------------------
>>                 *De :* Pharo-dev [[hidden email]
>>                 <mailto:[hidden email]>] de la part
>>                 de kilon alios [[hidden email]
>>                 <mailto:[hidden email]>]
>>                 *Date d'envoi :* samedi 2 novembre 2013 14:59
>>                 *À :* Pharo Development List
>>                 *Objet :* [Pharo-dev] Github and Pharo
>>
>>                 So any information on how Pharo can be used with Github ?
>>
>>                 all I have is this
>>
>>                 https://github.com/dalehenrich/FSGit
>>
>>                 I dont need much, just basic git pull, push, clone,
>>                 add and rm should do fine for starter.
>>
>>                 But of course I am interesting into learning what can
>>                 be done, what is available , who needs help with what.
>>                  Github is something really important for me, so I am
>>                 willing to contribute as much I can into bringing
>>                 Pharo closer to it.
>>
>>                 My interest is using Github in place of smalltalkhub
>>                 and squeaksource. I was planning to implement
>>                 something like an App Store (not the purchase  system)
>>                 for Pharo  libraries and I would love to use github as
>>                 a backend to it and git of course.
>>
>>
>>
>>
>>
>

--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95

Reply | Threaded
Open this post in threaded view
|

Re: Github and Pharo

Goubier Thierry
In reply to this post by kilon.alios

So far, from what I see, this is an OSProcess issue when under Windows,
so it's a bit unfamiliar territory to me.

The design of MonticelloFileTree-Git is to call the 'git' command line
to do things, and it rely on OSProcess to provide the primitive. This
was by far the fastest way to get things done :)

Thierry

Le 04/11/2013 10:49, kilon alios a écrit :

> I can document this , but not before I get really familiar with the
> process. Also I have not forgotten my promise to document Nativeboost,
> expect a blog post about that really soon.
>
> I tried to use this in windows and I get a failure
>
> ExternalWindowsOSProcess class(Object)>>doesNotUnderstand: #defaultShellPath
> PipeableOSProcess
> class>>command:environment:workingDir:input:output:error:errorPipelineStream:shellSyntax:
> PipeableOSProcess
> class>>command:environment:workingDir:input:output:error:errorPipelineStream:
> PipeableOSProcess class>>command:
> MCFileTreeGitRepository>>gitVersions
> MCFileTreeGitRepository>>loadAncestry
> MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar | ...
> BlockClosure>>cull:
> Job>>run in Block: [ result := block cull: self ]
> BlockClosure>>on:do:
> Job>>run in Block: [ ...
> BlockClosure>>ensure:
> Job>>run
> MorphicUIManager(UIManager)>>displayProgress:from:to:during:
> ByteString(String)>>displayProgressFrom:to:during:
> MCFileTreeGitRepository>>loadAllFileNames
> MCFileTreeGitRepository>>allFileNames
> MCFileTreeGitRepository>>readableFileNames
> MCFileTreeGitRepository>>packageDescriptionsFromReadableFileNames
> MCFileTreeGitRepository(MCFileBasedRepository)>>retrieveVersionsWithPackageNames:
> MCFileTreeGitRepositoryInspector(MCFileRepositoryInspector)>>refresh
> MCFileTreeGitRepositoryInspector(MCFileRepositoryInspector)>>setRepository:workingCopy:
> in Block: [ ...
> BlockClosure>>newProcess in Block: [ ...
>
> I have loaded both OSProcess and OSWindows , are there other
> dependencies on Windows I need to load ?
>
>
>
> On Mon, Nov 4, 2013 at 6:46 AM, Tudor Girba <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Exactly. This would be a valuable contribution. Screencasts would be
>     very helpful as well.
>
>     Doru
>
>
>
>
>     On Mon, Nov 4, 2013 at 12:04 AM, Stéphane Ducasse
>     <[hidden email] <mailto:[hidden email]>> wrote:
>
>         one of you should write a blog entry on Git support and the
>         process :)
>         Because we will get this repeat that often.
>
>         Stef
>
>
>
>         On Nov 3, 2013, at 2:11 PM, kilon alios <[hidden email]
>         <mailto:[hidden email]>> wrote:
>
>>         ok it was my bad, i had not correctly initialized my git repo.
>>         Now it works fine. Thanks for the help this awesome.
>>
>>
>>         On Sun, Nov 3, 2013 at 2:56 PM, kilon alios
>>         <[hidden email] <mailto:[hidden email]>> wrote:
>>
>>             I installed OSProcess but I get a new Error : Git Error :
>>             bad default revision 'Head'
>>
>>             just to clarify i try to commit to an existing git repo
>>             that I have create manually via terminal.
>>
>>
>>             MCFileTreeGitRepository(Object)>>error:
>>             MCFileTreeGitRepository>>gitVersions
>>             MCFileTreeGitRepository>>loadAncestry
>>             MCFileTreeGitRepository>>loadAllFileNames in Block: [ :bar
>>             | ...
>>             BlockClosure>>cull:
>>             Job>>run in Block: [ result := block cull: self ]
>>             BlockClosure>>on:do:
>>             Job>>run in Block: [ ...
>>             BlockClosure>>ensure:
>>             Job>>run
>>             MorphicUIManager(UIManager)>>displayProgress:from:to:during:
>>             ByteString(String)>>displayProgressFrom:to:during:
>>             MCFileTreeGitRepository>>loadAllFileNames
>>             MCFileTreeGitRepository>>allFileNames
>>             MCFileTreeGitRepository>>readableFileNames
>>             MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
>>             MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
>>             MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
>>             BlockClosure>>cull:
>>             Job>>run in Block: [ result := block cull: self ]
>>             BlockClosure>>on:do:
>>             Job>>run in Block: [ ...
>>             BlockClosure>>ensure:
>>             Job>>run
>>             MorphicUIManager(UIManager)>>displayProgress:from:to:during:
>>             ByteString(String)>>displayProgressFrom:to:during:
>>             MCWorkingCopy>>uniqueVersionNameIn:
>>             MCWorkingCopy>>newVersionIn:
>>             MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
>>             WorldState>>runStepMethodsIn:
>>
>>
>>
>>             On Sun, Nov 3, 2013 at 2:40 PM, GOUBIER Thierry
>>             <[hidden email] <mailto:[hidden email]>>
>>             wrote:
>>
>>                 Oh sorry, the OSProcess dependency is missing :(
>>
>>                 You can install OSProcess from the configuration
>>                 browser in your Pharo image or, on the command line :
>>
>>                 $ pharo Pharo.image config
>>                 http://ss3.gemstone.com/ss/MetaRepoForPharo20
>>                 ConfigurationOfOSProcess --install=stable
>>
>>                 Thierry
>>
>>                 ------------------------------------------------------------------------
>>                 *De :* Pharo-dev [[hidden email]
>>                 <mailto:[hidden email]>] de la part
>>                 de kilon alios [[hidden email]
>>                 <mailto:[hidden email]>]
>>                 *Date d'envoi :* dimanche 3 novembre 2013 13:30
>>
>>                 *À :* Pharo Development List
>>                 *Objet :* Re: [Pharo-dev] Github and Pharo
>>
>>                 look like it cant find PipeableOSProcess on Macos, any
>>                 idea where I can find this object ?
>>
>>                 UndefinedObject(Object)>>doesNotUnderstand: #command:
>>                 MCFileTreeGitRepository>>gitVersions
>>                 MCFileTreeGitRepository>>loadAncestry
>>                 MCFileTreeGitRepository>>loadAllFileNames in Block: [
>>                 :bar | ...
>>                 BlockClosure>>cull:
>>                 Job>>run in Block: [ result := block cull: self ]
>>                 BlockClosure>>on:do:
>>                 Job>>run in Block: [ ...
>>                 BlockClosure>>ensure:
>>                 Job>>run
>>                 MorphicUIManager(UIManager)>>displayProgress:from:to:during:
>>                 ByteString(String)>>displayProgressFrom:to:during:
>>                 MCFileTreeGitRepository>>loadAllFileNames
>>                 MCFileTreeGitRepository>>allFileNames
>>                 MCFileTreeGitRepository>>readableFileNames
>>                 MCFileTreeGitRepository(MCFileTreeRepository)>>allFileNamesForVersionNamed:
>>                 MCFileTreeGitRepository(MCDirectoryRepository)>>includesVersionNamed:
>>                 MCWorkingCopy>>uniqueVersionNameIn: in Block: [ ...
>>                 BlockClosure>>cull:
>>                 Job>>run in Block: [ result := block cull: self ]
>>                 BlockClosure>>on:do:
>>                 Job>>run in Block: [ ...
>>                 BlockClosure>>ensure:
>>                 Job>>run
>>                 MorphicUIManager(UIManager)>>displayProgress:from:to:during:
>>                 ByteString(String)>>displayProgressFrom:to:during:
>>                 MCWorkingCopy>>uniqueVersionNameIn:
>>                 MCWorkingCopy>>newVersionIn:
>>                 MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ ...
>>                 WorldState>>runStepMethodsIn:
>>
>>
>>
>>                 On Sun, Nov 3, 2013 at 12:41 PM, GOUBIER Thierry
>>                 <[hidden email]
>>                 <mailto:[hidden email]>> wrote:
>>
>>                     This is where you use GitFileTree.
>>
>>                     GitFileTree will do you the commit, browsing the
>>                     git logs and accessing all versions of your
>>                     package in the git repo (browsing, loading,
>>                     changes with the same GUI and look as a
>>                     smalltalkhub repo). It won't do the push,
>>                     however(*). It will show you the current branch in
>>                     the repo too (**).
>>
>>                     For pharo3, GitFileTree is available with:
>>
>>                     $ pharo Pharo.image eval --save Gofer new url:
>>                     \'http://smalltalkhub.com/mc/ThierryGoubier/MonticelloFileTree-Git/main\
>>                     <http://smalltalkhub.com/mc/ThierryGoubier/MonticelloFileTree-Git/main%5C>'\;
>>                     package: \'MonticelloFileTree-Git\'\; load
>>
>>                     For pharo2, there is a group named
>>                     'MonticelloFileTree-Git' in FileTree configuration.
>>
>>                     Feel free to ask if you have any questions or
>>                     suggestions on it!
>>
>>                     Thierry
>>
>>                     (*) It would be easy to do commit + push in one
>>                     go, but, I'm not sure I'd like to do a push each
>>                     time I do a commit. I tend to prefer a push a day.
>>                     Maybe something like a marker in the repository
>>                     inspector to remind me I have something to push?
>>                     (**) It doesn't change branches, and there is no
>>                     support for branches in Monticello... This tend to
>>                     trigger bugs in MC package cache.
>>
>>                     ------------------------------------------------------------------------
>>                     *De :* Pharo-dev
>>                     [[hidden email]
>>                     <mailto:[hidden email]>] de la
>>                     part de kilon alios [[hidden email]
>>                     <mailto:[hidden email]>]
>>                     *Date d'envoi :* dimanche 3 novembre 2013 10:16
>>                     *À :* Pharo Development List
>>                     *Objet :* Re: [Pharo-dev] Github and Pharo
>>
>>                     Thank you for your efforts , I have installed
>>                     filetree using the instructions provided in the
>>                     github pages for pharo 3. I was also successful
>>                     into generating the local files for my packages
>>                     that I have inserted to my git folder. I can
>>                     manually git commit and git push them from
>>                     terminal but how I do this from inside
>>                     Monticello-Filetree ?
>>
>>
>>                     On Sun, Nov 3, 2013 at 9:53 AM, GOUBIER Thierry
>>                     <[hidden email]
>>                     <mailto:[hidden email]>> wrote:
>>
>>                         Hi,
>>
>>                         I've used github and work_owned git
>>                         repositories as primary workplaces for more
>>                         than a year. First with FileTree, then I wrote
>>                         GitFileTree to make that process simpler.
>>
>>                         Thierry
>>                         ------------------------------------------------------------------------
>>                         *De :* Pharo-dev
>>                         [[hidden email]
>>                         <mailto:[hidden email]>] de
>>                         la part de kilon alios [[hidden email]
>>                         <mailto:[hidden email]>]
>>                         *Date d'envoi :* samedi 2 novembre 2013 14:59
>>                         *À :* Pharo Development List
>>                         *Objet :* [Pharo-dev] Github and Pharo
>>
>>                         So any information on how Pharo can be used
>>                         with Github ?
>>
>>                         all I have is this
>>
>>                         https://github.com/dalehenrich/FSGit
>>
>>                         I dont need much, just basic git pull, push,
>>                         clone, add and rm should do fine for starter.
>>
>>                         But of course I am interesting into learning
>>                         what can be done, what is available , who
>>                         needs help with what.  Github is something
>>                         really important for me, so I am willing to
>>                         contribute as much I can into bringing Pharo
>>                         closer to it.
>>
>>                         My interest is using Github in place of
>>                         smalltalkhub and squeaksource. I was planning
>>                         to implement something like an App Store (not
>>                         the purchase  system) for Pharo  libraries and
>>                         I would love to use github as a backend to it
>>                         and git of course.
>>
>>
>>
>>
>>
>
>
>
>
>     --
>     www.tudorgirba.com <http://www.tudorgirba.com>
>
>     "Every thing has its own flow"
>
>

--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95

123