<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 18, 2014 at 1:07 PM, Chris Muller <span dir="ltr">&lt;<a href="mailto:asqueaker@gmail.com" target="_blank">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"><div class="">On Tue, Mar 18, 2014 at 2:47 PM, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>

&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Mar 17, 2014 at 8:28 AM, Chris Muller &lt;<a href="mailto:ma.chris.m@gmail.com">ma.chris.m@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I don&#39;t know whether its possible to generate a .sources file that<br>
&gt;&gt; would contain full history,<br>
&gt;<br>
&gt;<br>
&gt; _yes it is_.  The only issue in preserving history is in pruning branches.<br>
&gt; There is no point preserving versions that are not ancestors of current<br>
&gt; versions.  And that&#39;s an easy process.  I have code that does this and<br>
&gt; Camillo just rewrote source condensing for Pharo and claims its much more<br>
&gt; comprehensible, so taking his code and getting it to preserve history while<br>
&gt; pruning could be another route.<br>
<br>
</div>How does your or Camillo&#39;s code work?  How could it possibly know what<br>
version of, say, Dictionary&gt;&gt;#at:put: was released to official Squeak<br>
2.8?  Are you parsing into some cold 2.8 image file from a 4.5 image?<br></blockquote><div><br></div><div>The code merely collects all available versions of each method, prunes the versions which have no descendents and writes all these methods to the sources file.  [I don&#39;t know how Camillo;s code works].  So this won&#39;t magically retrieve older versions, but it *will* preserve the history we have since the writing of the 4.1 sources file.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Even if you could identify all the CM&#39;s you still don&#39;t have the<br>
source for them.  You&#39;d have to then go looking into the cold image<br>
file, identify which .sources file its using, find the source-pointer<br>
for that method, THEN go into that sources file to extract it..<br></blockquote><div><br></div><div>That&#39;s not what it does.  What it does is condense preserving available history.  What we have no is condense, losing all available history.  As we accumulate more history so preserving extant history becomes more and more valuable, no?</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I just don&#39;t believe you or Camillo are attempting something this<br>
crazy -- hell just setting up all the images and sources would be a<br>
major pain.  But I see no other way to accomplish what Hannes was<br>
referring to as &quot;full history&quot;.  Tell me how it works, show me the<br>
code and how to use it, else I call bull-shit.  ;)<br></blockquote><div><br></div><div>But that&#39;s also quite possible and not that hard either.  A CHange List is a tool which can accomplish most of this.  It is a few days work.  But as I say, we can much more easily condense while preserving extant history.  Am I clearer now?</div>
</div><div>-- <br></div>best,<div>Eliot</div>
</div></div>