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
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ fi

if [ "$DO_UPDATE" == true ] || [ ! -f $HTML_CACHE/w3cbugs.csv ]; then
rm -f $HTML_CACHE/w3cbugs.csv
$QUIET || echo "Downloading list of W3C bugzilla bugs (can be a wee bit slow)..."
$QUIET || echo "Downloading list of W3C bugzilla bugs..."
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.

fi

$QUIET || echo
Expand Down