<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Teach dashboard code to compare non-integer revisions."
   href="https://bugs.webkit.org/show_bug.cgi?id=152345#c16">Comment # 16</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Teach dashboard code to compare non-integer revisions."
   href="https://bugs.webkit.org/show_bug.cgi?id=152345">bug 152345</a>
              from <span class="vcard"><a class="email" href="mailto:jmarcell&#64;apple.com" title="Jason Marcell &lt;jmarcell&#64;apple.com&gt;"> <span class="fn">Jason Marcell</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=152345#c9">comment #9</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=152345#c7">comment #7</a>)
&gt; &gt; Comment on <span class="bz_obsolete"><a href="attachment.cgi?id=267593&amp;action=diff" name="attach_267593" title="Patch">attachment 267593</a> <a href="attachment.cgi?id=267593&amp;action=edit" title="Patch">[details]</a></span>
&gt; &gt; Patch
&gt; &gt; 
&gt; &gt; View in context:
&gt; &gt; <a href="https://bugs.webkit.org/attachment.cgi?id=267593&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=267593&amp;action=review</a>
&gt; &gt; 
&gt; &gt; Looks good overall. Few things, but otherwise nice work... I know a lot of
&gt; &gt; people will be happy to see these changes merged. :)
&gt; &gt; 
&gt; &gt; Also, thanks for adding QUnit! It's awesome that we have a way to test our
&gt; &gt; front-end now.
&gt; &gt; 
&gt; &gt; &gt; Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:301
&gt; &gt; &gt;          var sortedRepositories = Dashboard.sortedRepositories;
&gt; &gt; &gt;          for (var i = 0; i &lt; sortedRepositories.length; ++i) {
&gt; &gt; &gt;              var repositoryName = sortedRepositories[i].name;
&gt; &gt; &gt; -            var result = b.revision[repositoryName] - a.revision[repositoryName];
&gt; &gt; &gt; +            var trac = sortedRepositories[i].trac;
&gt; &gt; &gt; +            if (!trac || b.revision[repositoryName] === undefined || a.revision[repositoryName] === undefined)
&gt; &gt; &gt; +                return undefined;
&gt; &gt; &gt; +            var result = trac.compareRevisions(b.revision[repositoryName], a.revision[repositoryName]);
&gt; &gt; &gt;              if (result)
&gt; &gt; &gt;                  return result;
&gt; &gt; &gt;          }
&gt; &gt; 
&gt; &gt; Could compareIterations and compareIterationsByRevisions share this piece of
&gt; &gt; code? It looks identical.
&gt; 
&gt; Yes, both compareIterations and compareIterationsByRevisions are very
&gt; similar. The latter was introduced here:
&gt; <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - build.webkit.org/dashboard still shows obsolete results for out of order builds sometimes"
   href="show_bug.cgi?id=143885">https://bugs.webkit.org/show_bug.cgi?id=143885</a>
&gt; 
&gt; We should probably find a way to collapse these into a single function if
&gt; possible so that we are not duplicating code.</span >

I have addressed this in its own patch. Please see the following:
<a href="https://bugs.webkit.org/attachment.cgi?id=268503&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=268503&amp;action=review</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>