Skip to content

Instantly share code, notes, and snippets.

@douglatornell
Created March 18, 2012 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save douglatornell/2078378 to your computer and use it in GitHub Desktop.
Save douglatornell/2078378 to your computer and use it in GitHub Desktop.
Options for keys list for buildbot try job parser
# Incremental:
v1_keys = ['jobid', 'branch', 'baserev', 'patch_level', 'patch_body']
v2_keys = v1_keys + ['repository', 'project']
v3_keys = v2_keys + ['who']
v4_keys = v3_keys + ['comment']
keys = [v1_keys, v2_keys, v3_keys, v4_keys]
# List of tuples:
keys = [
# v1:
('jobid', 'branch', 'baserev', 'patch_level', 'patch_body'),
# v2 introduces repository and project
('jobid', 'branch', 'baserev', 'patch_level', 'patch_body',
'repository', 'project'),
# v3 introduces who
('jobid', 'branch', 'baserev', 'patch_level', 'patch_body',
'repository', 'project', 'who'),
# v4 introduces comment
('jobid', 'branch', 'baserev', 'patch_level', 'patch_body',
'repository', 'project', 'who', 'comment')]
@djmitche
Copy link

I like incremental

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment