RE: Block a file by Commitinfo?

Rez P <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Thanks for your reply. I'll play around and see what I'll come up with.
 
> From: [email protected]
> Date: Wed, 15 Jul 2009 00:23:40 -0700
> To: [email protected]
> Subject: Re: Block a file by Commitinfo?
> 
> On Jul 15, 7:40 am, Rez P <[email protected]> wrote:
> > Hello everyone
> >
> > Is there any way to prevent users or developers from uploading and checking in certain files into cvs?  I was reading the somewhat ambiguous examples on ximbiot and doesn't look I could do this.  I would like to block Windows thumbs.db and desktop.ini files from uploading to the server.
> 
> Hello Rez,
> 
> There are many pre-commit validations that one can think of.
> One of them is banning commit of specific files. Another is checking
> for unwanted content (e.g. -d debug flag for Perl CGI files).
> 
> There is more than one way you can choose for doing this:
> 1) Add a line in commitinfo per each banned file
> 2) From commitinfo call a script or application with the directory
> path & name of commited file (and perhaps committed version), and let
> it do the validation. This is the method we use in Jungo.
> 
> HTH,
> --
> Yaron Yogev
> IT Software Developer
> Jungo Software Technologies
> 

_________________________________________________________________
Windows Live™: Keep your life in sync. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.