TFS Urls with Git in Recipes

Lohr, Christian [ext] <christian.lohr.ext@...>



I‘m using the following:

Yocto Release 2.4 (Rocko), and Bitbake 1.9.x


My problem is the following url (actually the “%20” is the problem in bitbake):



I can do a “git clone <url>” without any problems. Now I wanted to create a Yocto recipe similar to this:



SUMMARY = "A demo application"

DESCRIPTION = "This application is just for demo purpose and should be seen as Hello World"





PROJECT_NAME = "FooBar%20500"


SRC_URI = "git://${PROJECT_URL}/${PROJECT_NAME}/_git/DummyApplicationForYocto;protocol=ssh"


PV = "1.0+git${SRCPV}"


DEPENDS = "qtbase"



The „%20“ sign will be replaced with a space “ “ in some cases:

When I try to run “bitbake dummyapp”, the following happens:

“FooBar%20500” will be transformed to “FooBar 500”



git -c core.fsyncobjectfiles=0 ls-remote ssh:// 500/_git/DummyApplicationForYocto  failed with exit code 128, output:

remote: Command git-upload-pack '/tfs/OWN_Projects/FooBar' is not in expected format.

fatal: Could not read from remote repository.


Is it possible to prevent this because if it would leave the “%20” the command would work.


Kind regards,


Christian Lohr


Join to automatically receive all group messages.