[Webkit-unassigned] [Bug 118060] Old Bug Validator Tool

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 9 05:52:11 PDT 2013


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





--- Comment #12 from Ryosuke Niwa <rniwa at webkit.org>  2013-07-09 05:54:12 PST ---
(In reply to comment #11)
> (In reply to comment #10)
> > There is a code to parse TestExpectations under Tools/Scripts/webkitpy/layout_tests.
> > We should be using that parser instead. 
> 
> The TestExpectations parser in layout_tests/models/test_expectations.py
> would be overkiller and it isn't suitable for this use case now.
> 
> It parses only "The new format for a test expectation line":
>         [[bugs] [ "[" <configuration modifiers> "]" <name> [ "[" <expectations> "]" ["#" <comment>]
> 
> where bugs must be in "webkit.org/b/XXXXX" format. But there are 
> URLs in the comment sections too in different formats. I don't think
> if we should refactor test_expectations.py instead of the oneliner regexp.

If there is a use case for parsing comments, then we should support that in test_expectations.py maybe as an option.

The problem with adding one line regular expression like this is that it'll make the future format change harder.

> > There is also a code to fetch Bugzilla data. See code in Tools/Scripts/webkitpy/tool.
> 
> It can be used if it doesn't have too much dependencies and 
> if we can avoid the mandatory bugzilla authentication somehow.
> Because it is a non-sense if we wan't to force the user to authenticate
> if fetching a bugzilla URL doesn't need authentication at all.

It's sensible to require authentication if bugs have restricted accesses.  We can certainly add a mode to avoid authentication to bugzilla code.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list