In regards to this page, I tried added some highlighting so that it can be possibly more quickly worked out if a patch is a bugfix, addition, (along with linking to the bugs).

Would it be too much to ask for commiters to add a common string at the beginning of their commit log string (i.e. "BUGFIX:" or "ENHANCEMENT:") so that it is even easier to highlight the log?

For those without access to cvs.cinelerra.org, here is how each line gets parsed:

   $line = fgets($fh,4096);
$line = preg_replace("/(Bugs) *(|#) *(\d+) (&|and) *(|#) *(\d+)/i","\\1 "
."<a href='http://bugs.cinelerra.org/show_bug.cgi?id=\\3'> \\2 \\3</a> \\4 "
."<a href='http://bugs.cinelerra.org/show_bug.cgi?id=\\6'> \\5 \\6</a>"
,$line);
$line = preg_replace("/(Bug |Bug #)(\d+)/i","<a href='http://bugs.cinelerra.org/show_bug.cgi?id=\\2'>\\1 \\2</a>",$line); $line = eregi_replace("(Fix|Add|Merge|remove|nice|Clear|Clean|drop|replace|convert|reverse|patch)","<b><u>\\1</u></b>",$line);
   if (preg_match("/----+/i",$line,$m))
     echo "<hr/>";
   else
   {
     $line = wordwrap($line,120,"\n");
     echo $line;
   }

I've tried to add hyperlinks for the bugs, and highlight key words that help explain what the patch might primarily be about...

Regards,

Pierre

Nicolas wrote:
On Sun, May 14, 2006 at 07:40:06PM +0930, Pierre Marc Dumuid wrote:
Or check out the page:

http://cvs.cinelerra.org/svn_log.php

which I recently added (this php script runs "svn log HEAD:1" on the
server so is always up-to-date)

Pierre

Bookmarked!

Thank you, Pierre.

Nicolas.



begin:vcard
fn:Pierre Dumuid
n:Dumuid;Pierre
org:The University of Adelaide;Mechanical Engineering
adr:;;;Adelaide;South Australia;5005;Australia
email;internet:[EMAIL PROTECTED]
title:Postgraduate Student
tel;work:8303 3847
tel;home:8388 5727
tel;cell:0407570263
note:CRICOS Provider Number 00123M
x-mozilla-html:TRUE
url:http://www.adelaide.edu.au
version:2.1
end:vcard

Reply via email to