Anyone out there know much about CVS?
Jan. 27th, 2010 12:32 pmMy current project has a CVS repository, and once a day it's my job to go through all of the changes and make sure nobody has done anything unusually dumb.
At the moment we generate a report with all of the changes, along with file names, committer, comment, etc. But then I have to go through each file by hand to see what the changes were, which is dull and frustrating.
Is there anything out there that would allow me to do it all in one place?
Current tooling - Visual Studio 2005. I have Eclipse as well though.
Comments along the lines of "CVS suxors!" are not helpful. Corporate Standards are slow to change, and this one will at some point. Meanwhile I have a job to do...
At the moment we generate a report with all of the changes, along with file names, committer, comment, etc. But then I have to go through each file by hand to see what the changes were, which is dull and frustrating.
Is there anything out there that would allow me to do it all in one place?
Current tooling - Visual Studio 2005. I have Eclipse as well though.
Comments along the lines of "CVS suxors!" are not helpful. Corporate Standards are slow to change, and this one will at some point. Meanwhile I have a job to do...
no subject
Date: 2010-01-27 12:46 pm (UTC)cvs diff -D2010-01-26
to see everything that's changed since yesterday?
no subject
Date: 2010-01-27 01:25 pm (UTC)no subject
Date: 2010-01-27 01:27 pm (UTC)no subject
Date: 2010-01-27 02:37 pm (UTC)AND CVS is CRAP, AWFUL, DREADFUL and should never have been allowed to exist
no subject
Date: 2010-01-27 02:38 pm (UTC)no subject
Date: 2010-01-27 02:46 pm (UTC)no subject
Date: 2010-01-27 03:27 pm (UTC)no subject
Date: 2010-01-27 03:37 pm (UTC)The alternative is to write something which does it for me - cvs commands don't look that hard, I'm sure I could write something to get the list of different files, put them in a tree, and then show me the differences for each one when I select it.
no subject
Date: 2010-01-27 07:13 pm (UTC)no subject
Date: 2010-01-27 07:30 pm (UTC)no subject
Date: 2010-01-27 08:29 pm (UTC)no subject
Date: 2010-01-27 11:21 pm (UTC)no subject
Date: 2010-01-27 11:21 pm (UTC)no subject
Date: 2010-01-27 11:22 pm (UTC)no subject
Date: 2010-01-28 12:11 am (UTC)no subject
Date: 2010-01-28 07:54 am (UTC)On something like Gnome there are bindings too.
I figured you were on the command line and wanted text output though... I'm not entirely clear on what you want, but it sounds like parsing the log output from CVS to see which files have actually been touched is part of it.
no subject
Date: 2010-01-28 08:02 am (UTC)http://www.bastichlabz.org/bastich/Strips/ba980225.gif
no subject
Date: 2010-01-28 08:41 am (UTC)no subject
Date: 2010-01-28 09:15 am (UTC)no subject
Date: 2010-01-28 09:24 am (UTC)We also use it to generate HTML mails from CVS diffs for pre-commit code reviews. Just because we're like that around here.
no subject
Date: 2010-01-28 01:22 pm (UTC)no subject
Date: 2010-01-28 01:28 pm (UTC)no subject
Date: 2010-01-28 08:33 pm (UTC)Once you've got ViewVC running, modify your report to change the file name to be a ViewVC link to the file with a diff to the previous version. For bonus points, add a button at the bottom to cause Firefox to open a single window with each diff in a different tab.
For bonus bonus points: Hook CVS into your bug tracking, and have it drop a comment into the bug that the commit message lists, which includes the list of files and the links to the diffs.
no subject
Date: 2010-01-28 08:38 pm (UTC)Worth taking a look at it though. Thanks!
no subject
Date: 2010-01-28 08:44 pm (UTC)no subject
Date: 2010-01-28 09:00 pm (UTC)But yes. Quite neat, if you do the integration. Useful, even without the integration.
no subject
Date: 2010-01-28 09:01 pm (UTC)no subject
Date: 2010-02-18 09:40 am (UTC)