Bug 1231351 - Review Request: php-wikimedia-cdb - CDB functions for PHP
Summary: Review Request: php-wikimedia-cdb - CDB functions for PHP
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1230630
TreeView+ depends on / blocked
 
Reported: 2015-06-12 19:13 UTC by Michael Cronenworth
Modified: 2015-07-04 20:10 UTC (History)
4 users (show)

Fixed In Version: php-wikimedia-cdb-1.0.1-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-04 20:08:19 UTC
Type: ---
Embargoed:
fedora: fedora-review+
mike: fedora-cvs+


Attachments (Terms of Use)
phpci.log (8.27 KB, text/plain)
2015-06-25 08:54 UTC, Remi Collet
no flags Details
review.txt (6.27 KB, text/plain)
2015-06-25 08:54 UTC, Remi Collet
no flags Details

Description Michael Cronenworth 2015-06-12 19:13:06 UTC
Spec URL: http://michael.cronenworth.com/RPMS/php-cdb.spec
SRPM URL: http://michael.cronenworth.com/RPMS/php-cdb-1.0.1-1.fc21.src.rpm
Description: CDB functions for PHP, split out of mediawiki
Fedora Account System Username: mooninite

$ rpmlint php-cdb.spec 
0 packages and 1 specfiles checked; 0 errors, 0 warnings.
$ rpmlint ~/rpmbuild/SRPMS/php-cdb-1.0.1-1.fc21.src.rpm 
php-cdb.src: W: spelling-error %description -l en_US dba -> dab, db, bad
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

Comment 1 Shawn Iwinski 2015-06-12 19:58:10 UTC
* Shouldn't source come from https://github.com/wikimedia/cdb as that's where Composer installs from? -- https://packagist.org/packages/wikimedia/cdb

* Per https://fedoraproject.org/wiki/Packaging:PHP#Naming_scheme, name should be "php-wikimedia-cdb"

* Per https://fedoraproject.org/wiki/Packaging:PHP#File_Placement, install path should be "/usr/share/php/Cdb/*" to be PSR-0 compliant

* Per https://fedoraproject.org/wiki/Packaging:PHP#Composer_registered_Packages, need to provide "php-composer(wikimedia/cdb) = %{version}"

* Tests are provided so they should be run in %check

Comment 2 Michael Cronenworth 2015-06-13 20:31:11 UTC
http://michael.cronenworth.com/RPMS/php-wikimedia-cdb.spec
http://michael.cronenworth.com/RPMS/php-wikimedia-cdb-1.0.1-2.fc21.src.rpm

Upstream is Wikimedia's git. Why is it preferred to use the github mirror? The provided test can only be loaded through composer.

Comment 3 Remi Collet 2015-06-16 12:07:18 UTC
See #1231356 for a simple fix to run the test suite.

Comment 5 Remi Collet 2015-06-25 08:54:25 UTC
Created attachment 1043006 [details]
phpci.log

phpCompatInfo version 4.3.0 DB built Jun 21 2015 20:17:04 CEST static analyze results

Comment 6 Remi Collet 2015-06-25 08:54:50 UTC
Created attachment 1043007 [details]
review.txt

Generated by fedora-review 0.5.3 (bcf15e3) last change: 2015-05-04

Comment 7 Remi Collet 2015-06-25 08:55:31 UTC
[!]: License field in the package spec file matches the actual license.
  from file headers
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
	=> GPLv2+

[~]: Requires correct, justified where necessary.
  missing php-spl (because of autoloader)
  php-dba is optional, but ok (packager choice).

Comment 8 Michael Cronenworth 2015-06-25 13:50:08 UTC
Thanks for catching the missing +.

The php-dba package is required to perform the unit test.

http://michael.cronenworth.com/RPMS/php-wikimedia-cdb.spec
http://michael.cronenworth.com/RPMS/php-wikimedia-cdb-1.0.1-4.fc22.src.rpm

Comment 9 Remi Collet 2015-06-25 13:59:20 UTC
-License:	GPLv2
+License:	GPLv2+

[x]: License field in the package spec file matches the actual license.

+Requires:	php-spl

[x]: Requires correct, justified where necessary.


=== APPROVED ===

Comment 10 Michael Cronenworth 2015-06-25 14:04:11 UTC
Thanks for the review.

New Package SCM Request
=======================
Package Name: php-wikimedia-cdb
Short Description: CDB functions for PHP
Upstream URL: http://www.mediawiki.org/wiki/CDB
Owners: mooninite
Branches: f21 f22
InitialCC:

Comment 11 Gwyn Ciesla 2015-06-25 14:22:01 UTC
Git done (by process-git-requests).

Comment 12 Michael Cronenworth 2015-06-25 15:27:39 UTC
Jon, the repo hasn't been made. Can you re-run?

Comment 13 Gwyn Ciesla 2015-06-25 18:12:49 UTC
this runs asynchronously and should exist by now.

Comment 14 Michael Cronenworth 2015-06-25 18:15:32 UTC
Ugh. I was typing "wikipedia" instead of "wikimedia". :(

Comment 15 Fedora Update System 2015-06-25 18:56:12 UTC
php-wikimedia-cdb-1.0.1-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/php-wikimedia-cdb-1.0.1-1.fc22

Comment 16 Fedora Update System 2015-06-25 18:56:49 UTC
php-wikimedia-cdb-1.0.1-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/php-wikimedia-cdb-1.0.1-1.fc21

Comment 17 Fedora Update System 2015-06-26 06:38:34 UTC
php-wikimedia-cdb-1.0.1-1.fc22 has been pushed to the Fedora 22 testing repository.

Comment 18 Fedora Update System 2015-07-04 20:08:19 UTC
php-wikimedia-cdb-1.0.1-1.fc21 has been pushed to the Fedora 21 stable repository.

Comment 19 Fedora Update System 2015-07-04 20:10:09 UTC
php-wikimedia-cdb-1.0.1-1.fc22 has been pushed to the Fedora 22 stable repository.


Note You need to log in before you can comment on or make changes to this bug.