<div dir="ltr">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. 🤷‍♂️<div><br></div><div>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.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am So., 21. Aug. 2022 um 21:34 Uhr schrieb Jakob Reschke <<a href="mailto:jakres%2Bsqueak@gmail.com">jakres+squeak@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">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...?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am So., 21. Aug. 2022 um 21:32 Uhr schrieb <<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">A new version of MonticelloConfigurations was added to project The Inbox:<br>
<a href="http://source.squeak.org/inbox/MonticelloConfigurations-jr.180.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/inbox/MonticelloConfigurations-jr.180.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: MonticelloConfigurations-jr.180<br>
Author: jr<br>
Time: 21 August 2022, 9:32:31.163081 pm<br>
UUID: 3ad77782-9f0f-664c-a386-b309e153563e<br>
Ancestors: MonticelloConfigurations-mt.179<br>
<br>
Fix: could not copy a configuration from a directory repository to the inbox because the repositories were nil.<br>
<br>
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.<br>
<br>
=============== Diff against MonticelloConfigurations-mt.179 ===============<br>
<br>
Item was changed:<br>
  ----- Method: MCConfiguration>>contentsOn:keyPrefix: (in category 'printing') -----<br>
  contentsOn: aStream keyPrefix: prefix<br>
        "Prepend prefix to key values. If the prefix is a non-empty string, the resulting<br>
        key values will be ignored when parsing an original format MCConfiguration<br>
        from an extended format MCM file. This provides backward compatibility for<br>
        older images that need to read newer format MCM files."<br>
<br>
        name ifNotNil: [:n |<br>
                aStream cr.<br>
                aStream nextPutAll: prefix,'name '. <br>
                aStream print: n].<br>
<br>
+       repositories ifNotNil: [repositories do: [:ea | <br>
-       repositories do: [:ea | <br>
                aStream cr.<br>
                aStream nextPutAll: prefix,'repository '.<br>
+               (MCConfiguration repositoryToArray: ea) printElementsOn: aStream]].<br>
-               (MCConfiguration repositoryToArray: ea) printElementsOn: aStream].<br>
<br>
        dependencies do: [:ea | <br>
                aStream cr.<br>
                aStream nextPutAll: prefix,'dependency '.<br>
                (MCConfiguration dependencyToArray: ea) printElementsOn: aStream].<br>
  !<br>
<br>
<br>
</blockquote></div>
</blockquote></div>