dxw / whippet-server

Whippet Server launches a stand-alone web server for a specific WordPress installation. It makes WordPress easier to develop with, for example, by adding lots of debug information to the terminal without cluttering up or breaking your templates.
ISC License
80 stars 6 forks source link

Problems with submodules #27

Closed felixcohen closed 11 years ago

felixcohen commented 11 years ago

Hey,

I had some issues with the install; a little bit PEBKAC perhaps, but having issues running the submodule update:

Felix-Cohens-MacBook-Pro-2:~ felix$ git clone git@github.com:dxw/whippet.git Cloning into 'whippet'... remote: Counting objects: 447, done. remote: Compressing objects: 100% (186/186), done. remote: Total 447 (delta 272), reused 431 (delta 260) Receiving objects: 100% (447/447), 111.04 KiB | 137 KiB/s, done. Resolving deltas: 100% (272/272), done. Felix-Cohens-MacBook-Pro-2:~ felix$ cd whippet/ Felix-Cohens-MacBook-Pro-2:whippet felix$ git submodule update --init Submodule 'lib/optionparser' (git://github.com/dxw/optionparser.git) registered for path 'lib/optionparser' Cloning into 'lib/optionparser'... fatal: unable to connect to github.com: github.com[0: 204.232.175.90]: errno=Connection refused

Clone of 'git://github.com/dxw/optionparser.git' into submodule path 'lib/optionparser' failed

Seems to work if I manually check out optionparser using the https protocol from the lib directory, but not if I update the submodules file.

Git is strange. There may be firewall issues on the network I'm on.

F

felixcohen commented 11 years ago

Suspect it's something along these lines: http://stackoverflow.com/questions/7605469/git-submodules-pulling-into-a-new-clone-of-the-super-project

felixcohen commented 11 years ago

Some more code I copied and pasted...https://gist.github.com/mrchrisadams/4b0bddf18de5d482d693

mallorydxw commented 11 years ago

Hi Felix. I think the most likely explanation is that it's a firewall blocking port 9418. I've updated the .gitmodules file to use the https:// clone URI.

felixcohen commented 11 years ago

Yup, I think that's what we pinned it down to here, too. Still, can't hurt for people in future. Whippet just saved my ass, btw.