Summary: | app-portage/layman - repositories inaccessible behind firewall that only allows http | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jonathan Manning <jmanning> |
Component: | Current packages | Assignee: | Sebastian Pipping <sping> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jamesbroadhead, rbu |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jonathan Manning
2009-08-05 16:11:32 UTC
*** Bug 284187 has been marked as a duplicate of this bug. *** (In reply to comment #0) > Please consider a way to provide alternate (fallback?) urls, or a config option > to force http in layman. > > Fix would be either in layman or in > http://www.gentoo.org/proj/en/overlays/layman-global.txt (or both). The layman-global.txt part is done by now: The successor format "repositories.xml" supports alternative sources: <source type="git">git://git.overlays.gentoo.org/dev/alexxy.git</source> <source type="git">http://git.overlays.gentoo.org/gitroot/dev/alexxy.git</source> <source type="git">git+ssh://git@git.overlays.gentoo.org/dev/alexxy.git</source> The next step needed is to have Layman look let you choose from that. I have an option --prefer-http in mind. Please let me know if you plan to hack on that yourself before I do. The layman Git repo is up on SourceForge: <http://sourceforge.net/projects/layman/> work in progress, stay tuned. I'm just doing some testing here with a firewall blocking outgoing connections to port 9418 for Git. With that blocking rule enabled running git clone "git://git.overlays.gentoo.org/dev/dberkholz" seems to never return. With the new try-next-URI-until-success approach this will never get past the first URI. Any ideas on how to force failure in such a case, i.e. to make Git abort when a firewall is blocking it? (Killing the command after a timeout is a no-go to me.) layman-1.3.0_rc1 supporting try-next-URI-until-success is out now. therefore this bug's original request has been filled - closing. if you run into trouble with it i would like you to open new bugs for it. in any case i would like to hear how 1.3.0_rc1 is working for you. please drop me a mail if you have a minute. |