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

Local git server: stuck on checkout master #140

Closed
elgerm opened this issue May 20, 2015 · 8 comments
Closed

Local git server: stuck on checkout master #140

elgerm opened this issue May 20, 2015 · 8 comments

Comments

@elgerm
Copy link

elgerm commented May 20, 2015

Registring packages with github as git repository works, but when using our local bonobo git server bower gets stuck on 'checkout master'.

bower test1#*  resolve http://servername/Bonobo.Git.Server/test1.git
bower test1#*  checkout master
... wait forever

The git server and repository are accessable though and there is no error in the logs. We're using private-bower and bonobo on a windows 2008 server.

Any ideas?

@johnrc
Copy link

johnrc commented May 22, 2015

Try running git clone http://servername/Bonobo.Git.Server/test1.git. Was it successful?

Are the git repositories public or private? If private, you may need to have ssh keys setup or a cached password so it'll authenticate and automatically pull down.

@elgerm
Copy link
Author

elgerm commented May 22, 2015

Should have mentioned it, but every git command to that server works in the
same shell. Only when bower tries it for me it hangs. It's a pubic repo.

On vr 22 mei 2015 at 19:35 John Cragun notifications@github.com wrote:

Try running git clone http://servername/Bonobo.Git.Server/test1.git. Was
it successful?

Are the git repositories public or private? If private, you may need to
have ssh keys setup or a cached password so it'll authenticate and
automatically pull down.


Reply to this email directly or view it on GitHub
#140 (comment)
.

@mxurshid
Copy link

Same problem. When I tried with git clone , it was successful

@joeljeske
Copy link

I am getting the same behavior. It seems like bower v1.4.x hangs but with v1.3.12 it works. Can anyone confirm?

@joeljeske
Copy link

I happened to be using bonobo git server as well. I think it is an issue in bonobo git server that failed when requested to do a shallow clone. Shallow cloning was added to http git servers in bower 1.4. I do not think it is an issue with this bower registry.

The easy fix for now (at least for me) is to use bower v1.3.12

@mxurshid
Copy link

@joeljeske you are right! It is an issue in bonobo git server. This issue fixed and merged, but not released yet. I cloned bonobo git server's repo, and built, then published to IIS.
Now it works with the latest bower and private-bower.

@Hacklone
Copy link
Owner

Can we close this issue? As it seems to be solved :)

@mxurshid
Copy link

+1

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

No branches or pull requests

5 participants