Le 05/06/2013 15:02, Esteban A. Maringolo a écrit :
Thierry,
Let's say I want to start using a bit based Monticello repository (in
order to push everyting to Bitbucket).
Where should I start? What else should I install?
On the git side:
git init
or
git clone
On the Pharo side:
The following sequence should load everything...
mkdir pharo
cd pharo; wget -O- get.pharo.org/20+vm | bash
cd pharo; ./pharo Pharo.image config
http://ss3.gemstone.com/ss/FileTree ConfigurationOfFileTree --install=1.0.2
cd pharo; ./pharo Pharo.image config
http://ss3.gemstone.com/ss/MetaRepoForPharo20 ConfigurationOfOSProcess
--install=stable
cd pharo; ./pharo Pharo.image eval --save "Gofer new url:
'http://smalltalkhub.com/mc/ThierryGoubier/MonticelloFileTree-Git/main/'; package:
'MonticelloFileTree-Git'; load"
And then, in the Monticello gui, you do +Repository, choose
gitfiletree:// and select the directory inside the git repo where you
want to store your packages (creation and git commit upon repository
creation included!).
After that, it will work as any other repository.
If you want to import whole package history, the best is probably to use
the Gofer scripts posted here to move a project to smalltalkhub.
Just have a look into your git repo as things are done (git status or
git log) to see the commits being done; preparing this mail has shown me
a very problematic bug in my code :( :( but already corrected :)
And if you see it doesn't do what you expect, tell me!
Thierry
Regards!
Esteban A. Maringolo
2013/6/5 Goubier Thierry <[email protected]
<mailto:[email protected]>>
Thanks Stéphane,
it's just that this effort is at the point where I can't do anything
more, because my use of git doesn't require much else. I would drop
to the command line anyway to handle branches, pull/push etc...
including the fact that the git repo in my case is usually a "larger
than smalltalk" system, and so contradicting the need for a closer
integration inside Pharo.
As it is now, it's equivalent to using, say, a Smalltalkhub or a ss3
repo (except for the need to push changes).
Thierry
Le 05/06/2013 13:57, Stéphane Ducasse a écrit :
thanks for keeping us posted.
Stef
On Jun 5, 2013, at 1:50 PM, Goubier Thierry
<[email protected] <mailto:[email protected]>> wrote:
Hi All,
my small extension to filetree for git users, i.e.
gitfiletree:// repos, has now reached an interesting point,
which is the ability to scan a filetree repository inside a
git repository and recover (and load, and browse, and
etc...) all git-recorded versions of Monticello packages
stored in it.
As before, it's at
http://smalltalkhub.com/#!/~__ThierryGoubier/__MonticelloFileTree-Git/
<http://smalltalkhub.com/#!/~ThierryGoubier/MonticelloFileTree-Git/>
and relies on MonticelloFileTree and OS-Process for the
underlying magic. It works perfectly on a pre-existing
filetree inside git repo, except for corrupted smalltalk
packages (it tries to avoid them, with no guarantees of
success).
Enjoy,
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