Hi, I just want the program to validate the file before to commit. (I'm conencted in pserver mode) A+
"Thornley, David" <[EMAIL PROTECTED]> a �crit dans le message de news: [EMAIL PROTECTED] > > > > -----Original Message----- > > From: Franck Marchand [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 03, 2002 5:14 AM > > To: [EMAIL PROTECTED] > > Subject: Validate html file before to commit. > > > > > > Hi all > > > > Someone has a script to check a file before to commit it in cvs ? > > > > I would like to do something like that : > > > > CommitInfo file : > > DEFAULT $CVSROOT/validate-html > > > > I need a file which be able to read the new file and check it > > if it contains > > correct html tag. > > > Do you have a validation program? You can use that, with some > setup. > > One thing I ran into when I tried adding complicated validation to > the CommitInfo file was that the time needed to commit slowed to > what would be unacceptable limits if committing in multiple directories. > > If validating the file is going to take inconveniently long, you might > want to use LogInfo to validate it later, and then send out some > sort of email, such as a notification to the manager or a termination > notice or something like that. > > Seriously, if you can't trust your employees to follow process, you > should get new employees. Establish that employees validate first, > then commit, and test if you like after the commit (because people > do make mistakes), and that should be enough. > > > _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
