[squeak-dev] The Inbox: DTL-internal-sources-dtl.11.mcz
David T. Lewis
lewis at mail.msen.com
Wed Jan 26 23:59:03 UTC 2022
Motivated by Marcel's critique and suggestions.
I expected that it would be complicated and error-prone to allow
writing a .sources file during normal use of the image, such as a
user enabling or disabling a preference for caching the sources file.
Then I tried implementing it, so that I could show Marcel why this
would be a Really Bad Idea.
Conclusion: Marcel is right. Hopefully I captured his intent here :-)
Dave
On Wed, Jan 26, 2022 at 11:32:37PM +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.11.mcz
>
> ==================== Summary ====================
>
> Name: DTL-internal-sources-dtl.11
> Author: dtl
> Time: 26 January 2022, 6:32:07.76362 pm
> UUID: 15a50e9e-e698-4734-85dc-3def11e5679f
> Ancestors: DTL-internal-sources-dtl.10
>
> Scenario: User selects 'Cache sources file' preference. Later the image is copied to another location possibly with no sources or stc file accessible. User de-selects 'Cache sources file' preference. System does this:
>
> - check if a .sources or .stc file can be found in the usual directories
> - if no, ask user if they want to save a sources file in the local image directory
> - if uses says yes, extract cached compressed sources and write a new .sources file
> - if any of the above fails, notify and do not change the preference
>
> =============== Diff against DTL-internal-sources-dtl.10 ===============
More information about the Squeak-dev
mailing list
|