Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to fetch all submodule of the qbox #3

Open
blueardour opened this issue Dec 29, 2017 · 4 comments
Open

failed to fetch all submodule of the qbox #3

blueardour opened this issue Dec 29, 2017 · 4 comments

Comments

@blueardour
Copy link

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
Copy link
Author

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
Copy link
Contributor

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

@blueardour
Copy link
Author

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants