cvs: phpdoc /scripts revcheck.php
| From: | Carola 'Sammy' Kummert | Date: | Wed, 21 Jan 2009 16:55:48 +0000 |
| Subject: | cvs: phpdoc /scripts revcheck.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3069@lists.php.net to get a copy of this message | ||
sammywg Wed Jan 21 16:55:48 2009 UTC
Modified files:
/phpdoc/scripts revcheck.php
Log:
add basic "Status: working" support, patch by hholzgra
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/revcheck.php?r1=1.71&r2=1.72&diff_format=u
Index: phpdoc/scripts/revcheck.php
diff -u phpdoc/scripts/revcheck.php:1.71 phpdoc/scripts/revcheck.php:1.72
--- phpdoc/scripts/revcheck.php:1.71 Wed Dec 31 06:40:11 2008
+++ phpdoc/scripts/revcheck.php Wed Jan 21 16:55:46 2009
@@ -14,7 +14,7 @@
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
- | Authors: Thomas Schöfbeck <tom@php.net> |
+ | Authors: Thomas Sch�fbeck <tom@php.net> |
| Gabor Hojtsy <goba@php.net> |
| Mark Kronsbein <mk@php.net> |
| Jan Fabry <cheezy@php.net>
@@ -244,7 +244,7 @@
}
// If the file is up-to-date
- if ($rev_diff === 0) {
+ if ($rev_diff === 0 && trim($this_status) === "ready") {
// Store file by status and maintainer
$files_by_mark[REV_UPTODATE]++;
$files_by_maint[$this_maint][REV_UPTODATE]++;
@@ -263,6 +263,8 @@
$status_mark = REV_CRITICAL;
} elseif ($rev_diff === "n/a") {
$status_mark = REV_NOREV;
+ } elseif ($rev_diff === 0) {
+ $status_mark = REV_WIP;
} else {
$status_mark = REV_OLD;
}