[Webkit-unassigned] [Bug 141200] New: [Win] Correct version parsing error in update-webkit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 3 09:57:39 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=141200

            Bug ID: 141200
           Summary: [Win] Correct version parsing error in update-webkit
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

The update-webkit script will generate error messages on certain Cygwin installs:

bfulgham at fulgbr-pc ~/Projects/WebKit/OpenSource/Tools
$ update-webkit
Updating OpenSource
Updating '.':
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 '.':
At revision 68889.

This is happening because 'uname -r' is including a "-2" (or other number) modifier for some Cygwin builds:

bfulgham at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150203/882963dc/attachment-0002.html>


More information about the webkit-unassigned mailing list