]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Move logic from _get_uri_reference...
authorZack Cerza <zack@redhat.com>
Wed, 21 Sep 2016 22:39:53 +0000 (16:39 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 4 Oct 2016 15:01:20 +0000 (09:01 -0600)
commitf7e12c15b0288e36d00d4be4e179cc74f64bd7df
tree42b7193ad41dd73136e77d885e5b5099cbaa32ac
parent68b78f7b6c5de6daf21a786947693af2e978dcf0
Move logic from _get_uri_reference...

Into new _choose_reference() method. This is because uri_reference is
irrelevant to ShamanProject, but we still want to use the same rules for
deciding whether to search for ref/tag/branch/sha1 when more than one is
specified.

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