<?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>29718</bug_id>
          
          <creation_ts>2009-09-24 10:31:35 -0700</creation_ts>
          <short_desc>mark-bug-fixed: add -u|--update-only switch</short_desc>
          <delta_ts>2009-09-25 15:03:43 -0700</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>Other</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aroben</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>149774</commentid>
    <comment_count>0</comment_count>
      <attachid>40072</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-09-24 10:31:35 -0700</bug_when>
    <thetext>Created attachment 40072
Patch v1

Reviewed by NOBODY (OOPS!).

* Scripts/mark-bug-fixed:
(MarkBugFixed.__init__): Added -u|--update-only switch to list
of parse options.
(MarkBugFixed.main): When -u|--update-only is specified, add a
comment to the bug without marking it Resolved/Fixed.
---
 2 files changed, 19 insertions(+), 2 deletions(-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>149780</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-24 11:05:06 -0700</bug_when>
    <thetext>I think this is kinda a strange command-line API (calling mark-as-fixed but not having it mark anything as fixed), but I like the functionality.  An Apple person would have to comment as to if this makes sense for y&apos;alls workflow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150115</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-09-25 12:52:57 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; I think this is kinda a strange command-line API (calling mark-as-fixed but not
&gt; having it mark anything as fixed), but I like the functionality.  An Apple
&gt; person would have to comment as to if this makes sense for y&apos;alls workflow.

This is useful if you have more than one patch that is required to fix a bug, but don&apos;t want to close the bug after the first commit.

Some folks like to commit fixes to individual directories separately (one for WebCore, one for LayoutTests), which makes this flag useful as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150117</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-09-25 13:02:08 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; This is useful if you have more than one patch that is required to fix a bug,
&gt; but don&apos;t want to close the bug after the first commit.

I don&apos;t see why creating a second script would be helpful in this case.  (The most common workflow is to mark the bug as fixed, but you use the same script to update it as well.)

Do you have another suggestion for the script&apos;s name?  I did not want to use &quot;update-bug&quot; since there are too many update-* scripts already.  :)

&gt; Some folks like to commit fixes to individual directories separately (one for
&gt; WebCore, one for LayoutTests), which makes this flag useful as well.

BTW, I don&apos;t condone this workflow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150133</commentid>
    <comment_count>4</comment_count>
      <attachid>40072</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-25 13:42:13 -0700</bug_when>
    <thetext>Comment on attachment 40072
Patch v1

OK.  You might want to make clear in the -u help that it will add the fixed revision to the bug as well, not just the comment you pass in -m.  I think that was my initial confusion is that I thought you had effectively created a &quot;add-comment&quot; command, but now I see that this is still really a &quot;mark-bug-with-revision&quot; behavior even if it doesn&apos;t always close the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150169</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-09-25 15:03:31 -0700</bug_when>
    <thetext>Committed r48772: &lt;http://trac.webkit.org/changeset/48772&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>40072</attachid>
            <date>2009-09-24 10:31:35 -0700</date>
            <delta_ts>2009-09-25 13:42:12 -0700</delta_ts>
            <desc>Patch v1</desc>
            <filename>20090924103134.patch</filename>
            <type>text/plain</type>
            <size>2260</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdFRvb2xzL0NoYW5nZUxvZyBiL1dlYktpdFRvb2xzL0NoYW5nZUxv
ZwppbmRleCA3NWZlYzgwLi5hMDJlZTRiIDEwMDY0NAotLS0gYS9XZWJLaXRUb29scy9DaGFuZ2VM
b2cKKysrIGIvV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDUgKzEsMTcgQEAKIDIwMDktMDkt
MjQgIERhdmlkIEtpbHplciAgPGRka2lsemVyQGFwcGxlLmNvbT4KIAorICAgICAgICBtYXJrLWJ1
Zy1maXhlZDogYWRkIC11fC0tdXBkYXRlLW9ubHkgc3dpdGNoCisKKyAgICAgICAgUmV2aWV3ZWQg
YnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgKiBTY3JpcHRzL21hcmstYnVnLWZpeGVkOgor
ICAgICAgICAoTWFya0J1Z0ZpeGVkLl9faW5pdF9fKTogQWRkZWQgLXV8LS11cGRhdGUtb25seSBz
d2l0Y2ggdG8gbGlzdAorICAgICAgICBvZiBwYXJzZSBvcHR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W50
X3RvX2J1ZyhidWdfaWQsIGJ1Z19jb21tZW50KQorICAgICAgICBlbHNlOgorICAgICAgICAgICAg
bG9nKCJBZGRpbmcgY29tbWVudCB0byBCdWcgJXMgYW5kIG1hcmtpbmcgYXMgUmVzb2x2ZWQvRml4
ZWQuIiAlIGJ1Z19pZCkKKyAgICAgICAgICAgIHNlbGYuYnVncy5jbG9zZV9idWdfYXNfZml4ZWQo
YnVnX2lkLCBidWdfY29tbWVudCkKIAogCiBkZWYgbWFpbigpOg==
</data>
<flag name="review"
          id="21250"
          type_id="1"
          status="+"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>