[squeak-dev] Installer metacello
Marcel Taeumel
marcel.taeumel at hpi.de
Thu Apr 30 07:49:41 UTC 2020
> Because that would essentially be Metcallo itself.
I think an additional way through the Installer protocol wouldn't hurt. Maybe "Installer metacello" could just return "Metacello new". Or directly map the #install call to Metacello in a custom InstallerMetacello as suggested:
Installer metacello "returns a new InstallerMetacello"
package: 'Xtreams'; "maps auto-magically to ConfigurationOfXtreams"
install.
Best,
Marcel
Am 29.04.2020 23:03:23 schrieb Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>:
Ah yes OK, I thought it could ensureRecentMetacello, but I see that MetacelloStub is doing that...
Le mer. 29 avr. 2020 à 22:06, Tobias Pape <Das.Linux at gmx.de [mailto:Das.Linux at gmx.de]> a écrit :
> On 29.04.2020, at 21:36, Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com [mailto:nicolas.cellier.aka.nice at gmail.com]> wrote:
>
> Hi all,
> I wonder why we haven't an InstallerMetacello flavour?
> We could write things like:
> Installer metacello configurationOf: 'Xtreams'; version: #stable; load.
>
> It would pick the Configuration in default repository (http://www.squeaksource.com//MetacelloRepository [http://www.squeaksource.com//MetacelloRepository]). Of course, we could change that with Installer metacello repository: 'http://foobar.com [http://foobar.com]' etc...
Because that would essentially be Metcallo itself.
Try it:
Metacello new
configuration: 'Xtreams';
version: #stable;
load
Best regards
-Tobias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200430/7c50f6d1/attachment.html>
More information about the Squeak-dev
mailing list
|