Lines Matching refs:repo
47 repo = GitRepo.init(path, bare)
49 repo = GitRepo(path, is_topdir=True)
55 return repo
58 def git_commit_data(repo, data_dir, branch, message, exclude, notes, log): argument
61 tmp_index = os.path.join(repo.git_dir, 'index.oe-git-archive')
66 repo.run_cmd('add .', env_update)
70 repo.run_cmd(['rm', '--cached'] + [f for f in exclude], env_update)
72 tree = repo.run_cmd('write-tree', env_update)
75 parent = repo.rev_parse(branch)
77 parent = repo.rev_parse("origin/" + branch)
81 commit = repo.run_cmd(git_cmd, env_update)
86 repo.run_cmd(['notes', '--ref', ref, 'add',
91 repo.run_cmd(git_cmd)
94 if not repo.bare and repo.get_current_branch() == branch:
95 log.info("Updating %s HEAD to latest commit", repo.top_dir)
96 repo.run_cmd('reset --hard')
104 def expand_tag_strings(repo, name_pattern, msg_subj_pattern, msg_body_pattern, argument
119 for existing_tag in repo.run_cmd('tag').splitlines():
172 def get_test_runs(log, repo, tag_name, **kwargs): argument
184 tags = repo.run_cmd(['tag', '-l', tag_pattern]).splitlines()
208 def get_test_revs(log, repo, tag_name, **kwargs): argument
210 fields, runs = get_test_runs(log, repo, tag_name, **kwargs)