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

Error: Refusing to download the git repo over HTTP without a commit hash #9

Open
brunont opened this issue Jun 15, 2017 · 2 comments
Open

Comments

@brunont
Copy link

brunont commented Jun 15, 2017

I've noticed this since today:

$ heroku plugins:install http://github.com/glenngillen/heroku-exit-status.git
Installing plugin http://github.com/glenngillen/heroku-exit-status.git... !
 ▸    yarn --non-interactive --mutex=file:/Users/brunont/Library/Caches/heroku/yarn
 ▸    --cache-folder=/Users/brunont/Library/Caches/heroku/yarn exited with code 1
 ▸    error Refusing to download the git repo
 ▸    {"protocol":"http:","hostname":"github.com","repository":"http://github.com/glenngillen/heroku-exit-status.git@latest"} over HTTP
 ▸    without a commit hash
 ▸

It's happening on my local machine but also at SemaphoreCI.com

@isms
Copy link

isms commented Jun 22, 2017

Also getting this (related?) error even when not using HTTPS:

$ heroku plugins:install [email protected]:glenngillen/heroku-exit-status.git
Installing plugin [email protected]:glenngillen/heroku-exit-status.git... !
 ▸    yarn --non-interactive --mutex=file:/home/isaac/.cache/heroku/yarn
 ▸    --cache-folder=/home/isaac/.cache/heroku/yarn exited with code 1
 ▸    error Couldn't find manifest in
 ▸    "github.com:glenngillen/heroku-exit-status.git".
 ▸    

Heroku CLI version heroku-cli/6.11.17 (linux-x64) node-v7.10.0.

@brunont Not sure if this will work for your use case, but we just realized we don't need this dependency anymore since you can use heroku run --exit-code [command] (found here).

@brunont
Copy link
Author

brunont commented Jun 22, 2017

@isms nice, tks!!

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