Bug 1231354 - Review Request: php-oojs-oojs-ui - Object-Oriented JavaScript – User Interface
Summary: Review Request: php-oojs-oojs-ui - Object-Oriented JavaScript – User Interface
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:18 UTC by Michael Cronenworth
Modified: 2015-07-04 20:13 UTC (History)
3 users (show)

Fixed In Version: php-oojs-oojs-ui-0.11.6-1.fc22
Clone Of:
Environment:
Last Closed: 2015-07-04 20:13:17 UTC
Type: ---
Embargoed:
fedora: fedora-review+
gwync: fedora-cvs+


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

Description Michael Cronenworth 2015-06-12 19:18:16 UTC
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.

Comment 1 Shawn Iwinski 2015-06-12 19:58:29 UTC
* 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

Comment 2 Michael Cronenworth 2015-06-13 20:30:54 UTC
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.

Comment 3 Remi Collet 2015-06-16 15:19:57 UTC
> 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

Comment 4 Michael Cronenworth 2015-06-23 18:36:47 UTC
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

Comment 6 Remi Collet 2015-06-25 07:09:23 UTC
Created attachment 1042976 [details]
phpci.log

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

Comment 7 Remi Collet 2015-06-25 07:10:28 UTC
Created attachment 1042977 [details]
review.txt

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

Comment 8 Remi Collet 2015-06-25 07:11:39 UTC
[~]: 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 ===

Comment 9 Michael Cronenworth 2015-06-25 13:52:50 UTC
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:

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

Comment 11 Fedora Update System 2015-06-25 15:03:35 UTC
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

Comment 12 Fedora Update System 2015-06-25 15:04:12 UTC
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

Comment 13 Fedora Update System 2015-06-26 06:39:18 UTC
php-oojs-oojs-ui-0.11.6-1.fc22 has been pushed to the Fedora 22 testing repository.

Comment 14 Fedora Update System 2015-07-04 20:13:17 UTC
php-oojs-oojs-ui-0.11.6-1.fc21 has been pushed to the Fedora 21 stable repository.

Comment 15 Fedora Update System 2015-07-04 20:13:54 UTC
php-oojs-oojs-ui-0.11.6-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.