<br><br><div class="gmail_quote">On Fri, Mar 12, 2010 at 2:51 PM, Chris Muller <span dir="ltr">&lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
What do you mean, you want to get rid of ChangeSets?  Aren&#39;t they still useful?<br></blockquote><div><br></div><div>Not getting rid of the code supporting change sets, but throwing away all the instances of ChangeSet except those owned by the projects in the image and emptying those change sets of their change sets.  i.e. throwing away change set state, not behaviour.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
On Wed, Mar 10, 2010 at 3:26 AM, Bert Freudenberg &lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt; wrote:<br>
&gt; On 10.03.2010, at 07:27, Ronald Spengler wrote:<br>
&gt;&gt;<br>
&gt;&gt; Bert says ChangeSets should be removed from the release artifact. I<br>
&gt;&gt; need to know: does this entail sending condenseChanges to Smalltalk<br>
&gt;&gt; before sending condenseSources? Or should I open a change set browser<br>
&gt;&gt; and delete them?<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Casey Ransberger<br>
&gt;<br>
&gt; Got nothing to do with condenseChanges, that is just about the changes file, not the changesets in the image.<br>
&gt;<br>
&gt; Hmm, where did ReleaseBuilder go? It had a set of utilities for image cleanup. Like<br>
&gt;<br>
&gt; cleanUpChanges<br>
&gt;        &quot;Clean up the change sets&quot;<br>
&gt;<br>
&gt;        &quot;ReleaseBuilder new cleanUpChanges&quot;<br>
&gt;<br>
&gt;        | projectChangeSetNames |<br>
&gt;<br>
&gt;        &quot;Delete all changesets except those currently used by existing projects.&quot;<br>
&gt;        projectChangeSetNames _ Project allSubInstances collect: [:proj | proj changeSet name].<br>
&gt;        ChangeSorter removeChangeSetsNamedSuchThat:<br>
&gt;                [:cs | (projectChangeSetNames includes: cs) not].<br>
&gt;<br>
&gt; initialCleanup<br>
&gt;        &quot;Perform various image cleanups in preparation for making a Squeak gamma release candidate image.&quot;<br>
&gt;        &quot;ReleaseBuilder new initialCleanup&quot;<br>
&gt;<br>
&gt;        Undeclared removeUnreferencedKeys.<br>
&gt;        StandardScriptingSystem initialize.<br>
&gt;<br>
&gt;        (Object classPool at: #DependentsFields) size &gt; 1 ifTrue: [self error:&#39;Still have dependents&#39;].<br>
&gt;        &quot;Undeclared isEmpty ifFalse: [self error:&#39;Please clean out Undeclared&#39;].&quot;<br>
&gt;<br>
&gt;        Browser initialize.<br>
&gt;        ScriptingSystem deletePrivateGraphics.  &quot;?&quot;<br>
&gt;<br>
&gt;        self cleanUpChanges.<br>
&gt;        ChangeSet current clear.<br>
&gt;        ChangeSet current name: &#39;Unnamed1&#39;.<br>
&gt;        Smalltalk garbageCollect.<br>
&gt;<br>
&gt;        &quot;Reinitialize DataStream; it may hold on to some zapped entitities&quot;<br>
&gt;        DataStream initialize.<br>
&gt;<br>
&gt;        Smalltalk garbageCollect.<br>
&gt;        ScheduledControllers _ nil.<br>
&gt;        Smalltalk garbageCollect.<br>
&gt;<br>
&gt;        SMSqueakMap default purge.<br>
&gt;<br>
&gt; finalCleanup<br>
&gt;        &quot;ReleaseBuilder new finalCleanup&quot;<br>
&gt;<br>
&gt;<br>
&gt;        Smalltalk forgetDoIts.<br>
&gt;<br>
&gt;        DataStream initialize.<br>
&gt;        Behavior flushObsoleteSubclasses.<br>
&gt;<br>
&gt;        &quot;The pointer to currentMethod is not realy needed (anybody care to fix this) and often holds on to obsolete bindings&quot;<br>
&gt;        MethodChangeRecord allInstancesDo: [:each | each noteNewMethod: nil].<br>
&gt;<br>
&gt;        self cleanUpEtoys.<br>
&gt;        SmalltalkImage current fixObsoleteReferences.<br>
&gt;<br>
&gt;        self cleanUpChanges.<br>
&gt;        ChangeSet current clear.<br>
&gt;        ChangeSet current name: &#39;Unnamed1&#39;.<br>
&gt;<br>
&gt;        Smalltalk flushClassNameCache.<br>
&gt;        3 timesRepeat: [<br>
&gt;                Smalltalk garbageCollect.<br>
&gt;                Symbol compactSymbolTable.<br>
&gt;        ].<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; - Bert -<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</blockquote></div><br>