[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2936/8267] bitbake: toaster: fix cloning of git+ssh repositories



commit 146eb22b0e7b77bf3b3dcd750b4124b6cb27f090
Author: Ed Bartosh <ed bartosh linux intel com>
Date:   Fri Oct 7 09:23:20 2016 +0300

    bitbake: toaster: fix cloning of git+ssh repositories
    
    Replaced '+' -> '_' to avoid having '+' in folder name.
    
    Thanks Stephan Dünner for this fix.
    
    (Bitbake rev: 858ade277d3bd62e84d3d78e9302f766c1b31dfb)
    
    Signed-off-by: Ed Bartosh <ed bartosh linux intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 .../toaster/bldcontrol/localhostbecontroller.py    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py 
b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index a64e89b..e5f7c98 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -75,7 +75,7 @@ class LocalhostBEController(BuildEnvironmentController):
     def getGitCloneDirectory(self, url, branch):
         """Construct unique clone directory name out of url and branch."""
         if branch != "HEAD":
-            return "_toaster_clones/_%s_%s" % (re.sub('[:/@%]', '_', url), branch)
+            return "_toaster_clones/_%s_%s" % (re.sub('[:/@+%]', '_', url), branch)
 
         # word of attention; this is a localhost-specific issue; only on the localhost we expect to have 
"HEAD" releases
         # which _ALWAYS_ means the current poky checkout


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]