cvs: pearweb /public_html/qa packages_orphan.php
| From: | Arnaud Limbourg | Date: | Sun, 20 Nov 2005 20:22:08 +0000 |
| Subject: | cvs: pearweb /public_html/qa packages_orphan.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-36410@lists.php.net to get a copy of this message | ||
arnaud Sun Nov 20 15:22:08 2005 EDT
Added files:
/pearweb/public_html/qa packages_orphan.php
Log:
list orphan packages. This is a qa restricted page because the load on the server is high enough
as it is.
http://cvs.php.net/co.php/pearweb/public_html/qa/packages_orphan.php?r=1.1&p=1
Index: pearweb/public_html/qa/packages_orphan.php
+++ pearweb/public_html/qa/packages_orphan.php
<?php
/*
+----------------------------------------------------------------------+
| PEAR Web site version 1.0 |
+----------------------------------------------------------------------+
| Copyright (c) 2001-2005 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 2.02 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available at through the world-wide-web at |
| http://www.php.net/license/2_02.txt.
|
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Arnaud Limbourg <arnaud@limbourg.com> |
+----------------------------------------------------------------------+
$Id: packages_orphan.php,v 1.1 2005/11/20 20:22:06 arnaud Exp $
*/
/**
* List orphan packages
*/
auth_require('pear.qa');
response_header('Quality Assurance Initiative - Orphan packages',
false, $extra_header);
$packages = $dbh->getAssoc("SELECT p.name " .
" FROM packages p ".
"WHERE p.unmaintained=1 AND p.package_type = 'pear' AND p.approved = 1 ".
"ORDER BY p.name", false, null, DB_FETCHMODE_ASSOC);
echo "<h3>List of orphan packages</h3>\n";
echo "<ul>\n";
foreach ($packages as $pck => $info) {
$link = make_link('/package/' . $info['name'],
$package, '', 'title="' . $info['name'] .
'"');
echo '<li>' . $link . "</li>\n";
}
echo "</ul>\n";
response_footer();
?>