I just tried using a fresh download and it's ok for me.
Code:Collecting package info: done Updating feed 'luci' from 'http://github.com/openwrt/luci.git;0.11.1' ... Cloning into './feeds/luci'... remote: Counting objects: 3142, done. remote: Compressing objects: 100% (2159/2159), done. Receiving objects: 100% (3142/3142), 3.73 MiB | 3.44 MiB/s, done. remote: Total 3142 (delta 661), reused 2665 (delta 399), pack-reused 0 Resolving deltas: 100% (661/661), done. Checking connectivity... done. Note: checking out 'adc4c2932ec7039a6b7effeace098e5bc46861c6'.
Hrm. Fresh download and I'm getting the error.
Code:
Collecting package info: done
Updating feed 'luci' from 'http://github.com/openwrt/luci.git;0.11.1' ...
Cloning into './feeds/luci'...
error: RPC failed; result=22, HTTP code = 408
fatal: The remote end hung up unexpectedly
failed.
Lets see what the feeds script is doing when specifying src-git
Code:
'src-git' => {
'init' => "git clone --depth 1 '%s' '%s'",
'init_branch' => "git clone --depth 1 --branch '%s' '%s' '%s'",
'update' => "git pull",
'controldir' => ".git",
'revision' => "git show --abbrev-commit HEAD | head -n 1 | cut -d ' ' -f 2 | tr -d '\n'"},
We are specifying a branch so lets try running init_branch command by itself.
Code:
$ git clone --depth 1 --branch '0.11.1' 'http://github.com/openwrt/luci.git' '~/luci1'
Cloning into '~/luci1'...
error: RPC failed; result=22, HTTP code = 408
fatal: The remote end hung up unexpectedly
and if we add HTTPS?
Code:
$ git clone --depth 1 --branch '0.11.1' 'https://github.com/openwrt/luci.git' '~/luci1'
Cloning into '~/luci1'...
remote: Counting objects: 12531, done.
remote: Compressing objects: 100% (6649/6649), done.
remote: Total 12531 (delta 4242), reused 10433 (delta 2695), pack-reused 0
Receiving objects: 100% (12531/12531), 8.76 MiB | 6.32 MiB/s, done.
Resolving deltas: 100% (4242/4242), done.
warning: Remote branch 0.11.1 not found in upstream origin, using HEAD instead
Only thing I can think of is that you are using a newer version of git?
Code:
$ git --version
git version 1.7.9.5
Last edited: