Beispiel #1
0
 def get_issues_closed_count(self):
     # last week
     ls1 = len(rv('issues-closed-since-0-7', stop=-1))
     print ls1
     # week before
     ls2 = len(rv('issues-closed-since-7-14', stop=-1))
     
     return IssueCollection(ls1, ls2)
Beispiel #2
0
 def get_issues_opened_count(self):
     # last week
     ls1 = len(rv('issues-open-since-0-7', stop=-1))
     # week before
     ls2 = len(rv('issues-open-since-7-14', stop=-1))
     return IssueCollection(ls1, ls2)
Beispiel #3
0
 def get_top_contributors(self):
     return rv('top-contributors')
Beispiel #4
0
 def get_least_pulls(self):
     return rv('least-updated-pulls')
Beispiel #5
0
 def get_least_issues(self):
     return rv('least-updated-issues')
Beispiel #6
0
 def get_oldest_pulls(self):
     return rv("oldest-pulls")
Beispiel #7
0
 def get_oldest_issues(self):
     return rv("oldest-issues")