From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id DEF2FE00C28; Thu, 7 Apr 2016 06:51:41 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] X-Greylist: delayed 370 seconds by postgrey-1.32 at yocto-www; Thu, 07 Apr 2016 06:51:37 PDT Received: from bytesatwork.ch (bytesatwork.ch [91.135.72.15]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 98D6DE006D3 for ; Thu, 7 Apr 2016 06:51:37 -0700 (PDT) Received: from [192.168.2.43] (unknown [95.143.48.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: stephan) by bytesatwork.ch (Postfix) with ESMTPSA id AF79F180002A for ; Thu, 7 Apr 2016 15:45:03 +0200 (CEST) From: =?UTF-8?Q?Stephan_D=c3=bcnner?= X-Enigmail-Draft-Status: N1110 To: toaster@yoctoproject.org Message-ID: <57066475.7030906@bytesatwork.ch> Date: Thu, 7 Apr 2016 15:45:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0 MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 12 Apr 2016 06:30:31 -0700 Subject: Error with git+ssh repositories in Toaster X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2016 13:51:41 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Dear Maintainer We are using toaster sucessfully (git://git.yoctoproject.org/poky.git: b1f23d1254682866236bfaeb843c0d8aa332efc2) I am facing a strange behaviour of toaster/bitbake when cloning git+ssh repositories. The source of the problem seems to be the "+" in the cloned foldername. e.g. _git+ssh___bytesatwork.ch_repository I suggest replacing the "+" with a "_" in the regex of localhostbecontroller.py With this fix, toaster works as suspected. diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index b5cf559..2328edd 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py @@ -183,7 +183,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 Best regards Stephan Dünner -- bytes at work Technoparkstrasse 7 CH-8406 Winterthur Switzerland phone: +41 52 550 50 60 web : http://www.bytesatwork.ch