Random rants from a KDE user which also works on making KDE more Hebrew friendly.

Monday, October 5, 2009

Dear lazy web: cannot clone from gitorious

I am trying to clone Qt (and qt-creator) in my hone, and I am getting this (please don't laugh, I know it's Windows...)
diego@BRAIN /c/src
$ rm -fr qt && time git clone git://gitorious.org/qt/qt.git
Initialized empty Git repository in c:/src/qt/.git/
remote: Counting objects: 218976, done.
remote: Compressing objects: 100% (56957/56957), done.
fatal: The remote end hung up unexpectedly.68 MiB | 5 KiB/s
fatal: early EOF

real 41m40.578s
user 0m0.015s
sys 0m0.000s
Now, it only happens at home where my ISP is making nice tricks and probably killing everything that is not "http" (note how slow it works, 1kbs to 5kbs). Just to compare, in my workplace with a business contract I can pull at normally (at 100-180kbs).

Any tricks? I was thinking of using a ppptp connection to work, and then pull from that (or even ssh), but I am sure that there are workarounds for this issue. Yes, I tried http, this is what I get:
diego@BRAIN /c/src
$ rm -fr qt && time git clone http://gitorious.org/qt/qt.git
Initialized empty Git repository in c:/src/qt/.git/
fatal: http://gitorious.org/qt/qt.git/info/refs not found: did you run git updat
e-server-info on the server?

real 0m1.953s
user 0m0.015s
sys 0m0.000s

Any good ideas/workarounds/solutions...?

7 comments:

Sebastián said...

Maybe use http protocol instead of git:// ?

Git supports http.

Another way would be to tunnel git through some web proxy. I used to use one that I don't remember the name to bypass my ISP's faulty routers. It involved a socket capture program and an online HTTP proxy. Can't remember what was it :(

elcuco said...

Sebastián see my post, I tried http and it did not work.

Jacopo said...

if you have ssh access to somewhere where it works, just open a socks proxy with -D*port* and then use tsocks to reroute git;
I am actually in the exact same situation as you depicted and I have to run everything (kopete, quasselcore, git, even svn sometimes) thru tsocks. It works (mostly)

--J

Markus said...

The http:// URL is not exactly the same as the git:// URL.
Try
git clone http://git.gitorious.org/qt/qt.git
The subtle change is the "git." part before gitorious.org for http.

pranam said...

Thank you. This worked!

Dean said...

greetings to all.
I would first like to thank the writers of this blog by sharing information, a few years ago I read a book called guanacaste costa rica in this book deal with questions like this one.

niz said...

Hello .. firstly I would like to send greetings to all readers. After this, I recognize the content so interesting about this article. For me personally I liked all the information. I would like to know of cases like this more often. In my personal experience I might mention a book called Generic Viagra in this book that I mentioned have very interesting topics, and also you have much to do with the main theme of this article.