New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: JRA-2037
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Damjan Perenic
Votes: 2
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
JIRA

CVSLogHandler doesn't parse messages generated by CVSspam

Created: 16/Jul/03 07:29 AM   Updated: 04/Feb/04 05:44 PM
Component/s: Services
Affects Version/s: 2.3 Enterprise
Fix Version/s: None

Time Tracking:
Not Specified

Participants: Angus Mezick, Damjan Perenic and Matt Bishop
Since last comment: 4 years, 29 weeks, 4 days ago
Labels:


 Description  « Hide
CVSspam (http://www.badgers-in-foil.co.uk/projects/cvsspam/) generates nice html messages on CVS commits. They can include links to viewcvs (and some other web cvs viewers), so you can easily see changes in the code required to fix/implement this issue.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Angus Mezick added a comment - 28/Jul/03 12:19 PM
[PATCH]
This is the code in CVSLogHandler that needs to change. I just created my own CvsSpamLogHandler class.

public String getCommentArea(String messageBody) {
if(messageBody == null)
return null;
BufferedReader reader = new BufferedReader(new StringReader(messageBody));
boolean insideComment = false;
StringBuffer comment = new StringBuffer();
try {
for(String line = reader.readLine(); line != null; line = reader.readLine())
if(!insideComment) { if(line.startsWith("<pre class=\"comment\">")) insideComment = true; } else {
if(line.startsWith("</pre>")) { insideComment = false; return comment.toString(); } else { comment.append(line); comment.append("\n"); }
}

}
catch(IOException e) { log.warn("IOException reading Mail body: " + e.getMessage(), e); }
if(insideComment)
log.warn("UnClosed Comment Tag! Not adding comment: [" + comment.substring(0, 15) + "]");
return null;
}


Matt Bishop added a comment - 04/Feb/04 05:44 PM
Also affects Jira Enterprise 2.5.3