Lines Matching refs:patch_obj
161 def append_jobs(patch_obj, src, git_ref, now=None): argument
176 patch_obj['jobs/' + job_id] = {
183 patch_obj['jobs_queued/' + job_id] = 0
184 patch_obj[src]['jobs'][job_id] = 0
223 patch_obj = {}
224 patch_obj['cls_pending/%s-%s' % (cl, patchset)] = 0
225 patch_obj[src] = {
232 append_jobs(patch_obj, src, ref)
233 req('PATCH', DB + '.json', body=patch_obj)
285 patch_obj = {
289 req('PATCH', '%s.json' % DB, body=patch_obj)
384 patch_obj = {
395 append_jobs(patch_obj, src, ref, now)
396 req('PATCH', DB + '.json', body=patch_obj)
420 patch_obj = {
425 patch_obj['jobs/%s/status' % job_id] = 'CANCELLED'
426 patch_obj['jobs/%s/time_ended' % job_id] = utc_now_iso()
427 req('PATCH', DB + '.json', body=patch_obj)