Hi,
would it be possible to access the projects hosted in the git repository [1] using the http protocol? E.g. like with git.kernel.org? I know it's a pain, but some people sitting behind a firewall don't have any other option.
Many thanks!
Dirk
On Thu, May 12, 2011 at 4:39 PM, Dirk Behme dirk.behme@googlemail.com wrote:
It certainly is technically possible. The git-http-backend file allows one to use http and https as transports. Whoever is the admin for the Linaro git repos would need to make some changes to the apache config files for the git repo. See http://www.kernel.org/pub/software/scm/git/docs/git-http-backend.html and http://progit.org/2010/03/04/smart-http.html
Regards,
Jeremiah
On Sat, 14 May 2011 23:45:35 +0200, Jeremiah Foster jeremiah.foster@pelagicore.com wrote:
Hi,
Thanks to Eric Miao and Paul Collins this is now enabled on git.linaro.org and gitweb should now be publishing the http urls too.
Would someone please test and let me know the outcome of that test?
Thanks,
James
On Tue, May 24, 2011 at 06:40:28PM -0400, James Westby wrote:
Seems not working yet for me:
$ git clone http://git.linaro.org/kernel/linux-linaro-2.6.38.git Cloning into linux-linaro-2.6.38... fatal: http://git.linaro.org/kernel/linux-linaro-2.6.38.git/info/refs not found: did you run git update-server-info on the server?
On Wed, May 25, 2011 at 8:31 AM, Shawn Guo shawn.guo@freescale.com wrote:
Many thanks for this!
Could you check your URL? It seems to me that a 'git' is missing? ..org/git/kernel/...?
I tried it and got
temp$ git clone http://git.linaro.org/git/kernel/linux-linaro-2.6.38.git
Initialized empty Git repository in temp/linux-linaro-2.6.38/.git/
remote: Counting objects: 1912280, done.
remote: Compressing objects: 100% (323772/323772), done.
remote: Total 1912280 (delta 1593784), reused 1889193 (delta 1570960)
Receiving objects: 100% (1912280/1912280), 421.52 MiB | 2.25 MiB/s, done.
Resolving deltas: 100% (1593784/1593784), done.
Checking out files: 100% (36148/36148), done.
temp$
I tried some other repositories from git.linaro.org and they seem to clone via http, too.
I got some
error: RPC failed; result=18, HTTP code = 200772)
while cloning and had to restart several times, but this might be related to my firewall. Finally it worked like given above, then.
Many thanks again and best regards
Dirk
On Wed, May 25, 2011 at 12:59:54PM +0200, Dirk Behme wrote:
Ah, yes. I missed 'git' in the url. As the url for git protocol is git://git.linaro.org/kernel/linux-linaro-2.6.38.git, I thought all I need to do is changing "git://" to "http://".
Thanks for pointing this out.