[squeak-dev] The Inbox: DTL-internal-sources-dtl.4.mcz
marcel.taeumel at hpi.de
Mon Jan 24 08:06:14 UTC 2022
Hi Chris --
> In any case, this is an improvement I hope we can squeeze into the next release.
As a preference? Maybe. Will the next release in include the .sources file in the image? Very unlikely. There is no practical benefit for release/app bundling at this point.
See: http://lists.squeakfoundation.org/pipermail/squeak-dev/2022-January/218448.html [http://lists.squeakfoundation.org/pipermail/squeak-dev/2022-January/218448.html]
Am 21.01.2022 04:44:00 schrieb Chris Muller <asqueaker at gmail.com>:
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 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev