[squeak-dev] Removing of Universe classes

Levente Uzonyi leves at elte.hu
Wed Nov 25 16:51:00 UTC 2015


On Wed, 25 Nov 2015, Frank Shearar wrote:

> On 25 November 2015 at 13:59, Edgar J. De Cleene <edgardec2005 at gmail.com> wrote:
>>
>> Any code changing the image as loading a package from trunk should end in a
>> numbered change set.
>>
>> This is how Cuis works and how Squeak should work.
>>
>> And please , get rid of Squeak-Version also.
>> As we have automatic procedures, we should have a way of made reliable
>> change sets and put this change sets in GitHub
>
> We can't, without a fair amount of work. Your squeak "version" is the
> sum of versions of all the base packages. When we remove packages from
> the base system, we must bump Squeak-Version's version by the removed
> package's version number, so that the aggregate version number doesn't
> decrease.
>
> It's a bit crazy (because if you and I both have packages Foo and Bar,
> but my Foo is one version ahead of yours, and my Bar one version
> behind, the aggregate version number is the same), but it's what's
> there. And fixing it won't be easy - to do it reliably you'd have to
> record the versions of the individual packages - you'd have a _version
> vector_.

I don't think there's anything to fix here. The version number is only 
meaningful in a Trunk image, and it only has to be consistent after 
updates. So it does exactly what it has to do.

Levente

>
> frank
>
>> On 11/25/15, 10:50 AM, "Levente Uzonyi" <leves at elte.hu> wrote:
>>
>>> This question comes up from time to time.
>>> There's an empty package named Squeak-Version in the image. When you
>>> unload a package, let's say Universes-mt.48, you add 49 (48 + 1) to the
>>> version number of Squeak-Version and save it as well to ensure that the
>>> global Squeak version number keeps increasing.
>>>
>>> Levente
>
>


More information about the Squeak-dev mailing list