[yocto] What is the right SRC_URI syntax for git at bitbucket.org?

Erik Hoogeveen erik.hoogeveen at outlook.com
Tue Apr 23 03:17:51 PDT 2019


Hi,

This works for me. I've have setup ssh my identity for Bitbucket.

I use this in my recipes:

SRC_URI = "gitsm://git@bitbucket.org/<account_name>/<repository
name>.git;protocol=ssh;branch=${BRANCH}"

Cheers,
Erik
On 21 Apr 2019, 02:58 +0200, JH <jupiter.hce at gmail.com>, wrote:
Hi,

Could someone kindly clarify what is the syntax to access git source
from bitbucket.org? I tried following different patterns, nothing
works:

SRC_URI = "git://bitbucket.org/<account name>/<repository
name>;protocol=http;branch=${BRANCH}"

SRC_URI = "git://<username>@bitbucket.org/<account name>/<repository
name>.git;protocol=ssh";branch=${BRANCH}"

Thank you.

Kind regards,

- jupiter
On 4/20/19, JH <jupiter.hce at gmail.com> wrote:
Hi,

Sorry for a new starter questions, I searched Internet, there are a
few examples to set up:

SRC_URI = "git://<username>@bitbucket.org/<account name>/<repository
name>.git;protocol=ssh";branch=${BRANCH}"

Not only that does not work, I have set up the public key to access
the git bitbucket repository:

$ ssh -v git at bitbucket.org

The Yocto also complained SRCREV, following some blog to add the
SRCREV = "${AUTOREV}" that not work either.

Thank you.

Kind regards,

- jh

--
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fyocto&data=02%7C01%7C%7C5e970c621c2e4a0f349108d6c5f47377%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636914051024571809&sdata=Ck9czRr02QsCIpJKbRtJTmcOAgQMPg64v7km9%2FAv3Ik%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190423/4a1e77cd/attachment.html>


More information about the yocto mailing list