[build2] How to download git repositories using ssh protocol

Luiz Fernando Afra Brito luizfernandoafrabrito at gmail.com
Wed Jan 9 05:04:24 UTC 2019


I developed a library using build2, uploaded to a private bitbucket
repository and now I want to consume it from another project.

I followed the documentation and I updated the following files: manifest,
repositories.manifest and myproj/buildfile. Specifically, in
repositories.manifest I added the https location of my bitbucket
repository. The problem is that everytime I build my project, build2 tries
to download the library and asks me the password of my bitbucket account

A workaround is to use ssh protocol instead, so I can setup a ssh key and
use it to log in to my account. In repositories.manifest I tried to pass
the ssh url (ssh://git@bitbucket.org:luiz....git#master), however it seems
that build2 doesn't support ssh. Build2 doesn't support ssh or am I missing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20190109/7d7a40ee/attachment.html>

More information about the users mailing list