[Glass] Convert Git Package for Pharo into a Rowan package

Dale Henrichs dale.henrichs at gemtalksystems.com
Wed Aug 7 16:00:59 PDT 2024


No corrections for Jupiter's comments ...

$GEMSTONE/rowan3/bin contains several utility scripts for creating a Rowan3
project (createRowanProject.solo) and defining packages in a project (
addRowanProjectPackages.solo)... The createRowanProject.solo script can be
run directly against you project git directory. I can't remember what
the addRowanProjectPackages.solo
does if there are existing package directories ... it may just use the
existing directory or not??? Anyway if you run the scripts against a
freshly committed repo, you can repair damage ... if you rename your
existing package directory those two scripts can be run and then you should
move just the class files into the directories that were created ... ignore
the BaselineOf package, since it won't be used by Rowan ...

You can use JadeiteForDolphin to edit the code once it's been loaded into
GemStone, if you want ... I can give you additional details if needed ...

Dale

On Wed, Aug 7, 2024 at 1:55 PM Jupiter Jones via Glass <
glass at lists.gemtalksystems.com> wrote:

> Hi Reg,
>
> You shouldn’t need to convert any packages. Rowan can load from both tonel
> and file tree packages, however, I believe tonel is the default package
> format.
>
> All you should need to add is a rowan spec (which is kinda equivalent to a
> Metacello BaselineOf).
>
> So, you should be able to use the same repo for both Pharo and GemStone
> code, and have a Rowan spec for loading packages needed in GemStone, and a
> BaselineOfMyProject for packages needed in Pharo… until Rowan4Pharo is
> released and you can use Rowan for both.
>
> You can create the spec model in code (like we do with Baselines), then
> save it to a bunch of STON files, or simply create the ston files directly.
>
> Look in the “rowan” directory in GsDevKit_stones, superdoit, or
> gt4gemstone projects for examples of how to set up a rowan spec.
>
> GsDevKit should “one-click” load Rowan specs from a shell using:
>
> installProject.stone
> file:$pathToGitRepos/MyProject/rowan/specs/MyProject.ston  \
>         --projectsHome=$pathToGitRepos
>
> Hopefully Dale will correct where I’m wrong :)
>
> Cheers
> > On 8 Aug 2024, at 5:50 AM, Reg Krock via Glass <
> glass at lists.gemtalksystems.com> wrote:
> >
> > I am using Pharo 11 (glamorous toolkit) and I have a git repository
> LcsBase.
> >
> > What do I need to do to convert this to a Rowan package to load in to
> GemStone.
> >
> >
> > Operation System: OS/X on apple silicon
> > GemStone Version: 3.71.
> >
> > Thanks for your help.
> >
> > Reg
> > _______________________________________________
> > Glass mailing list
> > Glass at lists.gemtalksystems.com
> > https://lists.gemtalksystems.com/mailman/listinfo/glass
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/glass
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/archives/glass/attachments/20240807/f67992cf/attachment.htm>


More information about the Glass mailing list