On Wed, May 25, 2011 at 8:31 AM, Shawn Guo shawn.guo@freescale.com wrote:
On Tue, May 24, 2011 at 06:40:28PM -0400, James Westby wrote:
On Sat, 14 May 2011 23:45:35 +0200, Jeremiah Foster jeremiah.foster@pelagicore.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
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.
Many thanks for this!
Would someone please test and let me know the outcome of that test?
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?
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