[oe-commits] [bitbake] 02/03: toaster: fix cloning of git+ssh repositories

git at git.openembedded.org git at git.openembedded.org
Fri Oct 7 15:45:41 UTC 2016


rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 858ade277d3bd62e84d3d78e9302f766c1b31dfb
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Fri Oct 7 09:23:20 2016 +0300

    toaster: fix cloning of git+ssh repositories
    
    Replaced '+' -> '_' to avoid having '+' in folder name.
    
    Thanks Stephan Dünner for this fix.
    
    Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/toaster/bldcontrol/localhostbecontroller.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/toaster/bldcontrol/localhostbecontroller.py b/lib/toaster/bldcontrol/localhostbecontroller.py
index a64e89b..e5f7c98 100644
--- a/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list