Changeset 51020 in webkit
- Timestamp:
- Nov 16, 2009 2:45:32 AM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r51019 r51020 1 2009-11-16 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Fix silly copy-and-paste code. I am a terrible coder. 6 7 * Scripts/modules/bugzilla.py: 8 1 9 2009-11-16 Adam Barth <abarth@webkit.org> 2 10 -
trunk/WebKitTools/Scripts/modules/bugzilla.py
r51019 r51020 284 284 return commit_queue_patches 285 285 286 def fetch_bug_ids_from_commit_queue(self): 287 commit_queue_url = self.bug_server_url + "buglist.cgi?query_format=advanced&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&field0-0-0=flagtypes.name&type0-0-0=equals&value0-0-0=commit-queue%2B" 288 289 page = urllib2.urlopen(commit_queue_url) 286 def _fetch_bug_ids_advanced_query(self, query): 287 page = urllib2.urlopen(query) 290 288 soup = BeautifulSoup(page) 291 289 … … 297 295 298 296 return bug_ids 297 298 def fetch_bug_ids_from_commit_queue(self): 299 commit_queue_url = self.bug_server_url + "buglist.cgi?query_format=advanced&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&field0-0-0=flagtypes.name&type0-0-0=equals&value0-0-0=commit-queue%2B" 300 return self._fetch_bug_ids_advanced_query(commit_queue_url) 301 302 def fetch_bug_ids_from_review_queue(self): 303 review_queue_url = self.bug_server_url + "buglist.cgi?query_format=advanced&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&field0-0-0=flagtypes.name&type0-0-0=equals&value0-0-0=review?" 304 return self._fetch_bug_ids_advanced_query(review_queue_url) 299 305 300 306 def fetch_patches_from_commit_queue(self, reject_invalid_patches=False): … … 304 310 patches_to_land += patches 305 311 return patches_to_land 306 307 def fetch_bug_ids_from_review_queue(self):308 review_queue_url = self.bug_server_url + "buglist.cgi?query_format=advanced&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&field0-0-0=flagtypes.name&type0-0-0=equals&value0-0-0=review?"309 310 page = urllib2.urlopen(review_queue_url)311 soup = BeautifulSoup(page)312 313 bug_ids = []314 # Grab the cells in the first column (which happens to be the bug ids)315 for bug_link_cell in soup('td', "first-child"): # tds with the class "first-child"316 bug_link = bug_link_cell.find("a")317 bug_ids.append(bug_link.string) # the contents happen to be the bug id318 319 return bug_ids320 312 321 313 def fetch_patches_from_review_queue(self, limit):
Note: See TracChangeset
for help on using the changeset viewer.