[squeak-dev] [Ann] Monticello15 File support (alpha)

Keith Hodges keith_hodges at yahoo.co.uk
Sun Dec 7 05:03:54 UTC 2008


Seasons Greetings Everyone,

Monticello 1.5 "FINALLY" supports files.

I have set LevelPlayingField to load this new version of MC1.5 If anyone
has any problems with it do let me know asap.

Keith

========

PackageInfo comment reads:

External Files Support
================

The default implementation of the two methods below considers all files
and directories (with their contents) matching the package name to be
part of the package.

#externalFiles
#externalFilesMatches

e.g. package name 'Release'.

files matching would include:

Release.text
Release/Introduction.text
Release/Tutorial/ch1.text

External Files Support - Monticello
========================================
*Only file based repositories (i.e. .mcz files) are supported at present

Since your external files will change far less than your code, it is
recommended that you
use a separate package to manage files in order to save space and time.

Files are included in the .mcz (which is a standard zip archive)
as files/* according to the pattern files/<uuid>/<path>/<to>/<file>

*note: the uuid will change with every snapshot, it is unique to that
file in that snapshot
*note: in changes browsers the file is considered to be changed if the
fileSize has changed.

Snapshotting a package with files uses a temporary directory in
package-cache/files
The #flushCachedVersions menu item deletes this directory.




More information about the Squeak-dev mailing list