Lines Matching refs:project
77 def key_func(project): argument
78 if not project['history']:
81 if project['history'][0]['success']:
97 def update_last_successful_build(project, build_tag): argument
100 project['name'] + '-' + build_tag).get()
101 if not last_successful_build and 'last_successful_build' not in project:
104 if 'last_successful_build' not in project:
105 project['last_successful_build'] = {
111 last_successful_build.build_id = project['last_successful_build'][
113 last_successful_build.finish_time = project['last_successful_build'][
117 id=project['name'] + '-' + build_tag,
118 project=project['name'],
119 build_id=project['last_successful_build']['build_id'],
120 finish_time=project['last_successful_build']['finish_time'])
160 project = {'history': history}
162 project['last_successful_build'] = last_successful_build
163 return project
173 project = get_build_history(project_build.build_ids)
174 project['name'] = project_build.project
175 print('Processing project', project['name'])
176 return project
185 project = future.result()
186 update_last_successful_build(project, build_tag)
187 projects.append(project)
194 def update_build_badges(project, last_build_successful, argument
206 print("[badge] {}: {}".format(project, badge))
217 project_name=project,
279 for project in status['projects']:
280 if project['history']:
281 result[project['name']] = project['history'][0]['success']
294 for project in Project.query():
295 if project.name not in project_build_statuses:
300 if project.name in coverage_build_statuses:
301 coverage_build_status = coverage_build_statuses[project.name]
304 executor.submit(update_build_badges, project.name,
305 project_build_statuses[project.name],