[squeak-dev] The Inbox: DTL-internal-sources-dtl.4.mcz
asqueaker at gmail.com
Fri Jan 21 03:43:12 UTC 2022
Neat idea. It should allow a slight reduction in complexity of
deployment (one less file), while dodging that turn-off and deterrent
for new users when they encounter the "missing sources" warning
I didn't look at the implementation, just the API, and would like to
ask your thoughts about synchronicity with the .sources file. Does
the cached object know which .sources file (version) it is? In case
the .sources files is updated from the version the cached object is
created from, and the user selects #clearCachedSources, what would
happen? Some way for the user to "update" their cached sources.
I guess it should be fine since the .sources file is 100% static. As
long as the .sources file is the same as the cached object, the system
can be toggled back even after a lot of work. It's the .changes file
that is continually updated, and this doesn't concern that file,
In any case, this is an improvement I hope we can squeeze into the
next release. Thanks for doing it!
#resetCachedSources message. relative to "going back and forth"
On Tue, Jan 18, 2022 at 9:08 PM David T. Lewis <lewis at mail.msen.com> wrote:
> On Wed, Jan 19, 2022 at 03:04:57AM +0000, commits at source.squeak.org wrote:
> > A new version of DTL-internal-sources was added to project The Inbox:
> > http://source.squeak.org/inbox/DTL-internal-sources-dtl.4.mcz
> > ==================== Summary ====================
> > Name: DTL-internal-sources-dtl.4
> > Author: dtl
> > Time: 18 January 2022, 9:51:18.957782 pm
> > UUID: e8cfc8eb-75b2-4b42-acf5-6cc17e0d455c
> > Ancestors: DTL-internal-sources-dtl.3
> > Move the internalized sources holder to a class var in CompressedSources to simplify package dependencies. Use #initializeCachedSources and #clearCachedSources to set or clear the internal sources. Override FileDirectory class>>#openSources:forImage: in this package (sorry) to look for the internalized CompressedSources.
> > Package postscript calls #initializeCachedSources to build cached sources and begin using them.
> > ==================== Snapshot ====================
> For evaluation. See discussion beginning at:
> Save your image first. Apologies for the one package override.
More information about the Squeak-dev