https://bugzilla.redhat.com/show_bug.cgi?id=1231354
Bug ID: 1231354 Summary: Review Request: php-oojs-ui - Object-Oriented JavaScript – User Interface Product: Fedora Version: rawhide Component: Package Review Severity: medium Priority: medium Assignee: nobody@fedoraproject.org Reporter: mike@cchtml.com QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org
Spec URL: http://michael.cronenworth.com/RPMS/php-oojs-ui.spec SRPM URL: http://michael.cronenworth.com/RPMS/php-oojs-ui-0.11.4-1.fc21.src.rpm Description: Object-Oriented JavaScript – User Interface, split out of mediawiki Fedora Account System Username: mooninite
$ rpmlint php-oojs-ui.newpkg/php-oojs-ui.spec 0 packages and 1 specfiles checked; 0 errors, 0 warnings. $ rpmlint ~/rpmbuild/SRPMS/php-oojs-ui-0.11.4-1.fc21.src.rpm 1 packages and 0 specfiles checked; 0 errors, 0 warnings.
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
Michael Cronenworth mike@cchtml.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1230630
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1230630 [Bug 1230630] MediaWiki fails with "requires the PSR-3 logging library to be present"
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
Shawn Iwinski shawn.iwinski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shawn.iwinski@gmail.com
--- Comment #1 from Shawn Iwinski shawn.iwinski@gmail.com --- * Shouldn't source come from https://github.com/wikimedia/oojs-ui as that's where Composer installs from? -- https://packagist.org/packages/oojs/oojs-ui
* Per https://fedoraproject.org/wiki/Packaging:PHP#Naming_scheme, name should be "php-oojs-oojs-ui"
* Per https://fedoraproject.org/wiki/Packaging:PHP#File_Placement, install path should be "/usr/share/php/OOUI/*" to be PSR-0 compliant
* Per https://fedoraproject.org/wiki/Packaging:PHP#Composer_registered_Packages, need to provide "php-composer(oojs/oojs-ui) = %{version}"
* Tests are provided so they should be run in %check
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
Michael Cronenworth mike@cchtml.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Review Request: php-oojs-ui |Review Request: |- Object-Oriented |php-oojs-oojs-ui - |JavaScript – User Interface |Object-Oriented JavaScript | |– User Interface
--- Comment #2 from Michael Cronenworth mike@cchtml.com --- http://michael.cronenworth.com/RPMS/php-oojs-oojs-ui.spec http://michael.cronenworth.com/RPMS/php-oojs-oojs-ui-0.11.4-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.
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
Remi Collet fedora@famillecollet.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fedora@famillecollet.com
--- Comment #3 from Remi Collet fedora@famillecollet.com ---
The provided test can only be loaded through composer.
This is never true. composer is just a way to get an autoloader.
Trivial solution:
phpab --output php/autoload.php php phpunit --bootstrap php/autoload.php
Missing composr.json as %doc
From phpcompatinfo report:
Requires: php-json, php-pcre
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
--- Comment #4 from Michael Cronenworth mike@cchtml.com --- Requires, autoloader, tests and composer.json added.
http://michael.cronenworth.com/RPMS/php-oojs-oojs-ui.spec http://michael.cronenworth.com/RPMS/php-oojs-oojs-ui-0.11.4-3.fc22.src.rpm
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
--- Comment #5 from Michael Cronenworth mike@cchtml.com --- Updated to the 0.11.6 release.
http://michael.cronenworth.com/RPMS/php-oojs-oojs-ui.spec http://michael.cronenworth.com/RPMS/php-oojs-oojs-ui-0.11.6-1.fc22.src.rpm
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
Remi Collet fedora@famillecollet.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|nobody@fedoraproject.org |fedora@famillecollet.com
--- Comment #6 from Remi Collet fedora@famillecollet.com --- Created attachment 1042976 --> https://bugzilla.redhat.com/attachment.cgi?id=1042976&action=edit phpci.log
phpCompatInfo version 4.3.0 DB built Jun 21 2015 20:17:04 CEST static analyze results
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
--- Comment #7 from Remi Collet fedora@famillecollet.com --- Created attachment 1042977 --> https://bugzilla.redhat.com/attachment.cgi?id=1042977&action=edit review.txt
Generated by fedora-review 0.5.3 (bcf15e3) last change: 2015-05-04
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
Remi Collet fedora@famillecollet.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |fedora-review+
--- Comment #8 from Remi Collet fedora@famillecollet.com --- [~]: Requires correct, justified where necessary. missing php-spl (introduced by the autoloader)
Please add it after import (not a blocker, spl is always there, cannot be build shared, but still required by Guidelines)
=== APPROVED ===
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
--- Comment #9 from Michael Cronenworth mike@cchtml.com --- I will add spl. Thanks for the review.
New Package SCM Request ======================= Package Name: php-oojs-oojs-ui Short Description: Object-Oriented JavaScript – User Interface Upstream URL: http://www.mediawiki.org/wiki/OOjs_UI Owners: mooninite Branches: f21 f22 InitialCC:
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
Michael Cronenworth mike@cchtml.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |fedora-cvs?
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
Jon Ciesla limburgher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|fedora-cvs? |fedora-cvs+
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
--- Comment #10 from Jon Ciesla limburgher@gmail.com --- Git done (by process-git-requests).
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- php-oojs-oojs-ui-0.11.6-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/php-oojs-oojs-ui-0.11.6-1.fc22
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
--- Comment #12 from Fedora Update System updates@fedoraproject.org --- php-oojs-oojs-ui-0.11.6-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/php-oojs-oojs-ui-0.11.6-1.fc21
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #13 from Fedora Update System updates@fedoraproject.org --- php-oojs-oojs-ui-0.11.6-1.fc22 has been pushed to the Fedora 22 testing repository.
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |php-oojs-oojs-ui-0.11.6-1.f | |c21 Resolution|--- |ERRATA Last Closed| |2015-07-04 16:13:17
--- Comment #14 from Fedora Update System updates@fedoraproject.org --- php-oojs-oojs-ui-0.11.6-1.fc21 has been pushed to the Fedora 21 stable repository.
https://bugzilla.redhat.com/show_bug.cgi?id=1231354
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|php-oojs-oojs-ui-0.11.6-1.f |php-oojs-oojs-ui-0.11.6-1.f |c21 |c22
--- Comment #15 from Fedora Update System updates@fedoraproject.org --- php-oojs-oojs-ui-0.11.6-1.fc22 has been pushed to the Fedora 22 stable repository.
package-review@lists.fedoraproject.org