Re: [SVN-MIGRATION] cvs: SVNROOT / commit-email.php

From: Date: Thu, 09 Jul 2009 08:30:30 +0000
Subject: Re: [SVN-MIGRATION] cvs: SVNROOT / commit-email.php
References: 1  Groups: svn.migration 
Request: Send a blank email to svn-migration+get-402@lists.php.net to get a copy of this message
On Thu, 9 Jul 2009, Gwynne Raskind wrote: > gwynne Thu Jul 9 01:10:47 2009 UTC > > Modified files: > /SVNROOT commit-email.php > Log: > extremely large commit e-mails are now cut off This is only 96kb though... any reason why this limit is so low? regards, Derick > > > http://cvs.php.net/viewvc.cgi/SVNROOT/commit-email.php?r1=1.16&r2=1.17&diff_format=u > Index: SVNROOT/commit-email.php > diff -u SVNROOT/commit-email.php:1.16 SVNROOT/commit-email.php:1.17 > --- SVNROOT/commit-email.php:1.16 Mon Jul 6 21:40:30 2009 > +++ SVNROOT/commit-email.php Thu Jul 9 01:10:47 2009 > @@ -7,7 +7,7 @@ > > // > ----------------------------------------------------------------------------------------------------------------------------- > // Constants > -$version = substr('$Revision: 1.16 $', strlen('$Revision: '), -2); > +$version = substr('$Revision: 1.17 $', strlen('$Revision: '), -2); > $smtp_server = '127.0.0.1'; > $commit_email_list = array( > // FastCGI ISAPI > @@ -163,7 +163,9 @@ > wordwrap($commit_log, 80, "\n") . "\n" . > "\n"; > > -if (strlen($diffs) >= 8000) { > +if (strlen($diffs) >= (96 * 1024)) { > + $msg_body .= "<diffs exceeded maximum size>\n"; > +} else if (strlen($diffs) >= 8192) { > $boundary = $commit_user. $commit_date; > $msg_headers .= "MIME-Version: 1.0\n" . > "Content-Type: multipart/mixed; > boundary=\"{$boundary}\"\n"; > > > > -- http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org twitter: @derickr

« previous svn.migration (#402) next »