Monticello

Bert Freudenberg bert at freudenbergs.de
Tue Dec 12 00:10:32 UTC 2006


On Dec 11, 2006, at 15:08 , Ramon Leon wrote:

> Anyone know how to script Monticello to load the latest version of  
> a package
> by name, from a given repository?

(MCConfiguration fromArray: #(
	repository ('http://host.domain/repo')
	dependency ('PkgName' 'PkgName-ai.1'  
'00000000-0000-0000-0000-000000000000')
) ) updateFromRepositories; upgrade.

Of course, you can give multiple repositories and packages. For  
testing, you could #browse instead of #upgrade. Also, #upgrade is  
smart to not overload a newer version in the image. If needed, you  
could use #load or #merge instead.

- Bert -





More information about the Squeak-dev mailing list