cvs: php-bugs-web / fix.php /include resolve.inc
| From: | Gabor Hojtsy | Date: | Tue, 30 Dec 2003 22:36:58 +0000 |
| Subject: | cvs: php-bugs-web / fix.php /include resolve.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-22767@lists.php.net to get a copy of this message | ||
goba Tue Dec 30 17:36:58 2003 EDT
Modified files:
/php-bugs-web fix.php
/php-bugs-web/include resolve.inc
Log:
Complete a long awaited TODO item.
Since we know what type of bug the user reported, we
can provide more accurate response in a quickfix. This
was especially important for the website and documentation
'fixed in CVS' message. Now an easy to understand text is
Index: php-bugs-web/fix.php
diff -u php-bugs-web/fix.php:1.11 php-bugs-web/fix.php:1.12
--- php-bugs-web/fix.php:1.11 Mon Dec 8 11:56:57 2003
+++ php-bugs-web/fix.php Tue Dec 30 17:36:58 2003
@@ -92,7 +92,12 @@
/* update bug record */
$status = $RESOLVE_REASONS[$r]['status'];
-$ncomment =
$RESOLVE_REASONS[$r]['message'].(!empty($ncomment)?"\n\n".$ncomment:"");
+if (isset($FIX_VARIATIONS[$r][$res['bug_type']])) {
+ $qftext = $FIX_VARIATIONS[$r][$res['bug_type']];
+} else {
+ $qftext = $RESOLVE_REASONS[$r]['message'];
+}
+$ncomment = $qftext . (!empty($ncomment) ? "\n\n".$ncomment : "");
/* if the already has the status of the resolution, bounce over to the
main bug form. it will show the appropriate error message. */
Index: php-bugs-web/include/resolve.inc
diff -u php-bugs-web/include/resolve.inc:1.36 php-bugs-web/include/resolve.inc:1.37
--- php-bugs-web/include/resolve.inc:1.36 Thu Nov 27 00:59:43 2003
+++ php-bugs-web/include/resolve.inc Tue Dec 30 17:36:58 2003
@@ -33,15 +33,9 @@
'message' =>
'This bug has been fixed in CVS.
-In case this was a PHP problem, snapshots of the sources are packaged
-every three hours; this change will be in the next snapshot. You can
-grab the snapshot at http://snaps.php.net/.
-
-In case this was a documentation problem, the fix will show up soon at
-http://www.php.net/manual/.
-
-In case this was a PHP.net website problem, the change will show
-up on the PHP.net site and on the mirror sites in short time.
+Snapshots of the sources are packaged every three hours; this change
+will be in the next snapshot. You can grab the snapshot at
+http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.',
),
@@ -167,7 +161,7 @@
'We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
-ready. Ofcourse PHP 4 will will continue to be supported for the
+ready. Ofcourse PHP 4 will continue to be supported for the
forseeable future.',
),
'dst' => array(
@@ -217,6 +211,25 @@
);
+$FIX_VARIATIONS = array(
+ 'fixedcvs' => array(
+
+ 'Website problem' =>
+'This bug has been fixed in CVS. Since the websites are not directly
+updated from the CVS server, the fix might need some time to spread
+across the globe to all mirror sites, including PHP.net itself.
+
+Thank you for the report, and for helping us make PHP.net better.',
+
+ 'Documentation problem' =>
+'This bug has been fixed in the documentation\'s XML sources. Since the
+online and downloadable versions of the documentation need some time
+to get updated, we would like to ask you to be a bit patient.
+
+Thank you for the report, and for helping us make our documentation better.',
+ )
+);
+
function show_reason_types($current="", $expanded=0)
{
if ($expanded) echo "<option value=\"\"></option>\n";