<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>28933</bug_id>
          
          <creation_ts>2009-09-02 22:34:56 -0700</creation_ts>
          <short_desc>webkit-patch post-commits should not remove r- flag.</short_desc>
          <delta_ts>2010-01-19 17:36:52 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Fumitoshi Ukai">ukai</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>144381</commentid>
    <comment_count>0</comment_count>
    <who name="Fumitoshi Ukai">ukai</who>
    <bug_when>2009-09-02 22:34:56 -0700</bug_when>
    <thetext>bugzilla-tool shouldn&apos;t remove r- flag just because a new patch is posted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157309</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-23 14:32:44 -0700</bug_when>
    <thetext>So it should only clear r? is that what you&apos;re asking?  But that it should leave r+ and r- flags set when obsoleting a patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157310</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-23 14:33:13 -0700</bug_when>
    <thetext>The code for this is all in http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/modules/bugzilla.py</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182520</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-19 16:45:40 -0800</bug_when>
    <thetext>I think this was a misunderstanding more than a bug.  Please re-open if I&apos;ve misunderstood further. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182541</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-01-19 16:58:49 -0800</bug_when>
    <thetext>What kind of misunderstanding was this? Certainly r- shouldn&apos;t be cleared from obsolete patches, why would anyone want to lose this information?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182547</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-19 17:06:13 -0800</bug_when>
    <thetext>We can&apos;t leave r+ on obsolete patches due to our inability to make a &quot;patches to land&quot; query which excludes obsolete patches.  See http://webkit.org/pending-commit

Why would we need to leave any r+/r-/r? information on obsolete patches?  That information is never lost.  Its easily viewable from the history if needed.  (e.g. https://bugs.webkit.org/show_activity.cgi?id=32920)  If you&apos;d like, we could easily make the obsolete method in bugzilla.py (used by webkit-patch) make a comment about who had marked it r-.

It&apos;s an easy change to make it leave the r-, but I&apos;m not sure it&apos;s much value.  Ideally we wouldn&apos;t be limited by bugzilla and we would just leave whatever flags we wanted on obsolete patches.  But unless we can fix bugzilla to filter them out of our &quot;patches to review&quot; and &quot;patches to commit&quot; queries, humans get confused when we leave these flags around.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182550</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-01-19 17:18:21 -0800</bug_when>
    <thetext>I don&apos;t agree that bugzilla-tool behavior should deviate from default Bugzilla behavior. We are not all going to switch to bugzilla-tool - I, for one, find it inherently less usable. Why should I ever resort to a command line tool if I can just post a form from my browser?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182554</commentid>
    <comment_count>7</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-19 17:24:09 -0800</bug_when>
    <thetext>You and I seem to be talking past one another.  I&apos;ll see if I can track you down on #webkit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182559</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-19 17:36:52 -0800</bug_when>
    <thetext>ap and I talked on IRC.

bugzilla already removes r? when obsoleting patches.
we have to remove r+ to make http://webkit.org/pending-commit behave nicely.
we could leave r- if we wanted to.

Leaving this open as nice-to-have.

The ideal fix would be to http://webkit.org/pending-commit to have a query which ignored r+ on obsolete patches, or to fix bugzilla to support such a query. :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>