Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Using EGit behind a proxy (http only)
Using EGit behind a proxy (http only) [message #504291] Fri, 18 December 2009 05:16 Go to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1049
Registered: July 2009
Senior Member

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 08:57 Go to previous messageGo to next message
Christian Halstrick is currently offline Christian Halstrick
Messages: 106
Registered: July 2009
Senior Member
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)


Ciao
Chris
Re: Using EGit behind a proxy (http only) [message #504437 is a reply to message #504303] Sat, 19 December 2009 04:44 Go to previous message
Lars Vogel is currently offline Lars Vogel
Messages: 1049
Registered: July 2009
Senior Member

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 08:57 Go to previous message
Christian Halstrick is currently offline Christian Halstrick
Messages: 106
Registered: July 2009
Senior Member
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


Ciao
Chris
Re: Using EGit behind a proxy (http only) [message #576738 is a reply to message #576711] Sat, 19 December 2009 04:44 Go to previous message
Lars Vogel is currently offline Lars Vogel
Messages: 1049
Registered: July 2009
Senior Member

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: Wed Oct 22 06:47:31 GMT 2014

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

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