Lines Matching refs:repo
41 def list_test_revs(repo, tag_name, verbosity, **kwargs): argument
45 fields, revs = gitarchive.get_test_runs(log, repo, tag_name, **valid_kwargs)
90 def is_xml_format(repo, commit): argument
92 if repo.rev_parse(commit + ':results.xml'):
99 def read_results(repo, tags, xml=True): argument
135 data = parse_xml_stream(repo.run_cmd(['show'] + git_objs + ['--']))
140 data = parse_json_stream(repo.run_cmd(['show'] + git_objs + ['--']))
375 def get_buildstats(repo, notes_ref, notes_ref2, revs, outdir=None): argument
378 if not repo.rev_parse(full_ref):
395 … bs_all = json.loads(repo.run_cmd(['notes', '--ref', notes_ref, 'show', tag + '^0']))
398 … bs_all = json.loads(repo.run_cmd(['notes', '--ref', notes_ref2, 'show', tag + '^0']))
432 def auto_args(repo, args): argument
436 msg = repo.run_cmd(['log', '-1', '--branches', '--remotes', '--format=%b'])
500 repo = GitRepo(args.repo)
503 list_test_revs(repo, args.tag_name, args.list, hostname=args.hostname)
508 auto_args(repo, args)
510 revs = gitarchive.get_test_revs(log, repo, args.tag_name, hostname=args.hostname,
513 revs2 = gitarchive.get_test_revs(log, repo, args.tag_name, hostname=args.hostname,
573 xml = is_xml_format(repo, revs[index_r].tags[-1])
586 raw_data = [read_results(repo, revs[i].tags, xml) for i in rev_range]
602 buildstats = get_buildstats(repo, notes_ref, notes_ref2, [rev_l, rev_r], outdir)