[Glass] Setting up a new project with GsDevKit_home, Pharo 7, and github

Dale Henrichs dale.henrichs at gemtalksystems.com
Thu May 30 13:31:28 PDT 2019


Sergio,

First off, you should plan of using Filetree repositories for sharing 
code between GemStone and Pharo7. Tonel is not yet supported in 
GLASS/GsDevKit ... for detailed reasons/plans please read[2]. Some 
things _have_ changed since that mail went out:

 1. Reg Krock has done significant work on FileSystem
 2. SmalltalkCI work has not progressed
 3. I'm very close to completing my work on Tonel/FileTree
    readers/writers for Rowan
 4. We are planning on including Rowan in GemStone 3.6. We have not
    quite released GemStone 3.5, so 3.6 should not be expected until
    sometime next year (or so)

Feel free to ask any additional questions you may have about Tonel 
support...

With regards to using Iceberg, A week ago I started work porting Rowan 
to Pharo7/8[3] and ran into an issue[4] using Iceberg with both filetree 
and tonel repositories. I was unable to use Metacello fetch to load a 
simple BaselineOfRowan from filetree or tonel repositories:

    Metacello new
    	baseline:  'Rowan';
    	repository:  'github://GemTalk/Rowan:issue_486/platforms/pharo/rowan/src/';
    	fetch

However, if I manually cloned the repository to disk and then used the 
Monticello browser to hook up the the filetree repo I was able to 
successfully use the following to load the baseline:

    Metacello  new
    	baseline:  'Rowan';
    	repository:  'filetree:///home/dhenrich/rogue/_homes/rogue/_home/shared/repos/Rowan/platforms/pharo/rowan/src';
    	fetch

Your mileage may vary ...

For development, it might make sense to share the same git clone on disk 
between both Pharo and GemStone ... then you don't have to push and pull 
in order to share code between the two systems. In my own GemStone-based 
development I share the same git clones between multiple stones, so I 
can get test results from both stones before doing a git commit ... From 
within tODE you can do the basic load/save/push/pull from either the 
`project list` or the tODE shell (see `man git` and `man project`).

You can use a workspace (see `man ws` for the tODE command) for 
executing Metacello load expressions and after you have manually loaded 
a Metacello project, you will be able to use the `project list` window 
for further operations on the project (load/changes/save, etc.).

`man --all` brings up a window on all of the commands available in the 
tODE shell, and if you click on a command, the man page for the command 
will be displayed ...

Dale

[1] https://github.com/pharo-vcs/iceberg/issues/1239
[2] 
http://forum.world.st/First-steps-building-to-GS64-in-Travis-td5087443.html#a5087456
[3] https://github.com/GemTalk/Rowan/issues/486
[4] https://github.com/pharo-vcs/iceberg/issues/1239

On 5/30/19 12:21 PM, sergio ruiz via Glass wrote:
> Hey, all.
>
> I am starting a new project, and am looking at starting it from day 
> one using gemstones as the staging and production environment. I will 
> be using Pharo 7 as my dev environment.
>
> In getting GsDevKit and tODE set up, it looks like I can just create a 
> metacello project and develop away in Pharo7, then update my project 
> in the stone using tODE, and I’m good to go.
>
> Can I set up metacello to use the projects I set up in iceberg? it 
> almost seems like i need to be using monticello. Is there any up to 
> date documentation on how to do  this?
>
> Thanks!
>
> ----
> peace,
> sergio
> photographer, journalist, visionary
>
> Public Key: http://bit.ly/29z9fG0
> #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
> http://www.codeandmusic.com
> http://www.twitter.com/sergio_101
> http://www.facebook.com/sergio101
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/glass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gemtalksystems.com/mailman/private/glass/attachments/20190530/f95de508/attachment.html>


More information about the Glass mailing list