Lines Matching full:issues
45 parser.add_argument('--num', help='Number of issues to output.', default=10,
147 This class applies filters to issues it crawls and caches them locally.
156 self.issues = None
163 """Returns all issues using one query and/or one label.
169 @return: A list of issues matching the query. If fast is
170 specified the issues won't have comments.
206 @param new_issues: A list of issues used with the start_index to
207 determine the number of issues already processed.
210 logging.warning('Found %s issues, Crawling issues starting from %s',
213 logging.warning('Already crawled %s issues, it is possible that'
229 @return A list of issues sorted by descending autofiled count.
245 # Subsequent calls will clear the issues cache with new results.
252 def filter_labels(issues, labels): argument
253 """Takes a list of labels and returns matching issues.
255 @param issues: A list of issues to parse for labels.
258 @return: A list of matching issues. The issues must contain
262 return issues
265 for issue in issues:
294 def filter_queries(cls, issues, queries): argument
295 """Take a list of queries and returns matching issues.
297 @param issues: A list of issues to parse. If the issues contain
298 comments and a query is not in the issues title or summmary,
300 @param queries: A list of queries to parse the issues for.
303 @return: A list of matching issues.
306 return issues
308 for issue in issues:
331 @param fast: If specified, skip creating comments for issues since this
346 self.issues = list(matching_issues)
350 """Print issues.
352 if limit and limit < len(self.issues):
353 issues = self.issues[:limit]
355 issues = self.issues
357 for issue in issues:
371 for issue in issues:
408 args.num, len(crawler.issues))