[ANN] SqueakMap Package Loader (0.9)

squeak-dev at lists.squeakfoundation.org squeak-dev at lists.squeakfoundation.org
Fri Oct 18 17:27:11 UTC 2002


With various small fixes. 

Available at SqueakMap, see entry -
http://marvin.bluefish.se:8000/sm/package/047a3b12-7e52-4c5d-be8b-d06635
fc4f1c/

Please try it out and let me know if you find any problems, otherwise you're somewhat likely to have to live with them in 3.2 for quite a while...

In my attempt to mechanize loading new versions of my packages, using
DVS, I created this snippet you might find useful or have improvements
to:

versionNumber _ 3.
packageName _ 'SM-Loader'.
pi _ PackageInfo named: packageName.
pi manager fileOut.
packagedFileName _ packageName, FileDirectory dot, versionNumber
asString,FileDirectory dot, 'cs'.
FileDirectory default rename:  packageName, '.st' toBe:
packagedFileName.
(FileDirectory default fileNamed: packagedFileName) compressFile.
compressedFile _ FileDirectory default fileNamed:
packagedFileName,'.gz'.

sd _ ServerDirectory new.
sd  user: 'dvf';
	server: 'modules.squeakfoundation.org';
	password: '*****';
	directory: 'Packages/';
	putFile:  compressedFile named:  packagedFileName,'.gz'.

This will be even nicer when we have an API for updating the SqueakMap
registration, and integrate all of it into the Browser. Which is not all
that far off...

Daniel Vainsencher



More information about the Squeak-dev mailing list