Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download a smaller list of bugs from W3C's Bugzilla #75

Merged
merged 1 commit into from
Feb 5, 2016

Conversation

foolip
Copy link
Member

@foolip foolip commented Feb 4, 2016

Limit the search to bugs that have a URL and are in interesting
components.

This shrinks the downloaded w3cbugs.cvs from 3211 bugs (242 kB) to 265
bugs (40 kB), with corresponding savings in transfer time both when
downloaded and then uploading to the wattsi build server.

This removes the following HTML Checker and SVG bugs from the output:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=13648
https://www.w3.org/Bugs/Public/show_bug.cgi?id=13649
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16125
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23157
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23165
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23753

Based on findings from whatwg/html#619

@domenic
Copy link
Member

domenic commented Feb 4, 2016

So is the idea that those bugs used to be in the margins, but don't really make sense to track in HTML?

curl $($VERBOSE || echo "-s") \
-o $HTML_CACHE/w3cbugs.csv \
'https://www.w3.org/Bugs/Public/buglist.cgi?columnlist=bug_file_loc,short_desc&query_format=advanced&resolution=---&ctype=csv&status_whiteboard=whatwg-resolved&status_whiteboard_type=notregexp'
'https://www.w3.org/Bugs/Public/buglist.cgi?columnlist=bug_file_loc,short_desc&query_format=advanced&resolution=---&ctype=csv&status_whiteboard=whatwg-resolved&status_whiteboard_type=notregexp&bug_file_loc=http&bug_file_loc_type=substring&product=WHATWG&product=HTML%20WG&product=CSS&product=WebAppsWG'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is &bug_file_loc=http&bug_file_loc_type=substring about?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the "bugs that have a URL" bit from the description. The URL field is bug_file_loc and I wanted it to be non-empty since that's what wattsi uses to match bugs to sections. Finding no direct was of checking for non-emptyness, I just checked if it contained "http" instead, which yields the intended results.

@foolip
Copy link
Member Author

foolip commented Feb 5, 2016

Right, I grouped the bugs by product in whatwg/html#619 and found that in the HTML Checker and SVG products, none of the bugs are about the HTML spec or otherwise actionable for us. For reference, here's the list as formatted in whatwg/html#619:

HTML Checker

SVG

@foolip
Copy link
Member Author

foolip commented Feb 5, 2016

(It would have been easy to include them with product=HTML%20Checker&product=SVG.)

@sideshowbarker
Copy link
Member

About the HTML Checker bugs, anyway I’m not encouraging people to use that any more but instead steering new bug reports to https://github.com/validator/validator/issues and I guess should just close the component to new bugs and move the existing bugs out from bugzilla and into that github tracker. And regardless, going forward I will ensure that no bugs get added to that component in a way that will affect the HTML spec annotations.

@domenic
Copy link
Member

domenic commented Feb 5, 2016

Looks good, merging. Eventually we need to find way to start adding GitHub issues into the sidebar like we do legacy bugs.....

@domenic domenic merged commit bd7beec into master Feb 5, 2016
@domenic domenic deleted the fewer-w3cbugs branch February 5, 2016 04:15
Limit the search to bugs that have a URL and are in interesting
components.

This shrinks the downloaded w3cbugs.cvs from 3211 bugs (242 kB) to 265
bugs (40 kB), with corresponding savings in transfer time both when
downloaded and then uploading to the wattsi build server.

This removes the following HTML Checker and SVG bugs from the output:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=13648
https://www.w3.org/Bugs/Public/show_bug.cgi?id=13649
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16125
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23157
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23165
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23753

Based on findings from whatwg/html#619
@foolip
Copy link
Member Author

foolip commented Feb 5, 2016

#79

@foolip
Copy link
Member Author

foolip commented Feb 5, 2016

@sideshowbarker, the HTML Checker bugs aren't downloaded any longer, so no need to do anything further for the HTML spec's sake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants