No svn log message shown on the dashboard
Reported by James Mead | October 31st, 2008 @ 02:20 AM
JIRA CCRB-182 [1] Affecting version 1.3 of Dashboard
From Yi Wen (on CentOS):-
According to show_revisions_in_build in projects_helper.rb, it should show commied_by and log message. But somehow after invoking revisions_in_build, revisions passed in is an empty array.
In revisions_in_build, changeset is a string and seems containing correct information, but Subversion::ChangesetLogParser returns an empty array.
I am sorry, I tried to find Subversion::ChangesetLogParser and couldn't find it anywhere, so I cannot continue on denugging.
Thansk
From James Mead (on OSX Leopard & RHEL 5):-
I've just upgraded to version 1.3 and I've experienced the same problem.
It appears that the changeset.log files for builds completed after the upgrade sometimes (or always?) have an extra line at the top e.g. "New revision 12543 detected" or "Build was manually requested". This confuses the Subversion::ChangesetLogParser#parse_log method. I've hacked a quick bodge into lib/subversion/changeset_log_parser.rb which I'll try and attach as a patch, but I'm sure there is a much better way to fix it.
This also broke a couple of our custom plugins which used the ChangesetLogParser.
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป