Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot clone my private repo #116

Open
srggrs opened this issue Feb 26, 2020 · 2 comments
Open

Cannot clone my private repo #116

srggrs opened this issue Feb 26, 2020 · 2 comments

Comments

@srggrs
Copy link

srggrs commented Feb 26, 2020

Hi I've followed the documentation and successfully run a force build on one of my public repo, but when I try to do the same with a private repo, I get this error:

Cloning into '.'...
fatal: could not read Username for 'https://github.com': No such device or address

I've created the token, but what am I missing?

the log show that it executed the command:

git clone https://github.com/srggrs/Test-Repo-for-Builbot-Travis . --progress
@srggrs srggrs changed the title I can't clone my private repo Can't clone my private repo Feb 26, 2020
@srggrs srggrs changed the title Can't clone my private repo Cannot clone my private repo Feb 26, 2020
@srggrs
Copy link
Author

srggrs commented Feb 28, 2020

I found that though I can insert the token in the project conf, it is not inserted into the URL for cloning the repo, resulting then in a failure in the authentication stage.

The clone command must be like:

git clone https://[email protected]/USER/REPO.git

@tardyp
Copy link
Member

tardyp commented Oct 22, 2020

it is more of a buildbot issue. Buildbot_travis is just using the relevent buildbot module for git.
You should probably start a discussion there. I think indeed the token authentication is not supported, only ssh kay authentication. It could be added in a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants