]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
Add fetch_repo() and use it
authorZack Cerza <zack@redhat.com>
Wed, 22 Apr 2015 22:13:58 +0000 (16:13 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 27 Apr 2015 21:57:13 +0000 (15:57 -0600)
commit087ccfd90e88567f5c4e34e2baf72fe9eb8312ab
treeb580826b0d5fabe6dc5efc2937ddc87a19c58517
parent6f609b5122cd4b9534808682cc03bc3200ed5b70
Add fetch_repo() and use it

Abstracts the copy-pasta codepath used by fetch_qa_suite() and
fetch_teuthology() into a function usable by both, and also usable to
fetch arbitrary repos. Provides branch selection, optional locking and
retry, and an optional bootstrap callback.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/repo_utils.py