Bug 1424721 - Review Request: php-maennchen-zipstream-php - A fast and simple streaming zip file downloader for PHP
Summary: Review Request: php-maennchen-zipstream-php - A fast and simple streaming zip...
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:
TreeView+ depends on / blocked
 
Reported: 2017-02-18 17:51 UTC by Randy Barlow
Modified: 2017-03-03 21:49 UTC (History)
2 users (show)

Fixed In Version: php-maennchen-zipstream-php-0.4.1-2.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-03 21:49:28 UTC
Type: ---
Embargoed:
fedora: fedora-review+


Attachments (Terms of Use)
phpci.log (6.71 KB, text/plain)
2017-02-20 12:29 UTC, Remi Collet
no flags Details
review.txt (8.31 KB, text/plain)
2017-02-20 12:30 UTC, Remi Collet
no flags Details

Description Randy Barlow 2017-02-18 17:51:26 UTC
Spec URL: https://bowlofeggs.fedorapeople.org/php-maennchen-zipstream-php.spec
SRPM URL: https://bowlofeggs.fedorapeople.org/php-maennchen-zipstream-php-0.4.1-1.fc26.src.rpm
Description: A fork of pablotron's zip streaming library, a fast and simple streaming
zip file downloader for PHP.
Fedora Account System Username: bowlofeggs

Comment 1 Remi Collet 2017-02-20 12:29:28 UTC
Created attachment 1255673 [details]
phpci.log

     Note: phpCompatInfo version 5.0.4 DB version 1.17.0 built Jan 24 2017
     09:56:36 CET static analyze results

Comment 2 Remi Collet 2017-02-20 12:30:02 UTC
Created attachment 1255674 [details]
review.txt

Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02
Command line :/usr/bin/fedora-review -b 1424721
Buildroot used: fedora-rawhide-x86_64

Comment 3 Remi Collet 2017-02-20 12:33:56 UTC
[!]: Package complies to the Packaging Guidelines

	From PHP Guildelines
	A PSR-4 [2] compliant library would put its PHP files in /usr/share/php/<Vendor Name> in a PSR-0 compliant tree. 

	So should be /usr/share/php/ZipStream

	BTW, as "vendor" is missing, To avoid possible conflict
	with a too generic name, I'm fine with :

		/usr/share/php/maennchen/ZipStream
		/usr/share/php/maennchen/zipstream-php

	=> Packager choice.

[!]: Requires correct, justified where necessary.

	From composer.json

	"require": {
		"php": ">= 5.6",
		"ext-mbstring": "*"
	},
	From phpcompatinfo report

	Requires PHP 5.3.0 (min), PHP 5.3.0 (all)

	This usually means upstream don't want to support EOL PHP version.
	=> packager choise

	Do you need it in EPEL ? (build ok en epel-6 and epel-7)



Tips:

--bootstrap is not needed when the value in already defined in phpunit.xml
--no-coverage avoid the "Error: No code coverage driver is available" (but requires phpunit > 4)


No blocker, please just confirm PHP minimal version you want to support and file location.

Comment 4 Randy Barlow 2017-02-21 04:06:45 UTC
(In reply to Remi Collet from comment #3)
> [!]: Package complies to the Packaging Guidelines
> 
> 	From PHP Guildelines
> 	A PSR-4 [2] compliant library would put its PHP files in
> /usr/share/php/<Vendor Name> in a PSR-0 compliant tree. 
> 
> 	So should be /usr/share/php/ZipStream

Hello Remi!

Oh I didn't realize that the string "ZipStream" inside the composer.json's psr section was a clue about where the package should be installed. I assumed that the vendor from packagist should be used. Now I understand better, thanks! I've opted to go with ZipStream as you suggested above. If we hit a conflict later, we can fix it at that time I believe.

> [!]: Requires correct, justified where necessary.
> 
> 	From composer.json
> 
> 	"require": {
> 		"php": ">= 5.6",
> 		"ext-mbstring": "*"
> 	},
> 	From phpcompatinfo report
> 
> 	Requires PHP 5.3.0 (min), PHP 5.3.0 (all)
> 
> 	This usually means upstream don't want to support EOL PHP version.
> 	=> packager choise
> 
> 	Do you need it in EPEL ? (build ok en epel-6 and epel-7)

I've updated it to be 5.6 to reflect upstream's wishes. I don't plan to put Ampache into EPEL 6 or 7 at this time, so this package doesn't need to go there either (but I'm willing to add it later if requested).

> Tips:
> 
> --bootstrap is not needed when the value in already defined in phpunit.xml
> --no-coverage avoid the "Error: No code coverage driver is available" (but
> requires phpunit > 4)

I've made both of these changes as well. New files here:

Spec URL: https://bowlofeggs.fedorapeople.org/php-maennchen-zipstream-php.spec
SRPM URL: https://bowlofeggs.fedorapeople.org/php-maennchen-zipstream-php-0.4.1-2.fc26.src.rpm

Comment 5 Remi Collet 2017-02-21 05:52:39 UTC
-%{_datadir}/php/maennchen
+%{_datadir}/php/ZipStream

[x]: Package complies to the Packaging Guidelines

-Requires:   php(language) >= 5.3.0
+Requires:   php(language) >= 5.6.0

[x]: Requires correct, justified where necessary.


=== APPROVED ===

Comment 6 Gwyn Ciesla 2017-02-21 22:34:26 UTC
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/php-maennchen-zipstream-php

Comment 7 Fedora Update System 2017-02-22 13:48:04 UTC
php-maennchen-zipstream-php-0.4.1-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-9280fac9c0

Comment 8 Fedora Update System 2017-02-22 13:48:11 UTC
php-maennchen-zipstream-php-0.4.1-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2d576b8eb4

Comment 9 Remi Collet 2017-02-22 16:06:59 UTC
Damn, I miss, this package must be "noarch"

Please fix before pushing to repo

Comment 10 Remi Collet 2017-02-22 16:24:29 UTC
Forget, and sorry for the noise

Comment 11 Fedora Update System 2017-02-23 22:22:28 UTC
php-maennchen-zipstream-php-0.4.1-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2d576b8eb4

Comment 12 Fedora Update System 2017-02-23 23:20:29 UTC
php-maennchen-zipstream-php-0.4.1-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-9280fac9c0

Comment 13 Fedora Update System 2017-03-03 21:49:28 UTC
php-maennchen-zipstream-php-0.4.1-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


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