<?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>33488</bug_id>
          
          <creation_ts>2010-01-11 13:34:16 -0800</creation_ts>
          <short_desc>REGRESSION: webkit-patch upload errors if lacking a ChangeLog</short_desc>
          <delta_ts>2010-01-12 04:47:58 -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>PC</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="Ojan Vafai">ojan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>179507</commentid>
    <comment_count>0</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-01-11 13:34:16 -0800</bug_when>
    <thetext>webkit-patch land now fails with an error if you haven&apos;t created a ChangeLog file first. I think it&apos;s the linter complaining. This worked as of Friday.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>179514</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-11 13:45:23 -0800</bug_when>
    <thetext>Land?  Do you mean upload?  &quot;land&quot; doesn&apos;t create ChangeLogs that I know of.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>179515</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-11 13:46:10 -0800</bug_when>
    <thetext>Land has no ChangeLog creation:
http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/commands/download.py#L70</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>179526</commentid>
    <comment_count>3</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-01-11 13:56:48 -0800</bug_when>
    <thetext>Doh. Yes, I meant upload.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>179528</commentid>
    <comment_count>4</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-01-11 13:58:04 -0800</bug_when>
    <thetext>backtrace:

ojanmacpro:WebKit ojan$ webkit-patch upload
Traceback (most recent call last):
  File &quot;/WebKit/WebKitTools/Scripts/webkit-patch&quot;, line 108, in &lt;module&gt;
    WebKitPatch().main()
  File &quot;/WebKit/WebKitTools/Scripts/webkitpy/multicommandtool.py&quot;, line 299, in main
    return command.check_arguments_and_execute(options, args, self)
  File &quot;/WebKit/WebKitTools/Scripts/webkitpy/multicommandtool.py&quot;, line 113, in check_arguments_and_execute
    return self.execute(options, args, tool) or 0
  File &quot;/WebKit/WebKitTools/Scripts/webkitpy/commands/abstractsequencedcommand.py&quot;, line 43, in execute
    self._sequence.run_and_handle_errors(tool, options, self._prepare_state(options, args, tool))
  File &quot;/WebKit/WebKitTools/Scripts/webkitpy/commands/upload.py&quot;, line 162, in _prepare_state
    state = { &quot;bug_id&quot; : self._bug_id(args, tool) }
  File &quot;/WebKit/WebKitTools/Scripts/webkitpy/commands/abstractdiffcommand.py&quot;, line 38, in _bug_id
    bug_id = parse_bug_id(tool.scm().commit_message_for_this_commit().message())
  File &quot;/WebKit/WebKitTools/Scripts/webkitpy/scm.py&quot;, line 172, in commit_message_for_this_commit
    raise ScriptError(message=&quot;Found no modified ChangeLogs, cannot create a commit message.\n&quot;
webkitpy.executive.ScriptError: Found no modified ChangeLogs, cannot create a commit message.
All changes require a ChangeLog.  See:
http://webkit.org/coding/contributing.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>179532</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-11 14:03:20 -0800</bug_when>
    <thetext>Sounds like a step ordering problem. :(

http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/commands/upload.py#L138

Looks like the solution is to just move the check-style check until after the ChangeLog prep.  Or to run it before changelog prep with some sort of --ignore-ChangeLogs flag.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>179569</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-01-11 15:15:28 -0800</bug_when>
    <thetext>Crap.  I probably broke this with the bug number patch.  Feel free to roll that out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>179592</commentid>
    <comment_count>7</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-11 16:08:34 -0800</bug_when>
    <thetext>Bug 33197 was reverted in http://trac.webkit.org/changeset/53105.  Adam believes that should fix this regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>179794</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-12 04:47:58 -0800</bug_when>
    <thetext>Closing.  Works for me now.  If this is still giving you trouble Ojan, let us know!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>