Req #16035 [Opn]: How many PHP licensed packages we still have?
| From: | daniel dot oconnor at gmail dot com | Date: | Mon, 23 Mar 2009 17:14:42 +0000 |
| Subject: | Req #16035 [Opn]: How many PHP licensed packages we still have? | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-250@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=16035&edit=1
ID: 16035
Updated by: daniel.oconnor@gmail.com
Reported By: amirsaied at gmail dot com
Summary: How many PHP licensed packages we still have?
Status: Open
Type: Feature/Change Request
Package: pearweb
Package Version: CVS
PHP Version: Irrelevant
Roadmap Versions:
New Comment:
Hey, want to go one step further and throw in a link to
https://www.ohloh.net/p/pear/analyses/latest
?
Previous Comments:
------------------------------------------------------------------------
[2009-03-15 14:39:45] amir
The following patch has been added/updated:
Patch Name: findPHPLicensedPackages
URL: #patch
bug:16035;patch:findPHPLicensedPackages;revision:1237127984;
------------------------------------------------------------------------
[2009-03-15 14:38:54] amir
Description:
------------
This script checks how many PHP licensed packages we still have,
It seems the "license" is not release based, but package based (there's
a license column in both packages and releases, but seems no one never
used the releases one):
mysql> SELECT license, COUNT(*) FROM releases GROUP BY license\G
*************************** 1. row ***************************
license: NULL
COUNT(*): 4854
*************************** 2. row ***************************
license: BSD License
COUNT(*): 1
*************************** 3. row ***************************
license: PHP License
COUNT(*): 1
3 rows in set (0.01 sec)
Right now we have 244 PHP licensed packagess:
mysql> SELECT license, COUNT(*) FROM packages WHERE license LIKE 'PHP%'
GROUP BY license\G
*************************** 1. row ***************************
license: PHP
COUNT(*): 153
*************************** 2. row ***************************
license: PHP / BSD
COUNT(*): 1
*************************** 3. row ***************************
license: PHP 2.02
COUNT(*): 5
*************************** 4. row ***************************
license: PHP 3.0
COUNT(*): 3
*************************** 5. row ***************************
license: PHP 3.01
COUNT(*): 3
*************************** 6. row ***************************
license: PHP Licence
COUNT(*): 2
*************************** 7. row ***************************
license: PHP License
COUNT(*): 213
*************************** 8. row ***************************
license: PHP License 2.02
COUNT(*): 3
*************************** 9. row ***************************
license: PHP license 3.0
COUNT(*): 10
*************************** 10. row ***************************
license: PHP License 3.01
COUNT(*): 18
*************************** 11. row ***************************
license: PHP License 4.0
COUNT(*): 1
*************************** 12. row ***************************
license: PHP License v3.0
COUNT(*): 5
*************************** 13. row ***************************
license: PHP or GPL
COUNT(*): 1
*************************** 14. row ***************************
license: PHP/BSD
COUNT(*): 1
14 rows in set (0.01 sec)
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16035&edit=1