Bug 1228091

Summary: Review Request: php-zetacomponents-console-tools - Zeta ConsoleTools Component
Product: [Fedora] Fedora Reporter: Remi Collet <fedora>
Component: Package ReviewAssignee: Shawn Iwinski <shawn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: package-review, shawn
Target Milestone: ---Flags: shawn: fedora-review+
fedora: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: php-zetacomponents-console-tools-1.7-3.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-30 01:02:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1228087, 1228089    
Bug Blocks:    
Attachments:
Description Flags
phpcompatinfo-full.txt
none
phpcompatinfo-src.txt
none
fedora-review.txt none

Description Remi Collet 2015-06-04 07:57:28 UTC
Spec URL: https://raw.githubusercontent.com/remicollet/remirepo/bcc6fe08c7e196ccadf8fde49397f1e4e18d4928/php/zeta/php-zetacomponents-console-tools/php-zetacomponents-console-tools.spec
SRPM URL: http://rpms.famillecollet.com/SRPMS/php-zetacomponents-console-tools-1.7-2.remi.src.rpm
Description: 
A set of classes to do different actions with the console, also called shell.
It can render a progress bar, tables and a status bar and contains a class for
parsing command line options.


Fedora Account System Username: remi

Comment 1 Shawn Iwinski 2015-07-11 14:21:53 UTC
Created attachment 1050888 [details]
phpcompatinfo-full.txt

phpCompatInfo version 4.3.0 DB built Jun 16 2015 12:31:49 CEST

Comment 2 Shawn Iwinski 2015-07-11 14:22:24 UTC
Created attachment 1050889 [details]
phpcompatinfo-src.txt

phpCompatInfo version 4.3.0 DB built Jun 16 2015 12:31:49 CEST

Comment 3 Shawn Iwinski 2015-07-11 14:23:34 UTC
Created attachment 1050890 [details]
fedora-review.txt

Generated by fedora-review 0.6.0 (3c5c9d7) last change: 2015-05-20
Command line :/usr/bin/fedora-review -m fedora-rawhide-x86_64 -b 1228091
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, PHP, Shell-api
Disabled plugins: Java, C/C++, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, Ruby
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

Comment 4 Shawn Iwinski 2015-07-11 14:29:58 UTC
[!]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf %{buildroot} present but not required
[!]: Each %files section contains %defattr if rpm < 4.4
     Note: %defattr present but not needed
[!]: Buildroot is not present
     Note: Buildroot: present but not needed
[!]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: %clean present but not required

No blocker... as usual, remove EPEL5 bits after initial import.



The following is not required:
    BuildRequires:  php-gd
No blocker... can be removed after initial import.



rpmlint:
    php-zetacomponents-console-tools.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/php-zetacomponents-console-tools/design/console.xml
    php-zetacomponents-console-tools.noarch: W: file-not-utf8 /usr/share/doc/php-zetacomponents-console-tools/design/console.xml





Issues:
=======
- Large documentation must go in a -doc subpackage. Large could be size
  (~1MB) or number of files.
  Note: Documentation size is 1239040 bytes in 42 files.
  See:
  http://fedoraproject.org/wiki/Packaging/Guidelines#PackageDocumentation

There are about 1.2M of docs which should be subpackaged.



For library autoloader generated in %build, shouldn't
    require_once 'ezc/Base/autoloader.php';
be
    require_once '%{ezcdir}/Base/autoloader.php';



For the tests autoloader generated in %check, shouldn't
    require '$PWD/src/autoloader.php';
be
    require '%{buildroot}%{ezcdir}/%{gh_project}/autoloader.php';
so the tests verify what will be installed?

Comment 5 Remi Collet 2015-07-13 09:01:42 UTC
Good catch, thanks.
Notice: in fact the generated autoloader is only used for tests, real consumer will use the ezcBase autoloader (but this one is unable to manage 2 directories... so cannot be used for tests)

Fix: https://github.com/remicollet/remirepo/commit/fd6c7d4db35a09db35154eceede200548bc507e8

Spec: https://raw.githubusercontent.com/remicollet/remirepo/fd6c7d4db35a09db35154eceede200548bc507e8/php/zeta/php-zetacomponents-console-tools/php-zetacomponents-console-tools.spec
Srpm: http://rpms.famillecollet.com/SRPMS/php-zetacomponents-console-tools-1.7-3.remi.src.rpm

Comment 6 Shawn Iwinski 2015-07-15 17:13:42 UTC
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 30720 bytes in 2 files.

Blockers fixed.

===== APPROVED =====

Comment 7 Remi Collet 2015-07-15 18:36:43 UTC
Thanks for the review!

New Package SCM Request
=======================
Package Name:  php-zetacomponents-console-tools
Short Description: Zeta ConsoleTools Component
Upstream URL: http://zetacomponents.org/
Owners: remi
Branches: f21 f22 f23 el6 epel7
InitialCC:

Comment 8 Gwyn Ciesla 2015-07-16 04:19:47 UTC
Git done (by process-git-requests).

Comment 9 Remi Collet 2015-07-16 06:00:17 UTC
Can you please check,
https://admin.fedoraproject.org/pkgdb/package/php-zetacomponents-console-tools/ => OK.
http://pkgs.fedoraproject.org/cgit/php-zetacomponents-console-tools.git => MISSING

$ fedpkg clone php-zetacomponents-console-tools
Clonage dans 'php-zetacomponents-console-tools'...
FATAL: R any php-zetacomponents-console-tools remi DENIED by fallthru
(or you mis-spelled the reponame)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Could not execute clone: Command '['git', 'clone', 'ssh://remi.org/php-zetacomponents-console-tools', '--origin', 'origin']' returned non-zero exit status 128

Comment 10 Remi Collet 2015-07-16 08:44:24 UTC
Seems auto-fixed...

Comment 11 Fedora Update System 2015-07-16 09:08:07 UTC
php-zetacomponents-console-tools-1.7-3.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/php-zetacomponents-console-tools-1.7-3.el7

Comment 12 Fedora Update System 2015-07-16 09:09:16 UTC
php-zetacomponents-console-tools-1.7-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/php-zetacomponents-console-tools-1.7-3.el6

Comment 13 Fedora Update System 2015-07-16 09:09:22 UTC
php-zetacomponents-console-tools-1.7-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/php-zetacomponents-console-tools-1.7-3.fc22

Comment 14 Fedora Update System 2015-07-16 09:09:28 UTC
php-zetacomponents-console-tools-1.7-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/php-zetacomponents-console-tools-1.7-3.fc21

Comment 15 Fedora Update System 2015-07-16 23:43:49 UTC
php-zetacomponents-console-tools-1.7-3.el7 has been pushed to the Fedora EPEL 7 testing repository.

Comment 16 Fedora Update System 2015-07-30 01:02:57 UTC
php-zetacomponents-console-tools-1.7-3.fc21 has been pushed to the Fedora 21 stable repository.

Comment 17 Fedora Update System 2015-07-30 01:11:05 UTC
php-zetacomponents-console-tools-1.7-3.fc22 has been pushed to the Fedora 22 stable repository.

Comment 18 Fedora Update System 2015-07-31 18:35:17 UTC
php-zetacomponents-console-tools-1.7-3.el6 has been pushed to the Fedora EPEL 6 stable repository.

Comment 19 Fedora Update System 2015-07-31 18:36:31 UTC
php-zetacomponents-console-tools-1.7-3.el7 has been pushed to the Fedora EPEL 7 stable repository.