[squeak-dev] Condensing sources for a new release

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Thu Feb 6 21:21:48 UTC 2020


Another possibility is to hook an image to a sources file:

Open a newChanges file

Pass 1: scan the newSources file, and for each method/class comment found
and also in image,
if sourceCode+timestamp matches, record method->new source position
else append sourceCode to new changes, record method->new changes position.

Pass 2: scan all existing method/class comment in image
if found in recorded, alter remembered sourceCode position
else  append sourceCode to new changes, alter remembered sourceCode position

changes the sources and changes to newSources and newChanges

Le jeu. 6 févr. 2020 à 22:05, tim Rowledge <tim at rowledge.org> a écrit :

> At yesterday's board meeting we discussed the possibility of condensing
> the sources file for the new release; we don't do this often, and usually
> for major releases but it after all five years since the last time and the
> changes file has got quite large.
>
> So as an experiment we thought of
>  - take a 5.2-19299 image (ie just the start of post-5.2)
>  - condense the sources
>  - update to latest (19335)
> ... hopefully resulting in a small changes file of everything changed from
> 5.2 to now.
>
> Happily this process worked without any hitches on my iMac and I now have:
> image -> 44.4MB
> changes -> 144KB
> sources -> 50MB
>
> The sources file has grown rather a lot from 35.2 to 50MB. I had thought
> that might be due to adding the EToys stuff but that was there in the 5.0
> release anyway. The image has also grown from 5.0 (35.6MB) to 44.4. That's
> quite a lot.
>
> Now an interesting question is the most effective way to make a 32bit
> image release to use the same source file. Let's see if condensing sources
> & updating a 18229-32bit image results in an image that can use the same
> sources file...
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> ...now touch these wires to your tongue!
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200206/1cd2e572/attachment.html>


More information about the Squeak-dev mailing list