[squeak-dev] The Trunk: 60Deprecated-mt.16.mcz

Eliot Miranda eliot.miranda at gmail.com
Tue Apr 17 14:30:45 UTC 2018


Hi Marcel,


> On Apr 17, 2018, at 7:18 AM, Marcel Taeumel <marcel.taeumel at hpi.de> wrote:
> 
> Hi Eliot,
> 
> sure, it is:
> 
> Deprecation showDeprecationWarnings: false.

Doh.. of course; excuse me.  Perhaps we should apply this preference when running any script.  The rationale being that the system may change, breaking existing scripts, and going back and editing all scripts is expensive.  Whereas arranging to show no deprecation warnings (or merely report them to the transcript?) is cheap.

> 
> At the moment, it is just a timing issue. Fabio has to update several scripts to disable the deprecation warnings. I think that he will do that soon, and then we can revert this change again.

And that seems to me the wrong response.  Scripts should keep working for as long as possible given that we're using them more and more.  Do you agree?


> 
> Best,
> Marcel
>> Am 17.04.2018 15:59:51 schrieb Eliot Miranda <eliot.miranda at gmail.com>:
>> 
>> Hi Marcel,
>> 
>> can't we have a preference which silences deprecation warnings? Lots of scripts could use something like this. We shouldn't have to hack valid depreciations to get around the reporting of those depreciations.
>> 
>> _,,,^..^,,,_ (phone)
>> 
>> > On Apr 17, 2018, at 5:51 AM, commits at source.squeak.org wrote:
>> > 
>> > Marcel Taeumel uploaded a new version of 60Deprecated to project The Trunk:
>> > http://source.squeak.org/trunk/60Deprecated-mt.16.mcz
>> > 
>> > ==================== Summary ====================
>> > 
>> > Name: 60Deprecated-mt.16
>> > Author: mt
>> > Time: 17 April 2018, 3:51:45.699445 pm
>> > UUID: e6549fe4-aa5a-284e-83bb-c7d065f867f0
>> > Ancestors: 60Deprecated-mt.15
>> > 
>> > Avoid explicit deprecation warning to keep smalltalkCI working.
>> > 
>> > See: https://github.com/hpi-swa/smalltalkCI/issues/368
>> > 
>> > =============== Diff against 60Deprecated-mt.15 ===============
>> > 
>> > Item was changed:
>> > ----- Method: Utilities class>>setAuthorInitials: (in category '*60Deprecated-identification') -----
>> > setAuthorInitials: aString
>> > 
>> > + "mt: Not now (17/04/2018) for SmalltalkCI. See: https://github.com/hpi-swa/smalltalkCI/issues/368
>> > + self deprecated: 'Use #authorInitials:.'."
>> > + 
>> > - self deprecated: 'Use #authorInitials:.'.
>> > self authorInitials: aString.!
>> > 
>> > 
>> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180417/be4997b4/attachment.html>


More information about the Squeak-dev mailing list