Example #1
0
def git_id(crt_series, rev):
    """Return the GIT id
    """
    # TODO: remove this function once all the occurrences were converted
    # to git_commit()
    repository = StackRepository.default()
    return git_commit(rev, repository, crt_series.name).sha1
Example #2
0
 def setup(self):
     # This will throw an exception if we don't have a repository.
     self.repository = StackRepository.default()
Example #3
0
def default_repo():
    return StackRepository.default()