<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Dale,<div class=""><br class=""></div><div class="">I tried to provide relevant snippets, as you asked.</div><div class="">Next, I will see if this also happens with the load of Grease (e.g.) so it can be repeated outside of our codebase.</div><div class=""><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div dir="ltr" class=""><div class="">I'm not sure, since I'm not exactly sure what is going wrong, but it sounds like it could be a bug ... So I need to see the Transcript output for the 3(?) different scenarios:</div><div class=""><ol class=""><li class=""> load and update</li></ol></div></div></blockquote><div>The first load:</div><div><br class=""></div><div>topaz 1> doit<br class="">Metacello new<br class="">  baseline:'Yesplan';<br class="">  repository: '<a href="filetree:///home/yesplan/localrepositories/Yesplan/smalltalk-src" class="">filetree:///home/yesplan/localrepositories/Yesplan/smalltalk-src</a>';<br class="">  get<br class="">%<br class="">--transcript--'Fetched -> BaselineOfYesplan-cypress.1 --- <a href="filetree:///home/yesplan/localrepositories/Yesplan/smalltalk-src" class="">filetree:///home/yesplan/localrepositories/Yesplan/smalltalk-src</a> [5e2c7405ac:develop] --- <a href="filetree:///home/yesplan/localrepositories/Yesplan/smalltalk-src'" class="">filetree:///home/yesplan/localrepositories/Yesplan/smalltalk-src'</a><br class="">--transcript--'Loaded -> BaselineOfYesplan-cypress.1 --- <a href="filetree:///home/yesplan/localrepositories/Yesplan/smalltalk-src" class="">filetree:///home/yesplan/localrepositories/Yesplan/smalltalk-src</a> [5e2c7405ac:develop] --- <a href="filetree:///home/yesplan/localrepositories/Yesplan/smalltalk-src'" class="">filetree:///home/yesplan/localrepositories/Yesplan/smalltalk-src'</a><br class="">[43492353 sz:9 cls: 133461505 MetacelloCypressBaselineProject] aMetacelloCypressBaselineProject<br class="">topaz 1></div><div><br class=""></div><div>We then execute:</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>BaselineOfYesplan loadScript</div><div><br class=""></div><div>The implementation of `loadScript` is below. This works as expected and loads the project. I don’t include all the details as the issue is not with the loading of the code but rather updating the `BaselineOfYesplan`</div><div><br class=""></div><div><div><span class="Apple-tab-span" style="white-space:pre">      </span>Metacello new</div><div>   <span class="Apple-tab-span" style="white-space:pre">           </span>baseline: 'Yesplan';</div><div><span class="Apple-tab-span" style="white-space:pre">         </span>repository: yesplanSourceRepo;</div><div>  <span class="Apple-tab-span" style="white-space:pre">                </span>repositoryOverrides: (repos collect:[ :r | r description ]), { yesplanSourceRepo };</div><div><span class="Apple-tab-span" style="white-space:pre">          </span>onLock: [ :ex | ex honor ];</div><div><span class="Apple-tab-span" style="white-space:pre">          </span>onConflict: [ :ex | ….  ];</div><div>  <span class="Apple-tab-span" style="white-space:pre">             </span>load: 'NextPlan-Core’.</div><div>       self reloadPatchesIfRequired “this checks for dirty ‘Patches’ packages and reloads them using Gofer"</div></div><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><ol class="" start="2"><li class="">failed load of "change"</li></ol></div></div></div></blockquote><div>Now, suppose we change a part of the `loadScript`. We add the following statement at the end:</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">   </span> self reloadPatchesIfRequired “this checks for dirty ‘Patches’ packages and reloads them using Gofer"</div><div><br class=""></div><div>We update the git repository with the filetree sources and trigger a ‘Metacello get’ for the BaselineOfYesplan:</div><div><br class=""></div><div>topaz 1> doit<br class="">Metacello new<br class=""> <span class="Apple-tab-span" style="white-space:pre"> </span>baseline:'Yesplan';<br class=""> <span class="Apple-tab-span" style="white-space:pre">      </span>repository: '<a href="filetree:///home/yesplan/localrepositories/Yesplan/smalltalk-src" class="">filetree:///home/yesplan/localrepositories/Yesplan/smalltalk-src</a>';<br class=""> <span class="Apple-tab-span" style="white-space:pre">  </span>get<br class="">%<br class="">[46734081 sz:9 cls: 133461505 MetacelloCypressBaselineProject] aMetacelloCypressBaselineProject</div><div><br class=""></div><div>At this point, we change to our `loadScript` was not loaded. The BaselineOfYesplan is still the ‘old’ version.</div><div>As a consequence, when we load, the change we made to the `loadScript` is not used.</div><div><br class=""></div><div>However, _after_ executing the `loadScript`, the new version of `BaselineOfYesplan` _is_ loaded. So, a repeated executing will use the change.</div><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><ol class="" start="3"><li class="">workaround for failed load of "change"</li></ol></div></div></div></blockquote><div>The workaround for now is to replace `Metacello get’ step with the followin. The change to `loadScript` is then loaded, though the transcript does not say much.</div><div><br class=""></div><div>topaz 1> doit<br class="">Gofer new<br class="">   repository: (MCRepositoryGroup default repositories detect: [ :repository |repository description = '<a href="filetree:///home/yesplan/localrepositories/Yesplan/smalltalk-src" class="">filetree:///home/yesplan/localrepositories/Yesplan/smalltalk-src</a>' ]);<br class="">   package: 'BaselineOfYesplan';<br class="">   load<br class="">%<br class="">[53617921 sz:2 cls: 36914177 GoferLoad] aGoferLoad<br class="">topaz 1> </div><div><br class=""></div><div>As you can see, we are using the MetacelloCypressBaselineProject.</div><div><br class=""></div><div>I do understand it correctly that `get` should load the updated BaselineOf? I tried using a `fetch`, which does load it but it will also load all other referenced BaselineOf and ConfigurationOf. Something that is undesirable at this point though.</div><div><br class=""></div><div>Cheers</div><div>Johan</div></div></div></div></body></html>