[buildgear-devel] Source downloading failed from private github repo

Qing Jin qing.jin at ixonos.com
Thu Aug 7 06:50:45 MDT 2014


Yes, using ssh key also works. Thanks a lot.

BR
Qing


On Thu, Aug 7, 2014 at 2:12 PM, Martin Lund <martin.lund at keep-it-simple.com>
wrote:

>  On 2014-08-07 10:26, Qing Jin wrote:
>
>  Hi Martin,
>
>  Thanks for your clarify.
>
>  If it is not good idea to download private github tarballs, i am
> wondering if it is possible to add sources directly to buildgear. I came up
> with a idea that adding the git clone command directly in the build()
> function. For example:
>
>  build() {
>      git clone https://<username>:<password>@example.com/myrepo.git
>      cd myrepo
>      git checkout branch
>      configure/make etc..
> }
>
>  How does it look?
>
>
> It's perfectly fine - if you want to use git thats the way to do it for
> now until buildgear gets native git download support (see
> http://buildgear.org/pipermail/buildgear-devel_buildgear.org/2014-July/000085.html
> ).
>
> However, I would recommend not hardcoding any username/password in your
> buildfiles and instead simply rely on your ssh keys so that no
> username/password is required.
>
> /Martin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildgear.org/pipermail/buildgear-devel_buildgear.io/attachments/20140807/8b280c08/attachment.html>


More information about the buildgear-devel mailing list