Lines Matching full:commit

49         ignore_fields.extend(['commit_number', 'commit'])
61 commit_field = fields.index('commit')
90 def is_xml_format(repo, commit): argument
91 """Check if the commit contains xml (or json) data"""
92 if repo.rev_parse(commit + ':results.xml'):
93 log.debug("Detected report in xml format in %s", commit)
96 log.debug("No xml report in %s, assuming json formatted results", commit)
155 ('Commit number', 'commit_num', 'layers.meta.commit_count'),
156 ('Commit', 'commit', 'layers.meta.commit'),
189 rows = [['', 'CURRENT COMMIT', 'COMPARING WITH']]
191 # Shorten commit hashes
192 if key == 'commit':
339 commit = get_data_item(meta, 'layers.meta.commit')
344 samples[-1]['commit'] = commit
394 rev.commit)
438 # Get the latest commit in the repo
439 log.debug("Guessing arguments from the latest commit")
474 … default='{hostname}/{branch}/{machine}/{commit_number}-g{commit}/{tag_number}',
477 group.add_argument('--branch', '-B', default='master', help="Branch to find commit in")
482 group.add_argument('--commit',
484 group.add_argument('--commit-number',
486 "--commit is specified")
489 group.add_argument('--commit-number2',
531 if args.commit:
533 log.warning("Ignoring --commit-number as --commit was specified")
534 index1 = gitarchive.rev_find(revs, 'commit', args.commit)
547 log.warning("Ignoring --commit-number2 as --commit2 was specified")
548 index2 = gitarchive.rev_find(revs, 'commit', args.commit2)
554 # Find the closest matching commit number for comparision
555 # In future we could check the commit is a common ancestor and
560 log.error("Unable to determine the other commit, use "
561 "--commit2 or --commit-number2 to specify it")
570 rev_l.commit_number, rev_l.commit, len(rev_l.tags),
573 rev_r.commit_number, rev_r.commit, len(rev_r.tags),
589 len(rev_range), revs[index_0].commit_number, revs[index_0].commit)