<?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>141200</bug_id>
          
          <creation_ts>2015-02-03 09:57:39 -0800</creation_ts>
          <short_desc>[Win] Correct version parsing error in update-webkit</short_desc>
          <delta_ts>2015-02-03 10:01:53 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</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="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>dbates</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1066465</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-02-03 09:57:39 -0800</bug_when>
    <thetext>The update-webkit script will generate error messages on certain Cygwin installs:

bfulgham@fulgbr-pc ~/Projects/WebKit/OpenSource/Tools
$ update-webkit
Updating OpenSource
Updating &apos;.&apos;:
At revision 179550.
STIXGeneral-Regular.otf
MathJax_Main-Regular.otf
Installed tools are correct for the WebKit build.
Invalid version format (non-numeric data) at /cygdrive/c/Projects/WebKit/OpenSource/Tools/Scripts/webkitdirs.pm line 1512.
Updating Internal
Updating &apos;.&apos;:
At revision 68889.

This is happening because &apos;uname -r&apos; is including a &quot;-2&quot; (or other number) modifier for some Cygwin builds:

bfulgham@fulgbr-pc ~/Projects/WebKit/OpenSource/Tools
$ uname -r
1.7.33-2(0.280/5/3)

We need to remove this to do our comparison, just as we previously stripped out the parenthetical version content. For our purposes, we only care about the major version information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1066466</commentid>
    <comment_count>1</comment_count>
      <attachid>245946</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-02-03 09:59:21 -0800</bug_when>
    <thetext>Created attachment 245946
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1066467</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-02-03 10:01:53 -0800</bug_when>
    <thetext>Committed r179551: &lt;http://trac.webkit.org/changeset/179551&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>245946</attachid>
            <date>2015-02-03 09:59:21 -0800</date>
            <delta_ts>2015-02-03 10:00:35 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-141200-20150203100720.patch</filename>
            <type>text/plain</type>
            <size>1438</size>
            <attacher name="Brent Fulgham">bfulgham</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDE3OTU1MCkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE1IEBACisyMDE1LTAyLTAzICBCcmVudCBGdWxnaGFtICA8YmZ1bGdoYW1AYXBwbGUuY29t
PgorCisgICAgICAgIFtXaW5dIENvcnJlY3QgdmVyc2lvbiBwYXJzaW5nIHdhcm5pbmc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2lvbiwgaWYgYW55LgorICAgICAgICAkdW5hbWVfdmVyc2lvbiA9fiBzL1wtLiok
Ly87ICMgUmVtb3ZlIHRyYWlsaW5nIGRhc2gtdmVyc2lvbiBjb250ZW50LCBpZiBhbnkKICAgICAg
ICAgaWYgKHZlcnNpb24tPnBhcnNlKCR1bmFtZV92ZXJzaW9uKSA8IHZlcnNpb24tPnBhcnNlKCIx
LjcuMTAiKSkgewogICAgICAgICAgICAgIyBTZXR0aW5nIHRoZSBlbnZpcm9ubWVudCB2YXJpYWJs
ZSAnQ1lHV0lOJyB0byAndHR5JyBtYWtlcyBjeWd3aW4gZW5hYmxlIGV4dHJhIHN1cHBvcnQgKGku
ZS4sIHRlcm1pb3MpCiAgICAgICAgICAgICAjIGZvciBVTklYLWxpa2UgdHR5cyBpbiB0aGUgV2lu
ZG93cyBjb25zb2xlCg==
</data>
<flag name="review"
          id="270873"
          type_id="1"
          status="+"
          setter="andersca"
    />
          </attachment>
      

    </bug>

</bugzilla>