Installing OmniBrowser

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Installing OmniBrowser

Chris Cunnington-4
I’m exploring SmaCC, which requires the Refactory. This sent me down several paths to try and install it. Extending The System’s script doesn’t work. [1] I tried a SqueakMap script using Colin’s last version [2] and it gives the same result, because it’s the same script. [1]
After finding that ConfigurationOfOmniBrowser has #version1241:, I realized I just needed to understand Metacello a little better to install OB and RB. Trial and error lead me to a script [3]. Clearly other people are doing this. Perhaps one of those people could take a look at my script and see if it could use improvement, as compared to their version. I imagine that ultimately Extending The System could be updated with a script that works.


[1]

(Installer ss project: 'MetacelloRepository') install: 'ConfigurationOfOmniBrowser'.
((Smalltalk at: #ConfigurationOfOmniBrowser) project perform: #lastVersion) load: #( Dev ).

[2]

SMSqueakMap default loadUpdates.
SMSqueakMap default
        installPackageNamed: 'OmniBrowser'
        version: '2.0.4’.

[3]

(Installer ss project: 'MetacelloRepository') install: 'ConfigurationOfOmniBrowser'.
((ConfigurationOfOmniBrowser project) version: #stable) load: #( Dev ).
cbc
Reply | Threaded
Open this post in threaded view
|

Re: Installing OmniBrowser

cbc
Another possibility is the use Monticello Configurations to load it.  I happen to have crafted one to load the packages, needing them for a similar reason before (attached).  It avoids the need to Monticello, if that matters.  Of course, my configuration is 2 years old now - you might want to update the packages after loading, if necessary.

Was there every a place to share Monticello Configurations?

-cbc

On Wed, Nov 12, 2014 at 8:29 AM, Chris Cunnington <[hidden email]> wrote:
I’m exploring SmaCC, which requires the Refactory. This sent me down several paths to try and install it. Extending The System’s script doesn’t work. [1] I tried a SqueakMap script using Colin’s last version [2] and it gives the same result, because it’s the same script. [1]
After finding that ConfigurationOfOmniBrowser has #version1241:, I realized I just needed to understand Metacello a little better to install OB and RB. Trial and error lead me to a script [3]. Clearly other people are doing this. Perhaps one of those people could take a look at my script and see if it could use improvement, as compared to their version. I imagine that ultimately Extending The System could be updated with a script that works.


[1]

(Installer ss project: 'MetacelloRepository') install: 'ConfigurationOfOmniBrowser'.
((Smalltalk at: #ConfigurationOfOmniBrowser) project perform: #lastVersion) load: #( Dev ).

[2]

SMSqueakMap default loadUpdates.
SMSqueakMap default
        installPackageNamed: 'OmniBrowser'
        version: '2.0.4’.

[3]

(Installer ss project: 'MetacelloRepository') install: 'ConfigurationOfOmniBrowser'.
((ConfigurationOfOmniBrowser project) version: #stable) load: #( Dev ).




OmniBrowser-cbc.2.mcm (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Installing OmniBrowser

Chris Cunnington-4

On Nov 12, 2014, at 12:35 PM, Chris Cunningham <[hidden email]> wrote:

Another possibility is the use Monticello Configurations to load it.  I happen to have crafted one to load the packages, needing them for a similar reason before (attached).  It avoids the need to Monticello, if that matters.  Of course, my configuration is 2 years old now - you might want to update the packages after loading, if necessary.

Was there every a place to share Monticello Configurations?

Very nice. I’ll try this out tomorrow. (I rotate projects and the SmaCC ticket has been punched for today.) This has the benefit of showing me how mcm files work, as I don’t know. The place to share this, I think would be SqueakMap as you can upload any file, script or source, and then specify which file you want people to use when they download. I’ll report back how it worked for me tomorrow. 

Thanks,
Chris 

-cbc

On Wed, Nov 12, 2014 at 8:29 AM, Chris Cunnington <[hidden email]> wrote:
I’m exploring SmaCC, which requires the Refactory. This sent me down several paths to try and install it. Extending The System’s script doesn’t work. [1] I tried a SqueakMap script using Colin’s last version [2] and it gives the same result, because it’s the same script. [1]
After finding that ConfigurationOfOmniBrowser has #version1241:, I realized I just needed to understand Metacello a little better to install OB and RB. Trial and error lead me to a script [3]. Clearly other people are doing this. Perhaps one of those people could take a look at my script and see if it could use improvement, as compared to their version. I imagine that ultimately Extending The System could be updated with a script that works.


[1]

(Installer ss project: 'MetacelloRepository') install: 'ConfigurationOfOmniBrowser'.
((Smalltalk at: #ConfigurationOfOmniBrowser) project perform: #lastVersion) load: #( Dev ).

[2]

SMSqueakMap default loadUpdates.
SMSqueakMap default
        installPackageNamed: 'OmniBrowser'
        version: '2.0.4’.

[3]

(Installer ss project: 'MetacelloRepository') install: 'ConfigurationOfOmniBrowser'.
((ConfigurationOfOmniBrowser project) version: #stable) load: #( Dev ).

<OmniBrowser-cbc.2.mcm>



Reply | Threaded
Open this post in threaded view
|

Re: Installing OmniBrowser

Kjell Godo
How does Smalltalk's 

ConfigurationOf...

and Metacello

compair to

Nix and NixOS

are they somewhat the same?

Can Smalltalk install atomically?  Uninstall atomically?

Can multiple versions of a Package be in the image at the same time?

Just wondering.

On Wednesday, November 12, 2014, Chris Cunnington <[hidden email]> wrote:

On Nov 12, 2014, at 12:35 PM, Chris Cunningham <<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;cunningham.cb@gmail.com&#39;);" target="_blank">cunningham.cb@...> wrote:

Another possibility is the use Monticello Configurations to load it.  I happen to have crafted one to load the packages, needing them for a similar reason before (attached).  It avoids the need to Monticello, if that matters.  Of course, my configuration is 2 years old now - you might want to update the packages after loading, if necessary.

Was there every a place to share Monticello Configurations?

Very nice. I’ll try this out tomorrow. (I rotate projects and the SmaCC ticket has been punched for today.) This has the benefit of showing me how mcm files work, as I don’t know. The place to share this, I think would be SqueakMap as you can upload any file, script or source, and then specify which file you want people to use when they download. I’ll report back how it worked for me tomorrow. 

Thanks,
Chris 

-cbc

On Wed, Nov 12, 2014 at 8:29 AM, Chris Cunnington <<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;brasspen@gmail.com&#39;);" target="_blank">brasspen@...> wrote:
I’m exploring SmaCC, which requires the Refactory. This sent me down several paths to try and install it. Extending The System’s script doesn’t work. [1] I tried a SqueakMap script using Colin’s last version [2] and it gives the same result, because it’s the same script. [1]
After finding that ConfigurationOfOmniBrowser has #version1241:, I realized I just needed to understand Metacello a little better to install OB and RB. Trial and error lead me to a script [3]. Clearly other people are doing this. Perhaps one of those people could take a look at my script and see if it could use improvement, as compared to their version. I imagine that ultimately Extending The System could be updated with a script that works.


[1]

(Installer ss project: 'MetacelloRepository') install: 'ConfigurationOfOmniBrowser'.
((Smalltalk at: #ConfigurationOfOmniBrowser) project perform: #lastVersion) load: #( Dev ).

[2]

SMSqueakMap default loadUpdates.
SMSqueakMap default
        installPackageNamed: 'OmniBrowser'
        version: '2.0.4’.

[3]

(Installer ss project: 'MetacelloRepository') install: 'ConfigurationOfOmniBrowser'.
((ConfigurationOfOmniBrowser project) version: #stable) load: #( Dev ).

<OmniBrowser-cbc.2.mcm>



Reply | Threaded
Open this post in threaded view
|

Re: Installing OmniBrowser

Colin Putney-3


On Wed, Nov 12, 2014 at 11:44 AM, Kjell Godo <[hidden email]> wrote:
How does Smalltalk's 

ConfigurationOf...

and Metacello

compair to

Nix and NixOS

are they somewhat the same?

Can Smalltalk install atomically?  Uninstall atomically?

Can multiple versions of a Package be in the image at the same time?

Just wondering.

Well, they both track dependencies, but other than that, they have very little in common. 

I've played around with building images with Nix, and have an *idea* of how to use Environments to build an image that's organized similar to a nix store, but haven't gone very far down that road.

-Colin