From: Adam Wolfe Gordon Date: Mon, 23 Jul 2018 21:29:33 +0000 (-0600) Subject: Handle branch names containing slashes X-Git-Tag: 1.1.0~328^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f784cf1b06b1c550e132cba1d6bbea325859cbcf;p=teuthology.git Handle branch names containing slashes A branch name containing a slash is perfectly legal in git, but teuthology uses branch names verbatim in run names, which causes POSTs to fail when submitting runs to paddles. Replace all '/' in run names with ':' to allow for branches with slashes in their names. Signed-off-by: Adam Wolfe Gordon --- diff --git a/teuthology/suite/run.py b/teuthology/suite/run.py index 1388fcbd26..5e2f2deda8 100644 --- a/teuthology/suite/run.py +++ b/teuthology/suite/run.py @@ -74,7 +74,7 @@ class Run(object): user, str(timestamp), self.args.suite, self.args.ceph_branch, self.args.kernel_branch or '-', self.args.kernel_flavor, worker ] - ) + ).replace('/', ':') def create_initial_config(self): """