info-cvs
[Top][All Lists]
Advanced

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

Re: Does pre-commit script with a remote server?


From: Derek R. Price
Subject: Re: Does pre-commit script with a remote server?
Date: Fri, 12 Jan 2001 10:29:35 -0500

The only thing I can suggest is one of the patches I already mentioned.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
--
Tis better to be thought a fool, than to open your mouth and
remove all doubt.

Howard Zhou wrote:

> My real issue is as follows:
>
> I want to protect $CVSROOT from being modified since it is NFS mounted.
> I'd like to set up a client/server with :pserver: method.
> When I tested the :pserver:, I found that editinfo is bypassed and
> commitinfo is not executed prior to the interactive cvs log editting. The
> only way to make the commitinfo work right is to use -m option, which is not
> good enough since users want to edit cvs log interactively with a
> pre-defined template.
>
> Any suggestions?
>
> Howard
>
> ----- Original Message -----
> From: "Derek R. Price" <address@hidden>
> To: "Howard Zhou" <address@hidden>
> Cc: "CVS Info" <address@hidden>
> Sent: Thursday, January 11, 2001 6:02 AM
> Subject: Re: Does pre-commit script with a remote server?
>
> > Howard Zhou wrote:
> >
> > > Now if I use :pserver: method, I still have the same problem. Is
> :pserver:
> > > using rsh too?
> >
> > Nope, but I didn't understand the rest of your question.
> >
> > As for the first question, I have three possible solutions:
> >
> > 1)  Set the CVSEDITOR variable on all clients to a script which edits the
> log
> > message before calling the standard EDITOR on it for the user.  This would
> all
> > happen on the client, of course, so usually brings up portability issues.
> >
> > 2)  The BSD people have a patch for CVS which allows the verifymsg script
> to
> > change the log message after the user sees it but before it gets into the
> RCS
> > files.  This may do what you need.  There should be a link in the mail
> > archives.
> >
> > 3)  I have a patch I wrote myself that adds a templatefilterinfo admin
> file
> > which allows the rcsinfo template to be edited before it is presented to
> the
> > user, but it doesn't work properly in client/server mode yet.  You're
> welcome
> > to try and fix it.  If you ask nicely, I'll post the link again.  :)
> >
> > Derek




reply via email to

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