[Logo] JCVSForum - Community Support For JCVS Users and Developers
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
using servlet for CVS Tunneling  XML
Forum Index » JCVS Users
Author Message
milo


[Avatar]

Joined: 26/08/2004 11:19:57
Messages: 1
Offline

Hello! I am looking for a solution for accessing a CVS repository behind a http
proxy.. The idea I have is running a local program which looks like a normal CVS
server, but that redirect the request to a remote servlet (outside the proxy),
which connects to the real CVS server.
In that way, I would use any CVS client and access the remote CVS in a clear
way.
I wanna know if jcvs can be used for that, or if you are interested in these
feature, or if anyone knows of some related project.
by the way, I can help with coding..
time


[Avatar]

Joined: 05/06/2004 18:09:23
Messages: 367
Location: Bangkok
Offline

Nothing that I have written can help you with this.

I would never even attempt to try this, as it is going to be much more
complicated than you think.

I would talk the sysadmin into allowing SSH tunneling. That is more secure
anyway. But if that is not possible, you may want to look into some of the
WebDAV solutions. I think there is one for CVS repositories, but I am not sure.
[Email] [WWW]
Anonymous




Hi
Idea of extending the CVS for working behind HTTP proxy is great. Many developers (like me ) are forced to be out of many open source projects since our networks are behind Proxies which stop even HTTP Connect method. I am ready to work on any such extension. Instead of working around using servlets, i guess we can extend server and the client for using stateless http requests , and manage the session using some sequence numbers (the way Yahoo chat does )
Any one else here interested in this , if so we can talk and try to implement.

Regards
Abdul
time


[Avatar]

Joined: 05/06/2004 18:09:23
Messages: 367
Location: Bangkok
Offline

CVS Commands, in general, are stateless. Each command is a single request with a single response. Requests and Responses can contain files, but so can HTTP requests (via MIME or other means).

It is a serious piece of work, and I believe there are other versioning systems out there that fill this niche. But, of course, that does not help those tied to CVS.
[Email] [WWW]
Anonymous



hi
if this is the case then i wonder why still i have to search for cvs clients which work behind firewalls (Without using HTTP Connect ). Can any one give a link to specification of CVS.

Regards
Abdul
time


[Avatar]

Joined: 05/06/2004 18:09:23
Messages: 367
Location: Bangkok
Offline

You do not have to search for cvs implementations for firewalls, as every cvs client currently supports SSH, which is THE preferred method of dealing with firewalls. HTTP is the "poor mans" solution to firewalls, and not very desirable.

As for the cvs protocol, I know of no place where it is fully documented. Most people reverse engineer it. However, it is discussed to some degree in the Cederqvist manual (now referred to as "The CVS Manual") at https://www.cvshome.org/docs/manual/cvs-1.11.19/cvs.html.

If I were attempting to perform cvs commands over the http protocol, I think I would use MIME multipart messages, similar to the way uploads are handled, to deal with the "parts" of a cvs request and response.
[Email] [WWW]
 
Forum Index » JCVS Users
Go to:   
Powered by JForum 2.1.9 © JForum Team