LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2005, 03:08 PM   #1
Ratclaws
Member
 
Registered: Sep 2001
Location: New York
Distribution: Slackware 8
Posts: 102

Rep: Reputation: 16
cvs - require comments on commit


Does anyone know how to require that people add a comment when they commit a file? I searched the man page for cvs but didn't find anything relevant.

using xinitd..

Code:
{
        disable = no
   port          = 2401
   socket_type   = stream
   protocol      = tcp
   wait          = no
   user          = root
   passenv       = PATH
   server        = /usr/bin/cvs
   server_args   = -f --allow-root=/usr/local/cvsroot --allow-root=/usr/local/cvsrootj2ee pserver
}
 
Old 09-14-2005, 01:38 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
This isn't an answer to your question, but rather a follow-up if you find an answer.

Would it accomplish your goal? I assume what you're trying to do is force developers to enter a log message; to encourage those lazy developers to post meaningful log messages instead of empty ones.

So, thinking as a lazy developer, what would they do when confronted with a required log message? I would bet each file eventually gets populated with logs like: "fixed bugs", "quick fix", or (my personal favorite: a random characters) "isabvsuibv". Never underestimate the tenacity of the lazy. I've actually seen people do this before, and there's no way for CVS, or any filtering program, to determine whether the log message is meaningful or gibberish. Even if you could, there's no guarantee the developer actually remembered all the edits made.

I'm not trying to say what you want won't help, but if the developers don't have good habits, it's going to be a serious uphill battle to get them to change. And forcing them to do something they don't want usually makes them more resistant.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CVS won't allow "root" to commit changes RFlaugher Linux - Software 3 10-07-2004 02:43 PM
emailing on cvs commit allan_y Linux - Software 2 07-02-2004 09:30 AM
emailing people when cvs commit is done allan_y Linux - Software 1 05-28-2004 03:48 AM
Require SSH for CVS? IgD Linux - Security 1 10-14-2003 12:43 PM
why i'm getting this when i commit a file glalu Linux - General 1 08-03-2002 06:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration