Re: [Openocd-development] git submodule failure behind HTTP-only proxy
Austin, Alex wrote: > Personally, I prefer the git protocol if possible. It's much faster > and has lower overhead. This used to be very true. Please see http://progit.org/2010/03/04/smart-http.html //Peter ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] git submodule failure behind HTTP-only proxy
Øyvind Harboe wrote: > > My workaround is to manually edit .git/config before the update. > > I replaced this section > > > >> [submodule "tools/git2cl"] > >> url = git://repo.or.cz/git2cl.git > > > > by > > > >> [submodule "tools/git2cl"] > >> url = http://repo.or.cz/r/git2cl.git > > This is not a workaround, it's a solution! :-) > > The only question is whether we should commit the change. If repo.or.cz is running a recent git then http:// is not much more inefficient than git:// but on the other hand works through proxies, so while the submodules are still there I think it makes sense to commit. //Peter ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] git submodule failure behind HTTP-only proxy
Personally, I prefer the git protocol if possible. It's much faster and has lower overhead. I think the best idea would be to add .gitmodules to .gitignore and have the bootstrap script modify .gitmodules to point to either git: or http: depending on some user preference. Øyvind Harboe wrote: > My workaround is to manually edit .git/config before the update. I replaced > this section >> [submodule "tools/git2cl"] >> url = git://repo.or.cz/git2cl.git > > by > >> [submodule "tools/git2cl"] >> url = http://repo.or.cz/r/git2cl.git This is not a workaround, it's a solution! :-) The only question is whether we should commit the change. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] git submodule failure behind HTTP-only proxy
> My workaround is to manually edit .git/config before the update. I replaced > this section >> [submodule "tools/git2cl"] >> url = git://repo.or.cz/git2cl.git > > by > >> [submodule "tools/git2cl"] >> url = http://repo.or.cz/r/git2cl.git This is not a workaround, it's a solution! :-) The only question is whether we should commit the change. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
[Openocd-development] git submodule failure behind HTTP-only proxy
Hi, I have a problem updating the git submodules when doing this from behind a HTTP-only proxy. Cloning (git clone http://repo.or.cz/r/openocd.git) works fine. Next step (./bootstrap) is also ok. However, the following step shows that a mixture of http and git protocol is used: > git submodule init > Submodule 'jimtcl' (http://repo.or.cz/r/jimtcl.git) registered for path > jimtcl' > Submodule 'tools/git2cl' (git://repo.or.cz/git2cl.git) registered for path > 'tools/git2cl' The next step (git submodule update) fails on the git2cl submodule. > Cloning into tools/git2cl... > fatal: Unable to look up repo.or.cz (port 9418) (Name or service not known) > Clone of 'git://repo.or.cz/git2cl.git' into submodule path 'tools/git2cl' > failed My workaround is to manually edit .git/config before the update. I replaced this section > [submodule "tools/git2cl"] > url = git://repo.or.cz/git2cl.git by > [submodule "tools/git2cl"] > url = http://repo.or.cz/r/git2cl.git Regards, Rolf ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development