CVSspam
About
Noting that,
a. CVS can be
made to send 'spam' emails on every commit
b. Systems such as
SpamAssassin
have trouble identifing these for what they are (that is, 'spam')
c. SpamAssassin hates HTML email
we present CVSspam, a system for flagging CVS commit mails with
HTML-colourisation-goop.
Example
See a basic example and an artificially
complicated test case email.
Features
- Every email includes colourised unified-diffs for all changed text
files, and the commiter's log comment.
- If configured, mails can include links to
Bugzilla
bugs, from specially formated log messages.
- If configured, mails can include links to a
ViewCVS,
CVSweb or
Chora view of your
repository. Particularly useful for seeing binary image files before
and after a change.
- Written in Ruby.
You do have it installed, don't you?
Documentation
Read the documentation in HTML or
PDF formats.
See Ruslan Hristov's
procedure for setting up CVSspam with CVS in a chroot jail.
Download
New releases are announced on
freshmeat.
Current
2004-05-10 cvsspam-0.2.9.tar.gz
~54kB
- Take sender email addresses from the
CVSROOT/users
config file, if it exists
- Truncate super-long lines in diff output
- Fix an error generating the email subject under certain
circumstances
- Multi-repository support for CVSweb
Previous
2003-09-23 cvsspam-0.2.8.tar.gz
~53kB
- Support sending email using Net::SNMP for people with no MTA on
their CVS server
- Support ViewCVS's multiple-repository feature
- Documentation improvements
- Fix some 'uninitialized variable' warnings
2003-07-12 cvsspam-0.2.7.tar.gz
~43kB
- Any CVS branch name is included in the email subject, and the names
of files commited may be added too
- CVSweb is now a supprted web front-end
- The script can make better From addresses when using a CVS pserver
with aliased usernames, using a new --user flag
- JIRA issue numbers and RT ticket numbers can be made into links from
the log comment.
2003-03-24 cvsspam-0.2.6.tar.gz
~25kB
- Fix temp-file security problems (and honour $TMPDIR)
- Encode non-ASCII characters in the email Subject header (per
RFC2047)
- Support Chora as well as ViewCVS
- When all files where commited on the same branch, don't display the
branch name against every file
- Make each component of a file's path into a link, and carry any
branch name though to the dir-view (ViewCVS only)
- Tries to generate X-Originating-IP header for remote CVS commits
- Fixed more HTML issues
2003-01-15 cvsspam-0.2.5.tar.gz
~23kB
- Supports committing to many top-level projects under a CVSROOT at
once, which used to cause an infinite loop
- Now reports branch name for deleted files (as well as added or
modified ones)
- Changes in RCS keywords may now be suppressed in diff output
(e.g. changes in
$Revision$
number)
- The contents of files that are being removed may be excluded from
mails
- The the character-encoding specified in the mail headers is
configurable
- Small tweaks to the message formatting
2002-11-17 cvsspam-0.2.4.tar.gz
~20kB
- Really use the $cvs_prog from the config file
- Prevent error on adding directory to CVS
- Make URLs and email addresses from log comment into links in HTML
- Fix some cases of broken HTML generation
- Improved formatting
2002-11-02 cvsspam-0.2.3.tar.gz
~22kB
- Truncate diff output after 1000 lines
- Make files in the same dir easier to spot in the top-of-mail
index
- Make bug regexp match more possibilities
- Fix some broken HTML syntax
2002-10-30 cvsspam-0.2.2.tar.gz
~19kB
- Diff output not (less?) broken
- Generates prefixes like [CVS repositoryname] for mail
subjects
- In some versions of ruby there was a syntax error
- On some setups it complained about diff having failed, when it
hadn't
- Displays branch names and versions (with viewcvs links) in the
top-of-mail file index
- Binary and Empty files only appear in the top-of-mail index, not in
the 'diffs' section
- If the only change on a line is the dos vs. unix line type, try
to highlight that
- Restricts length of the subject to 200 chars
- Tweaked HTML a bit for Evolution (but still no colour highlights)
2002-10-13 cvsspam-0.2.1.tar.gz
~19kB
Contact
Email questions, bug reports, feature requests and patches to the
cvsspam-devel mailing list.
The lead develper is David
Holroyd.
Related Projects
Other software doing the same thing
Also, try the dmoz.org CVS category
Software supported by CVSspam
Web frontends to CVS
Bug/Issue tracking
"The outlook express spell checker offers the word Cesspit as a
replacement for the misspelled word CVSspam"
— Matthew Lenz