From f784cf1b06b1c550e132cba1d6bbea325859cbcf Mon Sep 17 00:00:00 2001 From: Adam Wolfe Gordon Date: Mon, 23 Jul 2018 15:29:33 -0600 Subject: [PATCH] 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 --- teuthology/suite/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): """ -- 2.39.5