Using Monticello and SqueakSource and distributing packages

Timothy Rowledge tim at sumeru.stanford.edu
Tue Feb 17 01:37:22 UTC 2004


Perhaps I've missed some important mail, perhaps I'm just getting 
stupid or maybe nobody has actually written anything on the subject(s).

I'm attempting to use SqueakSource. The first problem was that (using 
Safari on panther) the register and package register pages both failed 
to return after pressing the 'do it' button - but did 'do it' ok. Next, 
I attempted to import my VMMaker3.7 .sar package and was told only 
.mcz's are allowed. Fair enough, though it doesn't tell you in advance. 
Whilst I can appreciate the desire to be concise on a webpage, perhaps 
SqS has gone a bit too far.

So the next step was to make a .mcz. There is a pathetic little page on 
the swiki with just barely enough info to create a package. Where is 
TFM for me to R ?  Even though I follwed the minimal guidelines, I seem 
to have a confused system right now. I created a package, then a 
repository; the file dialogue confused me into thinking that the {local 
dir}:package-cache directory was actually a single file ( I think that 
stupid little 'finder like' dialogues of that sort are a major crime 
against the UI ghods) so I simply chose my local dir. I now have 
apparently identical mcz files in BOTH places ie  {local 
dir}:VMMaker-tpr.2.mcz and {local dir}:package-cache:VMMaker-tpr.mcz 
that were written with a single 'save' button press. I'm sure that 
can't be what was intended. And it's probably unhealthy too. Maybe even 
infectious.

The MC browser seems a bit confusing. If I have several known 
repositories, should selecting one of them cause only the packages 
within it to be shown? Should selecting a package cause it's repository 
to be highlighted? Or the other reps to disappear? If the two lists are 
supposed to be fairly independent, I'd venture that they should be 
displayed in a vertical format to dissociate them a little cognitively. 
Of course, it's possible that TFM when R'd might make it seem obvious 
;-)

After loading my .sar file for VMMaker I was indeed able to save a .mcz 
and upload it to SqS at last.

Now the next question has to be what format should I be using to 
distribute the VMMaker package? And of course, how do I make it? I've 
been using a .sar because it allows a preamble/postscript to add 
temporary methods and cleanup after install.  It appears I can't simply 
install a .mcz file in the latest 5707 image, so I'm guessing that 
isn't the answer. How do I build a .sar from my installed package these 
days? Or do we expect everyone to install MC and hook up to the remote 
repository and so on?

tim




More information about the Squeak-dev mailing list