[squeak-dev] Non-pragma preferences (was: The Inbox: System-ct.1243.mcz)

Marcel Taeumel marcel.taeumel at hpi.de
Mon Nov 22 15:25:06 UTC 2021


Pragma preferences have their own disadvantages. It might be not that easy to find a good package to host a new pragma preference without disturbing the dependencies.

Let's change that one by one. And maybe to this at the beginning of a release cycle, not the end. ;-)

Best,
Marcel 
Am 22.11.2021 15:35:58 schrieb christoph.thiede at student.hpi.uni-potsdam.de <christoph.thiede at student.hpi.uni-potsdam.de>:
Hi Levente, hi all,

> There really shouldn't be any non-pragma preferences in today's images.

shall I take a run-up and migrate all of them to pragma preferences which are still used (see also deleteUnusedPrefs.1.cs [1] [http://lists.squeakfoundation.org/pipermail/squeak-dev/2021-November/216925.html])? Or is it also okay to replace a single preference whenever I encounter and would like to update it? :-)

Best,
Christoph

[1] http://lists.squeakfoundation.org/pipermail/squeak-dev/2021-November/216925.html [http://lists.squeakfoundation.org/pipermail/squeak-dev/2021-November/216925.html]

---
Sent from Squeak Inbox Talk [https://github.com/hpi-swa-lab/squeak-inbox-talk]

On 2021-10-05T16:53:18+02:00, leves at caesar.elte.hu wrote:

> Hi Christoph,
>
> On Sun, 3 Oct 2021, commits at source.squeak.org wrote:
>
> > A new version of System was added to project The Inbox:
> > http://source.squeak.org/inbox/System-ct.1243.mcz
> >
> > ==================== Summary ====================
> >
> > Name: System-ct.1243
> > Author: ct
> > Time: 3 October 2021, 3:36:22.748874 pm
> > UUID: a60b721f-3e4e-5f4c-8cce-7f8ca452807f
> > Ancestors: System-mt.1241
> >
> > Categories an unclassified preference.
> >
> > Please review the protocol I chose for modifying the preference - is there really no manifestation of these old-style preferences in the source code?
>
> There really shouldn't be any non-pragma preferences in today's images.
>
> >
> > =============== Diff against System-mt.1241 ===============
> >
> > Item was changed:
> > + (PackageInfo named: 'System') postscript: '(Preferences preferenceAt: #debugLogTimestamp) categoryList: #(''debug'').'!
>
> I noticed that you used a string for the category name but all the other
> preferences in my image have symbol caregory names. So, perhaps this one
> should be a symbol too.
>
>
> Levente
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211122/a7a73649/attachment.html>


More information about the Squeak-dev mailing list