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.
As said: Load the filetree configuration from the configuration browser (Pharo 2.0 here) and you'll be good to go. Some more here: https://github.com/dalehenrich/filetree 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 [image: :-)] Phil On Sat, Nov 2, 2013 at 2:59 PM, kilon alios <kilon.alios@gmail.com> wrote:
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.
thank you phil I have visited the Filetree link but I have no clue how to use this. I did in Workspace Gofer new url: 'http://ss3.gemstone.com/ss/FileTree'; 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, phil@highoctane.be <phil@highoctane.be>wrote:
As said:
Load the filetree configuration from the configuration browser (Pharo 2.0 here) and you'll be good to go.
Some more here: https://github.com/dalehenrich/filetree
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 [image: :-)]
Phil
On Sat, Nov 2, 2013 at 2:59 PM, kilon alios <kilon.alios@gmail.com> wrote:
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.
On 02 Nov 2013, at 14:59, kilon alios <kilon.alios@gmail.com> 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
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 <sven@stfx.eu> wrote:
On 02 Nov 2013, at 14:59, kilon alios <kilon.alios@gmail.com> 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
On 2 November 2013 21:29, kilon alios <kilon.alios@gmail.com> 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 <sven@stfx.eu> wrote:
On 02 Nov 2013, at 14:59, kilon alios <kilon.alios@gmail.com> 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
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
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 <frank.shearar@gmail.com>wrote:
On 2 November 2013 21:29, kilon alios <kilon.alios@gmail.com> 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 <sven@stfx.eu> wrote:
On 02 Nov 2013, at 14:59, kilon alios <kilon.alios@gmail.com> 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
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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] 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.
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 <thierry.goubier@cea.fr>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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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.
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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] 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 <thierry.goubier@cea.fr<mailto:thierry.goubier@cea.fr>> 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 [pharo-dev-bounces@lists.pharo.org<mailto:pharo-dev-bounces@lists.pharo.org>] de la part de kilon alios [kilon.alios@gmail.com<mailto:kilon.alios@gmail.com>] 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.
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 <thierry.goubier@cea.fr>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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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 <thierry.goubier@cea.fr>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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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.
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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] 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 <thierry.goubier@cea.fr<mailto:thierry.goubier@cea.fr>> 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 [pharo-dev-bounces@lists.pharo.org<mailto:pharo-dev-bounces@lists.pharo.org>] de la part de kilon alios [kilon.alios@gmail.com<mailto:kilon.alios@gmail.com>] 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 <thierry.goubier@cea.fr<mailto:thierry.goubier@cea.fr>> 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 [pharo-dev-bounces@lists.pharo.org<mailto:pharo-dev-bounces@lists.pharo.org>] de la part de kilon alios [kilon.alios@gmail.com<mailto:kilon.alios@gmail.com>] 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.
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 <thierry.goubier@cea.fr>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/MetaRepoForPharo20ConfigurationOfOSProcess --install=stable
Thierry
------------------------------ *De :* Pharo-dev [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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 <thierry.goubier@cea.fr>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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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 <thierry.goubier@cea.fr>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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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.
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 <kilon.alios@gmail.com> 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 <thierry.goubier@cea.fr>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/MetaRepoForPharo20ConfigurationOfOSProcess --install=stable
Thierry
------------------------------ *De :* Pharo-dev [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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 <thierry.goubier@cea.fr>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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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 <thierry.goubier@cea.fr>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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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.
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 <kilon.alios@gmail.com> 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 <kilon.alios@gmail.com> 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 <thierry.goubier@cea.fr> 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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] 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 <thierry.goubier@cea.fr> 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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] 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 <thierry.goubier@cea.fr> 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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] 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.
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 <stephane.ducasse@inria.fr
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 <kilon.alios@gmail.com> 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 <kilon.alios@gmail.com> 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 <thierry.goubier@cea.fr>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/MetaRepoForPharo20ConfigurationOfOSProcess --install=stable
Thierry
------------------------------ *De :* Pharo-dev [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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 <thierry.goubier@cea.fr
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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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 <thierry.goubier@cea.fr
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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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 "Every thing has its own flow"
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 <tudor@tudorgirba.com> 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 < stephane.ducasse@inria.fr> 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 <kilon.alios@gmail.com> 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 <kilon.alios@gmail.com>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 <thierry.goubier@cea.fr>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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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 < thierry.goubier@cea.fr> 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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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 < thierry.goubier@cea.fr> 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 [pharo-dev-bounces@lists.pharo.org] de la part de kilon alios [kilon.alios@gmail.com] *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
"Every thing has its own flow"
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 <tudor@tudorgirba.com <mailto:tudor@tudorgirba.com>> 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 <stephane.ducasse@inria.fr <mailto:stephane.ducasse@inria.fr>> 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 <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>> 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 <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>> 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 <thierry.goubier@cea.fr <mailto:thierry.goubier@cea.fr>> 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 [pharo-dev-bounces@lists.pharo.org <mailto:pharo-dev-bounces@lists.pharo.org>] de la part de kilon alios [kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>] *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 <thierry.goubier@cea.fr <mailto:thierry.goubier@cea.fr>> 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 [pharo-dev-bounces@lists.pharo.org <mailto:pharo-dev-bounces@lists.pharo.org>] de la part de kilon alios [kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>] *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 <thierry.goubier@cea.fr <mailto:thierry.goubier@cea.fr>> 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 [pharo-dev-bounces@lists.pharo.org <mailto:pharo-dev-bounces@lists.pharo.org>] de la part de kilon alios [kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>] *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
I added the missing method to the class, adjusting it with the 'c:\' system path, unfortunately now it complains that File pipeWriter is closed. So it looks like it will need a more a careful look to make this work on windows. Will try to examine closer. On Mon, Nov 4, 2013 at 12:05 PM, Goubier Thierry <thierry.goubier@cea.fr>wrote:
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 <tudor@tudorgirba.com <mailto:tudor@tudorgirba.com>> 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 <stephane.ducasse@inria.fr <mailto:stephane.ducasse@inria.fr>> 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 <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>> 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 <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>> 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 <thierry.goubier@cea.fr <mailto:thierry.goubier@cea.fr>>
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 [pharo-dev-bounces@lists.pharo.org <mailto:pharo-dev-bounces@lists.pharo.org>] de la part de kilon alios [kilon.alios@gmail.com
<mailto:kilon.alios@gmail.com>] *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 <thierry.goubier@cea.fr <mailto:thierry.goubier@cea.fr>> 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 [pharo-dev-bounces@lists.pharo.org <mailto:pharo-dev-bounces@lists.pharo.org>] de la
part de kilon alios [kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>] *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 <thierry.goubier@cea.fr <mailto:thierry.goubier@cea.fr>> 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 [pharo-dev-bounces@lists.pharo.org <mailto:pharo-dev-bounces@lists.pharo.org>] de
la part de kilon alios [kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>] *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
I guess that's why I used filetree:// and not gitfiletree:// along with the git client to do the CLI commits and pushes on Windows (one can use GitBash for example, or MobaXterm Git plugin http://mobaxterm.mobatek.net/ > http://mobaxterm.mobatek.net/plugins.html > Git + Curl +Emacs [for you Gutenberg people, but Pdflatex is missing]). Additional benefit of MobaXterm on Windows: it has curl, wget etc, so Zeroconf scripts work easily. <rant> Now, I am more and more leaning towards having a debian VM into which I can do all the development. That's the kind of system production ends up on anyway. Debian 6 for me, as 7 requires to go into Multiarch + 32 bits libs which is not on by default and is a headache to get right. I had a hard time getting Pharo to run on Debian 7. And when faced with a given default server box, it was worse as there was no way to add the packages. This excluded Pharo while Rails/PHP people ran happily. :-( </rant> Phil
On Nov 4, 2013, at 11:34 AM, "phil@highoctane.be" <phil@highoctane.be> wrote:
<rant> Now, I am more and more leaning towards having a debian VM into which I can do all the development. That's the kind of system production ends up on anyway. Debian 6 for me, as 7 requires to go into Multiarch + 32 bits libs which is not on by default and is a headache to get right.
This is why what eliot is doing with the 64 bits is really key for our future.
I had a hard time getting Pharo to run on Debian 7. And when faced with a given default server box, it was worse as there was no way to add the packages. This excluded Pharo while Rails/PHP people ran happily. :-( </rant>
yeap filetree did the trick here. However it does not allow to browse through the git commits as gitfiletree does, the only commit available is the last commit. I took a look at CommandShell and friends and they all look pretty much very broken. For example in workspace I executed [ CommandShellTranscript open.] and trying "ls" or "dir" it creates an error because it add C path inside pharo subdirectories. Dont know if this is normal behavior. I am coding in macos and ubuntu , but mostly on macos so for me this is not a big deal. I am using Git Bash and SmartGit and I am very happy with both so its no big loss for me. http://www.syntevo.com/smartgithg/ SmartGit works great on windows, macos and linux. A very elegant application. On Mon, Nov 4, 2013 at 12:34 PM, phil@highoctane.be <phil@highoctane.be>wrote:
I guess that's why I used filetree:// and not gitfiletree:// along with the git client to do the CLI commits and pushes on Windows (one can use GitBash for example, or MobaXterm Git plugin http://mobaxterm.mobatek.net/> http://mobaxterm.mobatek.net/plugins.html > Git + Curl +Emacs [for you Gutenberg people, but Pdflatex is missing]).
Additional benefit of MobaXterm on Windows: it has curl, wget etc, so Zeroconf scripts work easily.
<rant> Now, I am more and more leaning towards having a debian VM into which I can do all the development. That's the kind of system production ends up on anyway. Debian 6 for me, as 7 requires to go into Multiarch + 32 bits libs which is not on by default and is a headache to get right. I had a hard time getting Pharo to run on Debian 7. And when faced with a given default server box, it was worse as there was no way to add the packages. This excluded Pharo while Rails/PHP people ran happily. :-( </rant>
Phil
Le 04/11/2013 12:11, kilon alios a écrit :
yeap filetree did the trick here. However it does not allow to browse through the git commits as gitfiletree does, the only commit available is the last commit.
I took a look at CommandShell and friends and they all look pretty much very broken. For example in workspace I executed [ CommandShellTranscript open.] and trying "ls" or "dir" it creates an error because it add C path inside pharo subdirectories. Dont know if this is normal behavior.
I hope someone with more knowledge than me of OSProcess under windows will have a look :) Thierry
I am coding in macos and ubuntu , but mostly on macos so for me this is not a big deal. I am using Git Bash and SmartGit and I am very happy with both so its no big loss for me.
http://www.syntevo.com/smartgithg/
SmartGit works great on windows, macos and linux. A very elegant application.
On Mon, Nov 4, 2013 at 12:34 PM, phil@highoctane.be <mailto:phil@highoctane.be> <phil@highoctane.be <mailto:phil@highoctane.be>> wrote:
I guess that's why I used filetree:// and not gitfiletree:// along with the git client to do the CLI commits and pushes on Windows (one can use GitBash for example, or MobaXterm Git plugin http://mobaxterm.mobatek.net/ > http://mobaxterm.mobatek.net/plugins.html > Git + Curl +Emacs [for you Gutenberg people, but Pdflatex is missing]). Additional benefit of MobaXterm on Windows: it has curl, wget etc, so Zeroconf scripts work easily. <rant> Now, I am more and more leaning towards having a debian VM into which I can do all the development. That's the kind of system production ends up on anyway. Debian 6 for me, as 7 requires to go into Multiarch + 32 bits libs which is not on by default and is a headache to get right. I had a hard time getting Pharo to run on Debian 7. And when faced with a given default server box, it was worse as there was no way to add the packages. This excluded Pharo while Rails/PHP people ran happily. :-( </rant> Phil
-- 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
On Mon, Nov 04, 2013 at 01:58:29PM +0100, Goubier Thierry wrote:
Le 04/11/2013 12:11, kilon alios a ?crit :
yeap filetree did the trick here. However it does not allow to browse through the git commits as gitfiletree does, the only commit available is the last commit.
I took a look at CommandShell and friends and they all look pretty much very broken. For example in workspace I executed [ CommandShellTranscript open.] and trying "ls" or "dir" it creates an error because it add C path inside pharo subdirectories. Dont know if this is normal behavior.
Use "CommandShell open" rather than "CommandShellTranscript open".
I hope someone with more knowledge than me of OSProcess under windows will have a look :)
OSProcess support for Windows is incomplete, so this will probably not do what you need. If the OSProcess is included in the Windows VM, it will let you run a Windows program, but it will not do most of the other things that you expect from OSProcess. Check http://www.squeaksource.com/ProcessWrapper.html for a possible alternative. Dave
Le 04/11/2013 14:09, David T. Lewis a écrit :
On Mon, Nov 04, 2013 at 01:58:29PM +0100, Goubier Thierry wrote:
Le 04/11/2013 12:11, kilon alios a ?crit :
yeap filetree did the trick here. However it does not allow to browse through the git commits as gitfiletree does, the only commit available is the last commit.
I took a look at CommandShell and friends and they all look pretty much very broken. For example in workspace I executed [ CommandShellTranscript open.] and trying "ls" or "dir" it creates an error because it add C path inside pharo subdirectories. Dont know if this is normal behavior.
Use "CommandShell open" rather than "CommandShellTranscript open".
I hope someone with more knowledge than me of OSProcess under windows will have a look :)
OSProcess support for Windows is incomplete, so this will probably not do what you need. If the OSProcess is included in the Windows VM, it will let you run a Windows program, but it will not do most of the other things that you expect from OSProcess.
Check http://www.squeaksource.com/ProcessWrapper.html for a possible alternative.
Thanks Dave; no easy solution on that, it seems. I'll have a look then with FileSystem-Git, this one may be a more portable solution. Windows is still a world apart from the rest :( Thierry -- 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
I used "CommandShell open" it has the same problem. I took a look at Window pipes looks like from what I gather that they work quite differently (surprise surprise) to Unix pipes. Its certainly an interesting subject that I will continue to investigate and maybe contribute back if I find a solution. At this point all I need is the ability to issue simple commands to the command line like "cd" , "dir" , "git push" , "git pull", etc. So nothing major. Maybe I will be able to solve this, maybe I wont. Time will tell. On Mon, Nov 4, 2013 at 3:09 PM, David T. Lewis <lewis@mail.msen.com> wrote:
On Mon, Nov 04, 2013 at 01:58:29PM +0100, Goubier Thierry wrote:
Le 04/11/2013 12:11, kilon alios a ?crit :
yeap filetree did the trick here. However it does not allow to browse through the git commits as gitfiletree does, the only commit available is the last commit.
I took a look at CommandShell and friends and they all look pretty much very broken. For example in workspace I executed [ CommandShellTranscript open.] and trying "ls" or "dir" it creates an error because it add C path inside pharo subdirectories. Dont know if this is normal behavior.
Use "CommandShell open" rather than "CommandShellTranscript open".
I hope someone with more knowledge than me of OSProcess under windows will have a look :)
OSProcess support for Windows is incomplete, so this will probably not do what you need. If the OSProcess is included in the Windows VM, it will let you run a Windows program, but it will not do most of the other things that you expect from OSProcess.
Check http://www.squeaksource.com/ProcessWrapper.html for a possible alternative.
Dave
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 <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>> 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 <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>> 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 <thierry.goubier@cea.fr <mailto:thierry.goubier@cea.fr>> 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 [pharo-dev-bounces@lists.pharo.org <mailto:pharo-dev-bounces@lists.pharo.org>] de la part de kilon alios [kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>] *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 <thierry.goubier@cea.fr <mailto:thierry.goubier@cea.fr>> 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 [pharo-dev-bounces@lists.pharo.org <mailto:pharo-dev-bounces@lists.pharo.org>] de la part de kilon alios [kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>] *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 <thierry.goubier@cea.fr <mailto:thierry.goubier@cea.fr>> 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 [pharo-dev-bounces@lists.pharo.org <mailto:pharo-dev-bounces@lists.pharo.org>] de la part de kilon alios [kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>] *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
On Nov 4, 2013, at 11:02 AM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi Stef,
I don't have a blog ;) yet. But yes, I think I should write things up.
You can write in Pier format and this will generate a pdf and html. look at pharo for the entreprise on github. I can help also if you write in ascii to make it processed. I can add you to the github project.
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 <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>> 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 <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>> 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 <thierry.goubier@cea.fr <mailto:thierry.goubier@cea.fr>> 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 [pharo-dev-bounces@lists.pharo.org <mailto:pharo-dev-bounces@lists.pharo.org>] de la part de kilon alios [kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>] *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 <thierry.goubier@cea.fr <mailto:thierry.goubier@cea.fr>> 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 [pharo-dev-bounces@lists.pharo.org <mailto:pharo-dev-bounces@lists.pharo.org>] de la part de kilon alios [kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>] *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 <thierry.goubier@cea.fr <mailto:thierry.goubier@cea.fr>> 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 [pharo-dev-bounces@lists.pharo.org <mailto:pharo-dev-bounces@lists.pharo.org>] de la part de kilon alios [kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>] *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
participants (9)
-
David T. Lewis -
Frank Shearar -
GOUBIER Thierry -
Goubier Thierry -
kilon alios -
phil@highoctane.be -
Stéphane Ducasse -
Sven Van Caekenberghe -
Tudor Girba