bug-cvs
[Top][All Lists]
Advanced

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

答复: triger one script file during re ad action


From: Li Yuejiong\(John\)
Subject: 答复: triger one script file during re ad action
Date: Thu, 11 Mar 2004 10:23:33 +0800

Well. Originally, CVS is a software of open source world. In such a 
environement, there is no need for strict control of read access. But if we 
want to use it in business world, we need this feature. I think if CVS can 
triger one script file before doing any read action, we can implement 
complicate and subtle access control. 

Thanks,
John li

-----原始邮件-----
发件人: Jim.Hyslop [mailto:address@hidden
发送时间: Thursday, March 11, 2004 00:01
收件人: Li Yuejiong(John)
抄送: 'address@hidden'
主题: RE: triger one script file during read action


[Note: restoring bug-cvs to list of recipients]

Li Yuejiong(John) wrote:
> Thanks. But what I want is to triger the script file before 
> checkout or any other "read" action, not after. I think 
> history file is not useful for me? Right?
Right. Sorry, I realized after I sent the message that the history wouldn't
do what you wanted.

As far as I can tell, history is the only hook that happens on commit, so I
don't think there's any way to do what you want.

What are you trying to accomplish? Maybe there's something else you can try.


[remainder of message left for context]
> -----原始邮件-----
> 发件人: Jim.Hyslop [mailto:address@hidden
> 发送时间: Tuesday, March 09, 2004 02:17
> 收件人: Li Yuejiong(John)
> 主题: RE: triger one script file during read action
> 
> 
> Li Yuejiong(John) wrote:
> > When user does a "write" action such as commit, CVS server 
> > will triger
> > several script files. Is it possible to triger any script file when
> > anyone want to do "read" action such as checkout? 
> Well, I suppose there's always the history file:
> http://www.cvshome.org/docs/manual/cvs-1.11.13/cvs_18.html#SEC178
> 
> It does more than just checkouts, but it may prove useful to you.
> 


-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)



reply via email to

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