Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Using EGit behind a proxy (http only)
Using EGit behind a proxy (http only) [message #504291] Fri, 18 December 2009 00:16 Go to next message
Eclipse UserFriend
Hi,

is it possible to use EGit behind a proxy via http?

Best regards, Lars

--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
Re: Using EGit behind a proxy (http only) [message #504303 is a reply to message #504291] Fri, 18 December 2009 03:57 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

yes this is possible. Git repositories are most often accessible via multiple protocols and one of them is http (which will go through your firewall).
Some projects describe in their documentation (e.g. from where to fetch the sources) only the git protocol, but it is always worth to try it with the http protocol. If the projects doesn't publish explicitly their http URLs then just exchange in the URL git:// by http://. Sometimes you have to add the ".git" suffix to the URL.

Example: if you want to the the sources for EGit and JGit find on our contributor guide the URLs for the git protocol and exchange git with http. E.g. http://egit.eclipse.org/egit/parallelip-jgit.git

Limitations:
- no write operations (e.g. git push) with http possible. For write you need ssh communication which may be blocked by your firewall.
- suboptimal performance of http (see bug 291002)
Re: Using EGit behind a proxy (http only) [message #504437 is a reply to message #504303] Fri, 18 December 2009 23:44 Go to previous message
Eclipse UserFriend
Hi Chris,

thanks. I wasn't sure if JGit already implements the http protocol but
from your answer it is clear that is does. Thanks, I give it a try once
I'm back behind a proxy.

Best regards, Lars

On 18.12.2009 00:57, Chris wrote:
> Hi,
>
> yes this is possible. Git repositories are most often accessible via
> multiple protocols and one of them is http (which will go through your
> firewall).
> Some projects describe in their documentation (e.g. from where to fetch
> the sources) only the git protocol, but it is always worth to try it
> with the http protocol. If the projects doesn't publish explicitly their
> http URLs then just exchange in the URL git:// by http://. Sometimes you
> have to add the ".git" suffix to the URL.
>
> Example: if you want to the the sources for EGit and JGit find on our
> http://wiki.eclipse.org/EGit/Contributor_Guide the URLs for the git
> protocol and exchange git with http. E.g.
> http://egit.eclipse.org/egit/parallelip-jgit.git
>
> Limitations: - no write operations (e.g. git push) with http possible.
> For write you need ssh communication which may be blocked by your firewall.
> - suboptimal performance of http (see bug 291002)
>
Re: Using EGit behind a proxy (http only) [message #576711 is a reply to message #504291] Fri, 18 December 2009 03:57 Go to previous message
Eclipse UserFriend
Hi,

yes this is possible. Git repositories are most often accessible via multiple protocols and one of them is http (which will go through your firewall).
Some projects describe in their documentation (e.g. from where to fetch the sources) only the git protocol, but it is always worth to try it with the http protocol. If the projects doesn't publish explicitly their http URLs then just exchange in the URL git:// by http://. Sometimes you have to add the ".git" suffix to the URL.

Example: if you want to the the sources for EGit and JGit find on our http://wiki.eclipse.org/EGit/Contributor_Guide the URLs for the git protocol and exchange git with http. E.g. http://egit.eclipse.org/egit/parallelip-jgit.git

Limitations:
- no write operations (e.g. git push) with http possible. For write you need ssh communication which may be blocked by your firewall.
- suboptimal performance of http (see bug 291002)

--
Ciao
Chris
Re: Using EGit behind a proxy (http only) [message #576738 is a reply to message #576711] Fri, 18 December 2009 23:44 Go to previous message
Eclipse UserFriend
Hi Chris,

thanks. I wasn't sure if JGit already implements the http protocol but
from your answer it is clear that is does. Thanks, I give it a try once
I'm back behind a proxy.

Best regards, Lars

On 18.12.2009 00:57, Chris wrote:
> Hi,
>
> yes this is possible. Git repositories are most often accessible via
> multiple protocols and one of them is http (which will go through your
> firewall).
> Some projects describe in their documentation (e.g. from where to fetch
> the sources) only the git protocol, but it is always worth to try it
> with the http protocol. If the projects doesn't publish explicitly their
> http URLs then just exchange in the URL git:// by http://. Sometimes you
> have to add the ".git" suffix to the URL.
>
> Example: if you want to the the sources for EGit and JGit find on our
> http://wiki.eclipse.org/EGit/Contributor_Guide the URLs for the git
> protocol and exchange git with http. E.g.
> http://egit.eclipse.org/egit/parallelip-jgit.git
>
> Limitations: - no write operations (e.g. git push) with http possible.
> For write you need ssh communication which may be blocked by your firewall.
> - suboptimal performance of http (see bug 291002)
>
Previous Topic:Using EGit behind a proxy (http only)
Next Topic:Any Jgit kickoff doc/sample?
Goto Forum:
  


Current Time: Tue Jul 22 17:41:21 EDT 2025

Powered by FUDForum. Page generated in 0.03806 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top