[squeak-dev] Monticello's Package Loading Strategy (Bug)
asqueaker at gmail.com
Wed Jun 28 21:30:04 UTC 2017
It's a good abstraction. MCMagmaRepository took advantage of it since
early on, and currently used by source.squeak.org for the "browse
revisions" and "browse origin" functions of the IDE. This wiki page
describes how to extend it to include one's own proprietary code, too.
On Wed, Jun 28, 2017 at 11:53 AM, Colin Putney <colin at wiresong.com> wrote:
> On Wed, Jun 28, 2017 at 4:15 AM, Bert Freudenberg <bert at freudenbergs.de>
>> Because MC has no concept of "files". Each repository can have a different
>> representation for how it stores a version (e.g. MCDictionaryRepository is
>> literally just a dictionary of MCVersions). That's why an MCVersion is
>> created by an MCReader when loading from a repo, and writing to a repo
>> invokes that repo's MCWriter.
> Agreed. How (and whether) MCVersions are serialized is an implementation
> detail of the repository implementation. Early on we expected more diversity
> of repository implementations - Magma, Gemstone, peer images etc. There was
> even a transactional store that got junked shortly before Avi started
> showing people what we were working on. In practice we seem to have settled
> on http and file repositories, so there does seem to be an opportunity for
> optimization. However, even if we make that optimization, extensions like
> TweakMC shouldn't rely on it to be able to function correctly.
More information about the Squeak-dev