nvdla / vp

Virtual Platform for NVDLA
Other
131 stars 81 forks source link

failed to fetch all submodule of the qbox #3

Open blueardour opened 6 years ago

blueardour commented 6 years ago

clone of neither git://git.qemu.org/QemuMacDrivers.git nor https://git.qemu.org/QemuMacDrivers.git failed. I notice there is a thread talking about the problem. clone

They seemed to fix the bug however, I still could not fetch it. May I know whether could I change the qbox repository to the github mirror?

revise the qbox/.gitsubmodule url to something like 'https://github.com/qemu/sgabios.git'

blueardour commented 6 years ago

After change the most of the url to github mirror in the qbox, there is one left: the pixman. I am accessing the internal via a proxy. git protocol would not work. So I changed allit to http://anongit.freedesktop.org/pixman. However, it failed to fetch the pixman code

jarodw0723 commented 6 years ago

Did u change it to https://anongit.freedesktop.org/git/pixman.git ? I can clone this one with https in my local.

blueardour commented 6 years ago

Oh, thanks. It works

git config --global url.https://anongit.freedesktop.org/git.insteadOf git://anongit.freedesktop.org git config --global url.https://github.com/qemu.insteadOf git://git.qemu.org git config --global url.https://github.com/qemu.insteadOf git://git.qemu-project.org git config --global url.https://github.com.insteadOf git://github.com

fix all my problems.

tips: make sure ' url.https://github.com/qemu.insteadOf git://git.qemu.org' and 'url.https://github.com/qemu.insteadOf git://git.qemu-project.org' do not conflict.

BTW, maybe these settings could be revised in the .gitmodule file if convenient.

lvcargnini commented 6 years ago

git config --global url.https://anongit.freedesktop.org/git.insteadOf git://anongit.freedesktop.org git config --global url.https://github.com/qemu.insteadOf git://git.qemu.org git config --global url.https://github.com/qemu.insteadOf git://git.qemu-project.org git config --global url.https://github.com.insteadOf git://github.com

Just fixing any typos to copy/paste