info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to impliment bidirectional replication of CVS


From: Derek Price
Subject: Re: how to impliment bidirectional replication of CVS
Date: Thu, 08 Sep 2005 10:37:44 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Mark D. Baushke wrote:

>Hmmm... I didn't notice before that you are attempting to mix :pserver:
>mode with write proxy mode. I do not believe that will work (I am CCing
>Derek on the off chance that I am mistaken).

It would probably only take minor tweaking to make :pserver: and
writeproxy play nice together, but currently open_connection_to_pserver
is going to try and authenticate and fail since it can't get a
password.  What needs to be tweaked is that auth is skipped when opening
a connection from a secondary.  Then the original pserver auth session
will be replayed instead (this part is already in place).

What would be much harder to mix is :pserver: and :ext: in conjunction
with writeproxy.  Currently very little parsing of the recorded sesion
on the secondary is being done, and no munging is ever being done when
the session is replayed for the primary.

If you don't feel like hacking the sources, the easiest thing to do is
set up :ext: authentication for both connections and forward your
ssh-agent to allow the second SSH session to authenticate.

Regards,

Derek
-- 
Derek R. Price
CVS Solutions Architect
Ximbiot <http://ximbiot.com>
v: +1 717.579.6168
f: +1 717.234.3125
<mailto:address@hidden>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]