[squeak-dev] The Inbox: MonticelloConfigurations-jr.180.mcz

Jakob Reschke jakres+squeak at gmail.com
Thu Aug 25 20:20:54 UTC 2022


Today I found out that the narrow middle pane in the configuration browser
is the repositories list. Earlier I did not even notice that this was a
list or requires my attention. Because like in every Squeak tool, the empty
lists are not labelled. 🤷‍♂️

This makes the version MonticelloConfigurations-jr.180 kind of obsolete.
Unless we want to prevent users ending up in the debugger if they do
produce or copy a configuration without repositories.


Am So., 21. Aug. 2022 um 21:34 Uhr schrieb Jakob Reschke <
jakres+squeak at gmail.com>:

> Caution: I do not know whether it is ok to just leave you the 'repository'
> stanza from the file that is being written here. If not, this needs to be
> changed differently. Maybe that is also the reason why the configuration I
> submitted to Inbox did not have an email sent to the list...?
>
> Am So., 21. Aug. 2022 um 21:32 Uhr schrieb <commits at source.squeak.org>:
>
>> A new version of MonticelloConfigurations was added to project The Inbox:
>> http://source.squeak.org/inbox/MonticelloConfigurations-jr.180.mcz
>>
>> ==================== Summary ====================
>>
>> Name: MonticelloConfigurations-jr.180
>> Author: jr
>> Time: 21 August 2022, 9:32:31.163081 pm
>> UUID: 3ad77782-9f0f-664c-a386-b309e153563e
>> Ancestors: MonticelloConfigurations-mt.179
>>
>> Fix: could not copy a configuration from a directory repository to the
>> inbox because the repositories were nil.
>>
>> Actually, I did not find any UI to set the repositories of a
>> configuration. MCConfiguationBrowser does have a #repositories: setter, but
>> I do not see a button or menu item (or a sender method) that would invoke
>> it.
>>
>> =============== Diff against MonticelloConfigurations-mt.179
>> ===============
>>
>> Item was changed:
>>   ----- Method: MCConfiguration>>contentsOn:keyPrefix: (in category
>> 'printing') -----
>>   contentsOn: aStream keyPrefix: prefix
>>         "Prepend prefix to key values. If the prefix is a non-empty
>> string, the resulting
>>         key values will be ignored when parsing an original format
>> MCConfiguration
>>         from an extended format MCM file. This provides backward
>> compatibility for
>>         older images that need to read newer format MCM files."
>>
>>         name ifNotNil: [:n |
>>                 aStream cr.
>>                 aStream nextPutAll: prefix,'name '.
>>                 aStream print: n].
>>
>> +       repositories ifNotNil: [repositories do: [:ea |
>> -       repositories do: [:ea |
>>                 aStream cr.
>>                 aStream nextPutAll: prefix,'repository '.
>> +               (MCConfiguration repositoryToArray: ea) printElementsOn:
>> aStream]].
>> -               (MCConfiguration repositoryToArray: ea) printElementsOn:
>> aStream].
>>
>>         dependencies do: [:ea |
>>                 aStream cr.
>>                 aStream nextPutAll: prefix,'dependency '.
>>                 (MCConfiguration dependencyToArray: ea) printElementsOn:
>> aStream].
>>   !
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220825/02f8998b/attachment.html>


More information about the Squeak-dev mailing list