Elliott, Robert (Persistent Memory)
2015-Nov-22 18:02 UTC
[syslinux] git clone of syslinux with http - submodule issue
The wiki: http://www.zytor.com/mailman/listinfo/syslinux says to use this to clone git with http rather than git protocol: git clone --recursive http://repo.or.cz/syslinux.git a-new-directory That works for the main project, but fails for the gnu-efi submodule, which specifies the git protocol in its .config file: $ git clone --recursive http://repo.or.cz/syslinux.git syslinux Cloning into 'syslinux'... remote: Counting objects: 50634, done. remote: Total 50634 (delta 0), reused 0 (delta 0) Receiving objects: 100% (50634/50634), 22.12 MiB | 1.91 MiB/s, done. Resolving deltas: 100% (37763/37763), done. Submodule 'gnu-efi' (git://git.code.sf.net/p/gnu-efi/code) registered for path 'gnu-efi' Cloning into 'gnu-efi'... fatal: unable to connect to git.code.sf.net: git.code.sf.net[0: 216.34.181.155]: errno=Connection timed out Clone of 'git://git.code.sf.net/p/gnu-efi/code' into submodule path 'gnu-efi' failed As a workaround, I set up a git proxy with socat as described on https://gist.github.com/sit/49288 (which is generally useful). The syslinux wiki could point to that... but is there a direct way to get the submodules to use http? --- Robert Elliott, HPE Persistent Memory
> The wiki: > http://www.zytor.com/mailman/listinfo/syslinuxAs of the moment I am writing this email, the current version of the page you are actually referring to: http://www.syslinux.org/wiki/index.php?title=Development&oldid=4419 was last edited on 2015Oct25.> says to use this to clone git with http rather than git protocol: > git clone --recursive http://repo.or.cz/syslinux.git a-new-directory > > That works for the main project, but fails for the gnu-efi > submodule, which specifies the git protocol in its .config file: >> > --- > Robert Elliott, HPE Persistent Memory > >As of the current version of the aforementioned wiki page, I would not had interpreted the text the same way you wrote it here. Anyway, have you actually tried the first suggested method to clone the repo: git clone --recursive git://repo.or.cz/syslinux.git a-new-directory using git, not http? Is _that_ working correctly? Regards, Ady.> > _______________________________________________ > Syslinux mailing list > Submissions to Syslinux at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux >
Geert Stappers
2015-Nov-23 00:03 UTC
[syslinux] git clone of syslinux with http - submodule issue, in fact a firewall isssue
On Sun, Nov 22, 2015 at 06:02:19PM +0000, Elliott, Robert (Persistent Memory) via Syslinux wrote:> The wiki: > http://www.zytor.com/mailman/listinfo/syslinux > says to use this to clone git with http rather than git protocol: > git clone --recursive http://repo.or.cz/syslinux.git a-new-directory > > That works for the main project, but fails for the gnu-efi > submodule, which specifies the git protocol in its .config file: > > $ git clone --recursive http://repo.or.cz/syslinux.git syslinux > Cloning into 'syslinux'... > remote: Counting objects: 50634, done. > remote: Total 50634 (delta 0), reused 0 (delta 0) > Receiving objects: 100% (50634/50634), 22.12 MiB | 1.91 MiB/s, done. > Resolving deltas: 100% (37763/37763), done. > Submodule 'gnu-efi' (git://git.code.sf.net/p/gnu-efi/code) registered for path 'gnu-efi' > Cloning into 'gnu-efi'... > fatal: unable to connect to git.code.sf.net: > git.code.sf.net[0: 216.34.181.155]: errno=Connection timed out > Clone of 'git://git.code.sf.net/p/gnu-efi/code' into submodule path 'gnu-efi' failedMost likely due some firewall that does NOT allow traffic over the git port 9418> > As a workaround, I set up a git proxy with socat as described > on https://gist.github.com/sit/49288 (which is generally useful). > > The syslinux wiki could point to that...True> but is there a direct way to get the submodules to use http?https://www.google.nl/search?q=git+supported+protocols Groeten Geert Stappers -- stappers at nero:~/orkest $ git clone --recursive http://repo.or.cz/syslinux.git a-new-directory Cloning into 'a-new-directory'... remote: Counting objects: 50634, done. remote: Total 50634 (delta 0), reused 0 (delta 0) Receiving objects: 100% (50634/50634), 22.12 MiB | 1.86 MiB/s, done. Resolving deltas: 100% (37763/37763), done. Checking connectivity... done. Submodule 'gnu-efi' (git://git.code.sf.net/p/gnu-efi/code) registered for path 'gnu-efi' Cloning into 'gnu-efi'... remote: Counting objects: 764, done. remote: Compressing objects: 100% (670/670), done. remote: Total 764 (delta 420), reused 111 (delta 18) Receiving objects: 100% (764/764), 279.30 KiB | 454.00 KiB/s, done. Resolving deltas: 100% (420/420), done. Checking connectivity... done. Submodule path 'gnu-efi': checked out 'ab54e2b40e914d0ca01dc3d44c8d4eb8517bf999' stappers at nero:~/orkest $ ls a-new-directory/ codepage dos gpxe man now.pl version com32 dosutil libfat mbr README version.pl COPYING dummy.c libinstaller memdisk sample win core efi linux mime syslinux.spec.in win32 devel extlinux lzo mk tests win64 diag gen-id.sh Makefile mtools txt doc gnu-efi Makefile.private NEWS utils stappers at nero:~/orkest $ echo HTTP is not the only network protocol HTTP is not the only network protocol
Gene Cumm
2015-Nov-23 02:25 UTC
[syslinux] git clone of syslinux with http - submodule issue
On Sun, Nov 22, 2015 at 5:49 PM, Ady via Syslinux <syslinux at zytor.com> wrote:> >> The wiki: >> http://www.zytor.com/mailman/listinfo/syslinux> As of the moment I am writing this email, the current version of the > page you are actually referring to: > > http://www.syslinux.org/wiki/index.php?title=Development&oldid=4419 > > was last edited on 2015Oct25.>> says to use this to clone git with http rather than git protocol: >> git clone --recursive http://repo.or.cz/syslinux.git a-new-directory >> >> That works for the main project, but fails for the gnu-efi >> submodule, which specifies the git protocol in its .config file:>> --- >> Robert Elliott, HPE Persistent Memory> As of the current version of the aforementioned wiki page, I would not > had interpreted the text the same way you wrote it here. > > Anyway, have you actually tried the first suggested method to clone the > repo: > > git clone --recursive git://repo.or.cz/syslinux.git a-new-directory > > using git, not http? Is _that_ working correctly?Ady, no need. Smells like he's behind a firewall that blocks tcp/9418 but allows tcp/80. Robert, I just updated the directions and it should help your issue. -- -Gene