Lines Matching +full:commits +full:-
8 # http://www.apache.org/licenses/LICENSE-2.0
17 You'll need a github API token to avoid being rate-limited. See
18 https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
24 comments), not just the addition of new commits.
27 to a manual re-run of tests.
44 COMMITS = 'https://api.github.com/repos/grpc/grpc/pulls/{pr_number}/commits' variable
78 str(int((test_time - base_time).total_seconds())),
86 return datetime.strptime(datetime_str, '%Y-%m-%dT%H:%M:%SZ')
90 return str((dt - datetime(1970, 1, 1)).total_seconds())
105 commits = json.loads(gh(COMMITS.format(pr_number=pr_number)))
107 'num_commits': len(commits),
109 parse_timestamp(commits[-1]['commit']['author']['date'])
122 elif system == 'jenkins': string_in_target_url = 'grpc-testing'
152 '--format',
158 '--system',
164 '--token',
180 # PR with a single commit -> use the PRs creation time.
181 # else -> use the latest commit's date.
189 diff = last_status['latest_datetime'] - base_timestamp