[cvsnt] administrative file for cvs add

Dulat Simon Simon.Dulat at Micronas.com
Mon Nov 21 10:40:03 GMT 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi all,
I posted the message below already, but got no answer so far. So I will
try and put the question somewhat different.
Is there an administrative file which controls a cvs add command just
like commitinfo controls a cvs commit command?
It would be great if someone could help me.
Thanks a lot.
Simon

> -----Original Message-----
> From: cvsnt-bounces at cvsnt.org 
> [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of Dulat Simon
> Sent: Friday, November 18, 2005 3:49 PM
> To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> Subject: [cvsnt] prevent binaries to be added to the repository
> 
> Hi there,
> it would be great if someone could help me out.
> I would like to prevent users from being able to add binary 
> files to the
> repository.
> I tried the following with CVSROOT/commitinfo:
> commitinfo checks if a file contains one of the following endings:
> *.obj, *.exe, ... and aborts commit if a file with one of 
> those endings
> is found.
> This works fine for new files being added to the repository, 
> or I should
> better say this works fine for new files being committed to the
> repository.
> Problem is: this approach doesn't work if a user tries to remove an
> existing binary file from the repository.
> A solution would be to prevent the initial adding of the file (not the
> following commit after a file was added). Is there a (administrative)
> file which controls "cvs add"?
> 
> Thanks a lot in advance for your help!
> 
> Cheers,
> Simon
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
> 



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook