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: Howard Zhou
Subject: Re: Does pre-commit script with a remote server?
Date: Fri, 12 Jan 2001 00:37:00 -0800

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
>
> --
> Derek Price                      CVS Solutions Architect
 http://CVSHome.org )
> mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
> --
> I used to think people were crazy to get tattoos.  Nowadays, I envy
> them that clarity of thought.  There was at least one point in their lives
> when they thought they knew what they were doing.  They could walk into a
> tattoo parlor and say, "I want a big old pig, in red and black, with
flames
> shooting out of its nose!  And I want it right there!  That's who I am!"
>
>
>
>
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs




reply via email to

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