<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Hi David,  Hi All,</div><div><br></div><div>   I see a couple of issues with the update map name I can&#39;t solve.  First, the change made in May to use a default McMcmUpdater instance means that the update map name is cached in the instance and I don&#39;t see how changing it in the Preferences browser would either flush the default instance or update the default instance&#39;s updateMapName.  Second, changing the update map name in the Preferences browser has no effect.  This seems to be because there&#39;s a conflict between the instance creation message for an McMcmUpdater:</div><div><br></div><div><div>McMcmUpdater class&gt;&gt;updateMapName: baseName</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&quot;Answer a new instance with a base update name baseName such as</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&#39;update&#39; or &#39;update.oscog&#39; &quot;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>^ self new updateMapName: baseName</div></div></div><div><br></div><div>and that this is used as the default setter for the preference:</div><div><br></div><div><div>McMcmUpdater class&gt;&gt;updateMapName</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&quot;Name for update map, without version info&quot;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;preference: &#39;Update map name&#39;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>category: &#39;updates&#39;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>description: &#39;Base name for the update maps&#39;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>type: #String&gt;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>^UpdateMapName ifNil: [&#39;update&#39;]</div></div><div><br></div><div>So I guess that we could rename the instance creation message to be forUpdateMapName: or simply nuke it.  i.e. this</div><div><br></div><div><div>McMcmUpdater class&gt;&gt;default</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&quot;The default instance for system updates. Uses a default update map</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>name that may be set as a preference to enable a specific update stream</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>for a repository.&quot;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>^ self updaters</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>at: self defaultUpdateURL</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>ifAbsentPut: [self updateMapName: self updateMapName]</div></div><div><br></div><div>would become</div><div><br></div><div><div>McMcmUpdater class&gt;&gt;default</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&quot;The default instance for system updates. Uses a default update map</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>name that may be set as a preference to enable a specific update stream</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>for a repository.&quot;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>^ self updaters</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>at: self defaultUpdateURL</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>ifAbsentPut: [self forUpdateMapName: self updateMapName]</div></div><div><br></div><div>or</div><div><br></div><div><div>McMcmUpdater class&gt;&gt;default</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&quot;The default instance for system updates. Uses a default update map</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>name that may be set as a preference to enable a specific update stream</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>for a repository.&quot;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>^ self updaters</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>at: self defaultUpdateURL</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>ifAbsentPut: [self new updateMapName: self updateMapName]</div></div><div><br></div><div>and updateMapName: would become</div><div><br></div><div>McMcmUpdater class&gt;&gt; updateMapName: aString<br></div><div><br></div><span class="Apple-tab-span" style="white-space:pre">        </span>UpdateMapName := aString</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>