Well, if you are on Pharo3, you can get it with the latest
MonticelloFileTree-Git:
Gofer new
url:'http://smalltalkhub.com/mc/ThierryGoubier/Alt30/main';
package: 'MonticelloFileTree-Git';
load
(or, on the command line,
pharo Pharo.image eval --save \
Gofer new \
url:\'http://smalltalkhub.com/mc/ThierryGoubier/Alt30/main\'\;\
package: \'MonticelloFileTree-Git\'\;\
load
)
With OSProcess installed of course.
Now I want to make that push and pull aware of the state of the local
repository compared to the remote; I'll update if I got the time.
Rant: I have the feeling that wrapping completely Git is far, far too
complex to be a reasonable target. Wrapping a subset of Git, maybe. I
need something that work and we can improve later on. Working on a
Windows solution would be a priority.
Thierry
Le 06/11/2013 12:08, kilon alios a écrit :
well done mate, keep them coming :)
When I first tried pharo I was afraid that I would deal with a lot of
abandon projects , half finished libraries, bugs that are decades old.
But I see so much active development and people who take Pharo very
seriously that has extended my stay. And even though I always had python
as my fall back plan , the reality of sticking with Pharo comes closer
every day the more I learn and the more projects I find. I really like
it here :)
On Tue, Nov 5, 2013 at 2:32 PM, Goubier Thierry <[email protected]
<mailto:[email protected]>> wrote:
Le 04/11/2013 23:19, kilon alios a écrit :
It does work indeed, commit wise. But can I git pull and git
push with it ?
Something like that?
Thierry
On Mon, Nov 4, 2013 at 10:50 PM, GOUBIER Thierry
<[email protected] <mailto:[email protected]>
<mailto:[email protected]
<mailto:[email protected]>__>> wrote:
Alexandre,
using Git with Pharo (2 and 3) works today on Mac and Linux
with
MonticelloFileTree and MonticelloFileTree-Git.
FileSystem-Git will be a better way to do it (and more
portable) :)
Thierry
------------------------------__------------------------------__------------
*De :* Pharo-dev [pharo-dev-bounces@lists.__pharo.org
<mailto:[email protected]>
<mailto:pharo-dev-bounces@__lists.pharo.org
<mailto:[email protected]>>] de la part de Alexandre
Bergel [[email protected]
<mailto:[email protected]>
<mailto:alexandre.bergel@me.__com <mailto:[email protected]>>]
*Date d'envoi :* lundi 4 novembre 2013 21:34
*À :* Pharo Development List
*Cc:* Pharo Development List
*Objet :* Re: [Pharo-dev] Github and Pharo
+1
Everybody is waiting for using Git with Pharo. There is a real
possibility to impact 100s of users...
Go go go!
Alexandre
Alexandre
Le 04-11-2013 à 15:35, kilon alios <[email protected]
<mailto:[email protected]>
<mailto:[email protected]
<mailto:[email protected]>>__> a écrit :
Yeah I agree, this is an awesome project and thank you
for your
hard work :)
On Mon, Nov 4, 2013 at 8:12 PM, GOUBIER Thierry
<[email protected] <mailto:[email protected]>
<mailto:[email protected]
<mailto:[email protected]>__>> wrote:
Hi Max,
I saw you were on it :) It's a huge effort you're
undertaking.
I learned a bit about git internal storage stepping
through
the code.
Thierry
__________________________________________
De : Pharo-dev [pharo-dev-bounces@lists.__pharo.org
<mailto:[email protected]>
<mailto:pharo-dev-bounces@__lists.pharo.org
<mailto:[email protected]>>] de la part de Max
Leske [[email protected]
<mailto:[email protected]> <mailto:[email protected]
<mailto:[email protected]>>]
Date d'envoi : lundi 4 novembre 2013 17:44
À : Pharo Development List
Objet : Re: [Pharo-dev] Github and Pharo
FileSystem-Git is basically in alpha at the moment… I’m
rewriting it.
On 04.11.2013, at 17:04, Goubier Thierry
<[email protected]
<mailto:[email protected]>
<mailto:[email protected]
<mailto:[email protected]>__>> wrote:
> Ok, I tried a bit with FileSystem-Git, but it
seems there is
still a bit of work to do...
>
> I tried on one of my work repository, and:
> - it failed trying to uft8convert a packed data file.
> So I corrected the error (get the stream as
binary!) and
> - It failed looking for one of the commit IDs
> I found the ref in a pack file; apparently, it's
not looking
in there...
> I'm forcing a read of the pack files in there
> - Yet another utf8convert error on binary data
> Corrected, I got the pack files, but the index
isn't telling
me much.
> I tried to list the objects in it... Unknown
compression
method error.
>
> There's a huge amount of code in there, it's a bit
frightening. I think I'll stay with OSProcess a bit
longer ;)
>
> Thierry
>
> Le 04/11/2013 14:28, Goubier Thierry a écrit :
>>
>>
>> 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
<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
>
--
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
--
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