I would like to give it a try (Iâm already using git projects) and no idea how to install it. thanks, Esteban
It is in the image, no ? Just add a MC repository of the filetree:// type ... Maybe you mean the more advanced version ? On 23 Jan 2014, at 10:20, Esteban Lorenzano <estebanlm@gmail.com> wrote:
I would like to give it a try (Iâm already using git projects) and no idea how to install it.
thanks, Esteban
On 23 Jan 2014, at 10:24, Sven Van Caekenberghe <sven@stfx.eu> wrote:
It is in the image, no ?
Just add a MC repository of the filetree:// type â¦
no, thatâs filetree. gitfiletree is a package made by Thierry to give access to git operations (push, pull, commit, etc.) inside the image, using OSProcess. I wanted to try it and explore the work needed to make it work with LibGit2 instead system calls :) cheers, Esteban
Maybe you mean the more advanced version ?
On 23 Jan 2014, at 10:20, Esteban Lorenzano <estebanlm@gmail.com> wrote:
I would like to give it a try (Iâm already using git projects) and no idea how to install it.
thanks, Esteban
Le 23/01/2014 10:27, Esteban Lorenzano a écrit :
On 23 Jan 2014, at 10:24, Sven Van Caekenberghe <sven@stfx.eu> wrote:
It is in the image, no ?
Just add a MC repository of the filetree:// type â¦
no, thatâs filetree.
gitfiletree is a package made by Thierry to give access to git operations (push, pull, commit, etc.) inside the image, using OSProcess. I wanted to try it and explore the work needed to make it work with LibGit2 instead system calls :)
+100 I'm really interested by what you will end up with. I had a look at the LibGit2 API, and decided to stay with OSProcess... Don't hesitate to ask questions about how gitfiletree works... I start to find part of the code a bit difficult to understand. The metadata re-creation code in particular :( And the more I know about git internals and strategy, the less I'm inclined to move git code inside Pharo. Too many lines ;) 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
On 23 Jan 2014, at 10:39, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 23/01/2014 10:27, Esteban Lorenzano a écrit :
On 23 Jan 2014, at 10:24, Sven Van Caekenberghe <sven@stfx.eu> wrote:
It is in the image, no ?
Just add a MC repository of the filetree:// type â¦
no, thatâs filetree.
gitfiletree is a package made by Thierry to give access to git operations (push, pull, commit, etc.) inside the image, using OSProcess. I wanted to try it and explore the work needed to make it work with LibGit2 instead system calls :)
+100
I'm really interested by what you will end up with. I had a look at the LibGit2 API, and decided to stay with OSProcess...
Don't hesitate to ask questions about how gitfiletree works... I start to find part of the code a bit difficult to understand. The metadata re-creation code in particular :(
And the more I know about git internals and strategy, the less I'm inclined to move git code inside Pharo. Too many lines ;)
oh yes⦠I do not think thatâs the way to go: having a repository-cache at the side of the image looks like the correct approach :)
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
Le 23/01/2014 10:43, Esteban Lorenzano a écrit :
oh yes⦠I do not think thatâs the way to go: having a repository-cache at the side of the image looks like the correct approach :)
The current package-cache has ways to trip you that are really fun (not :(:() when using git and branches... With the current approach in gitfiletree, it's really easy to work with github or with any other git server setup, even in a multi-language / multi-user project (I've done C + Pharo and Ocaml + Pharo with it). 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
For the record, we will hand in monday a proposal (was rejected last year) to engineer a good git support for Pharo (but not to expose end-user to command line git idiosyncrasies. Now we should cross our fingers. I spent my vacations rewriting it and I hope that I should not have just do something else. Stef PS: if someone has 10 engineers to lend to me for a couple of years, Pharo will look really different and cooler.
oh yes⦠I do not think thatâs the way to go: having a repository-cache at the side of the image looks like the correct approach :)
The current package-cache has ways to trip you that are really fun (not :(:() when using git and branches...
With the current approach in gitfiletree, it's really easy to work with github or with any other git server setup, even in a multi-language / multi-user project (I've done C + Pharo and Ocaml + Pharo with it).
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
After working with github, and, in another project, with a git expert, I don't think there is a way to avoid exposing users to some nasty git things :( It's just so powerfull, and can shape-morph in many different things depending on the team involved. And well, this is git now. What will be the git of tomorrow? I wish success to your proposal. More man years on Pharo will certainly bring great things! Thierry ________________________________________ De : Pharo-dev [pharo-dev-bounces@lists.pharo.org] de la part de Pharo4Stef [pharo4Stef@free.fr] Date d'envoi : samedi 25 janvier 2014 22:33 Ã : Pharo Development List Objet : Re: [Pharo-dev] how do I install gitfiletree? For the record, we will hand in monday a proposal (was rejected last year) to engineer a good git support for Pharo (but not to expose end-user to command line git idiosyncrasies. Now we should cross our fingers. I spent my vacations rewriting it and I hope that I should not have just do something else. Stef PS: if someone has 10 engineers to lend to me for a couple of years, Pharo will look really different and cooler.
I had a talk with Thierry and GitFileTree isn't supported on Windows. Due to OSProcess. Is the libgit2 going to solve that? Phil On Thu, Jan 23, 2014 at 10:39 AM, Goubier Thierry <thierry.goubier@cea.fr>wrote:
Le 23/01/2014 10:27, Esteban Lorenzano a écrit :
On 23 Jan 2014, at 10:24, Sven Van Caekenberghe <sven@stfx.eu> wrote:
It is in the image, no ?
Just add a MC repository of the filetree:// type â¦
no, thatâs filetree.
gitfiletree is a package made by Thierry to give access to git operations (push, pull, commit, etc.) inside the image, using OSProcess. I wanted to try it and explore the work needed to make it work with LibGit2 instead system calls :)
+100
I'm really interested by what you will end up with. I had a look at the LibGit2 API, and decided to stay with OSProcess...
Don't hesitate to ask questions about how gitfiletree works... I start to find part of the code a bit difficult to understand. The metadata re-creation code in particular :(
And the more I know about git internals and strategy, the less I'm inclined to move git code inside Pharo. Too many lines ;)
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
On 23 Jan 2014, at 10:50, phil@highoctane.be wrote:
I had a talk with Thierry and GitFileTree isn't supported on Windows.
Due to OSProcess.
Is the libgit2 going to solve that?
yes, libgit2 will be distributed with⦠er⦠well⦠pharo 4 :) (if my experiments works, and I finish in time, and, and, and... :) also⦠we need to make OSProcess work in windows too⦠Esteban
Phil
On Thu, Jan 23, 2014 at 10:39 AM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 23/01/2014 10:27, Esteban Lorenzano a écrit :
On 23 Jan 2014, at 10:24, Sven Van Caekenberghe <sven@stfx.eu> wrote:
It is in the image, no ?
Just add a MC repository of the filetree:// type â¦
no, thatâs filetree.
gitfiletree is a package made by Thierry to give access to git operations (push, pull, commit, etc.) inside the image, using OSProcess. I wanted to try it and explore the work needed to make it work with LibGit2 instead system calls :)
+100
I'm really interested by what you will end up with. I had a look at the LibGit2 API, and decided to stay with OSProcess...
Don't hesitate to ask questions about how gitfiletree works... I start to find part of the code a bit difficult to understand. The metadata re-creation code in particular :(
And the more I know about git internals and strategy, the less I'm inclined to move git code inside Pharo. Too many lines ;)
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
On 23 Jan 2014, at 10:57, Esteban Lorenzano <estebanlm@gmail.com> wrote:
On 23 Jan 2014, at 10:50, phil@highoctane.be wrote:
I had a talk with Thierry and GitFileTree isn't supported on Windows.
Due to OSProcess.
Is the libgit2 going to solve that?
yes, libgit2 will be distributed with⦠er⦠well⦠pharo 4 :) (if my experiments works, and I finish in time, and, and, and... :)
also⦠we need to make OSProcess work in windows tooâ¦
and we need (parts of the functionality) of OSProcess to be default available in Pharo. Marcus
Le 23/01/2014 10:59, Marcus Denker a écrit :
On 23 Jan 2014, at 10:57, Esteban Lorenzano <estebanlm@gmail.com <mailto:estebanlm@gmail.com>> wrote:
On 23 Jan 2014, at 10:50, phil@highoctane.be <mailto:phil@highoctane.be> wrote:
I had a talk with Thierry and GitFileTree isn't supported on Windows.
Due to OSProcess.
Is the libgit2 going to solve that?
yes, libgit2 will be distributed with⦠er⦠well⦠pharo 4 :) (if my experiments works, and I finish in time, and, and, and... :)
also⦠we need to make OSProcess work in windows tooâ¦
and we need (parts of the functionality) of OSProcess to be default available in Pharo.
Especially since OSProcess is just wrappers around pre-existing primitives in the Pharo VM ;) 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
On Thu, Jan 23, 2014 at 1:57 AM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
On 23 Jan 2014, at 10:50, phil@highoctane.be wrote:
I had a talk with Thierry and GitFileTree isn't supported on Windows.
Due to OSProcess.
Is the libgit2 going to solve that?
yes, libgit2 will be distributed with⦠er⦠well⦠pharo 4 :) (if my experiments works, and I finish in time, and, and, and... :)
also⦠we need to make OSProcess work in windows tooâ¦
I already did back in 2007 for Cadence. You'll see the Win32OSProcessPlugin in the Cog plugins.
Esteban
Phil
On Thu, Jan 23, 2014 at 10:39 AM, Goubier Thierry <thierry.goubier@cea.fr>wrote:
Le 23/01/2014 10:27, Esteban Lorenzano a écrit :
On 23 Jan 2014, at 10:24, Sven Van Caekenberghe <sven@stfx.eu> wrote:
It is in the image, no ?
Just add a MC repository of the filetree:// type â¦
no, thatâs filetree.
gitfiletree is a package made by Thierry to give access to git operations (push, pull, commit, etc.) inside the image, using OSProcess. I wanted to try it and explore the work needed to make it work with LibGit2 instead system calls :)
+100
I'm really interested by what you will end up with. I had a look at the LibGit2 API, and decided to stay with OSProcess...
Don't hesitate to ask questions about how gitfiletree works... I start to find part of the code a bit difficult to understand. The metadata re-creation code in particular :(
And the more I know about git internals and strategy, the less I'm inclined to move git code inside Pharo. Too many lines ;)
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
-- best, Eliot
Yes! Would that mean a working OSProcess for Windows wouldn't be far, then? Thierry ________________________________ De : Pharo-dev [pharo-dev-bounces@lists.pharo.org] de la part de Eliot Miranda [eliot.miranda@gmail.com] Date d'envoi : vendredi 24 janvier 2014 19:08 à : Pharo Development List Objet : Re: [Pharo-dev] how do I install gitfiletree? On Thu, Jan 23, 2014 at 1:57 AM, Esteban Lorenzano <estebanlm@gmail.com<mailto:estebanlm@gmail.com>> wrote: On 23 Jan 2014, at 10:50, phil@highoctane.be<mailto:phil@highoctane.be> wrote: I had a talk with Thierry and GitFileTree isn't supported on Windows. Due to OSProcess. Is the libgit2 going to solve that? yes, libgit2 will be distributed with⦠er⦠well⦠pharo 4 :) (if my experiments works, and I finish in time, and, and, and... :) also⦠we need to make OSProcess work in windows too⦠I already did back in 2007 for Cadence. You'll see the Win32OSProcessPlugin in the Cog plugins. -- best, Eliot
On Sat, Jan 25, 2014 at 1:05 AM, GOUBIER Thierry <thierry.goubier@cea.fr>wrote:
Yes! Would that mean a working OSProcess for Windows wouldn't be far, then?
That's right. Any volunteers to take the code and port it? I haven't got cycles to spare doing this myself.
Thierry
------------------------------ *De :* Pharo-dev [pharo-dev-bounces@lists.pharo.org] de la part de Eliot Miranda [eliot.miranda@gmail.com] *Date d'envoi :* vendredi 24 janvier 2014 19:08 *Ã :* Pharo Development List *Objet :* Re: [Pharo-dev] how do I install gitfiletree?
On Thu, Jan 23, 2014 at 1:57 AM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
On 23 Jan 2014, at 10:50, phil@highoctane.be wrote:
I had a talk with Thierry and GitFileTree isn't supported on Windows.
Due to OSProcess.
Is the libgit2 going to solve that?
yes, libgit2 will be distributed with⦠er⦠well⦠pharo 4 :) (if my experiments works, and I finish in time, and, and, and... :)
also⦠we need to make OSProcess work in windows tooâ¦
I already did back in 2007 for Cadence. You'll see the Win32OSProcessPlugin in the Cog plugins. -- best, Eliot
-- best, Eliot
Hi Esteban, use ConfigurationOfGitFileTree in the Meta repository for Pharo3. It will load the OSProcess dependency and provide for Pull and Push in the repository browsing interface. i.e. pharo Pharo.image config http://smalltalkhub.com/Pharo/MetaRepoForPharo30/main ConfigurationOfGitFileTree --install=stable or Gofer new smalltalkhubUser: 'Pharo' project: 'MetaRepoForPharo30'; package: 'ConfigurationOfGitFileTree'; load. (Smalltalk at: #ConfigurationOfGitFileTree) load I will probably provide soon a way to automagically : - clone a remote git repository repo - checkout a target branch - and choose the directory inside where the packages are Thierry Le 23/01/2014 10:20, Esteban Lorenzano a écrit :
I would like to give it a try (Iâm already using git projects) and no idea how to install it.
thanks, Esteban
-- 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
thanks :) On 23 Jan 2014, at 10:33, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi Esteban,
use ConfigurationOfGitFileTree in the Meta repository for Pharo3. It will load the OSProcess dependency and provide for Pull and Push in the repository browsing interface.
i.e.
pharo Pharo.image config http://smalltalkhub.com/Pharo/MetaRepoForPharo30/main ConfigurationOfGitFileTree --install=stable
or
Gofer new smalltalkhubUser: 'Pharo' project: 'MetaRepoForPharo30'; package: 'ConfigurationOfGitFileTree'; load. (Smalltalk at: #ConfigurationOfGitFileTree) load
I will probably provide soon a way to automagically :
- clone a remote git repository repo - checkout a target branch - and choose the directory inside where the packages are
Thierry
Le 23/01/2014 10:20, Esteban Lorenzano a écrit :
I would like to give it a try (Iâm already using git projects) and no idea how to install it.
thanks, Esteban
-- 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 (8)
-
Eliot Miranda -
Esteban Lorenzano -
GOUBIER Thierry -
Goubier Thierry -
Marcus Denker -
Pharo4Stef -
phil@highoctane.be -
Sven Van Caekenberghe