MCM configuration versioning active on source.squeak.org

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

MCM configuration versioning active on source.squeak.org

David T. Lewis
The source.squeak.org server now has MonticelloConfigurations-dtl.161
installed, so both squeaksource.com and source.squeak.org will now save
MCM configurations with comments and version information.

It may be necessary to do MCFileBasedRepository flushAllCaches in your
image, but afterwards the version information will be present for newly
saved MCM configs. Try browsing update-dtl.483.mcm for an example.

See MonticelloConfigurations-dtl.161 for details:

Name: MonticelloConfigurations-dtl.161
Time: 9 May 2020, 10:22:36.276105 am

A MCConfigurationExtended is a configuration with author initials, timestamp,
UUID identifier, comment, and a list of prior versions. Its external storage
format is organized for compatibility with MCConfiguration, such that an
image wtih support for only MCConfiguration can use configurations saved
from a MCConfigurationExtended.

The intended use is to enable documentation of configuration maps, and to
allow modifications to a configuration map without loss of version history.

When editing an MCConfiguration, a copyForEdit of the configuration is modfied,
leaving the prior configuration in the version history. When saving an edited
version, an editor window allows a version comment to be entered for the new
configuration. Version history for a saved MCConfiguration is trimmed to a
maximum of 10 prior versions to maintain reasonable storage size. Full version
history can be reconstructed based on the UUID identifiers.

MCConfigurationBrowser provides a "Versions" button to open an explorer
on the version history of a configuration. No other support for browsing
version history and comments is provided.

MCConfigurationExtended is fully backward compatible such that saved versions
will be rendered as simple MCConfiguration without version history in an
image that lacks support for the extended format.

A SqueakSource server must have this update applied before it can render
a saved MCConfigurationExtended.