Packaging guidelines update
by Michael Cronenworth
Hello,
During a package review[1] it has become apparent that the PHP packaging
guidelines[2] need to be updated. Remi, it should not be my job to request or do the
work that you and your SIG should be doing.
Please discuss the following changes and any others that have now become required
for new PHP packages. If I must I will create a ticket with FPC.
1. State that phpcompatinfo needs to be run.
2. Clearly define that virtual provides, even of core PHP modules, must be Requires.
The current text looks like only non-core modules are Requires.
3. Add a section for tests. You state they are a "MUST" but the guidelines do not
mention tests at all.
4. Extend the composer section to require an autoloader and composer.json file.
Thank you,
Michael
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1231318
[2] https://fedoraproject.org/wiki/Packaging:PHP
8 years, 5 months
PHPUnit 4.7...
by Remi Collet
... have hit rawhide.
For now (~80 packages rebuilt in Koschei) everything seems ok.
I plan to push it in others branches next week.
Tips: use --verbose option to get, in the build.log
PHPUnit 4.7.1 by Sebastian Bergmann and contributors.
Runtime: PHP 5.6.9 with Xdebug 2.3.2
Configuration: /dev/shm/BUILD/xxx/phpunit.xml
...
(Runtime is new, Configuration is not more displayed by default)
Remi.
8 years, 6 months
Move from php-ezc-* (pear) to php-zetacomponent-* (github)
by Remi Collet
Hi,
In our repository we have a lot of old eZ components
(used in old version of eZpublish) from a pear channel.
http://rpms.famillecollet.com/rpmphp/rpm.php?type=pear&what=%23ezc
This project have been moved under the Apache Foundation and is now
known as ZetaComponent (no "global" release, but each component is
released in github and registered on packagist)
http://zetacomponents.org/
https://github.com/zetacomponents
Time to move.
#1228087: php-zetacomponents-unit-test - Zeta UnitTest Component
#1228089: php-zetacomponents-base - Zeta Base Component
#1228090: php-zetacomponents-graph - Zeta Graph Component
#1228091: php-zetacomponents-console-tools - Zeta ConsoleTools
Both stacks can be installed (different root tree, pear vs php)
The new package follow the old pear layout (not PSR-0)
=> class ezcFooBar in /usr/share/php/ezc/Foo
I have only package the components need by other packages
glpi (also switched upstream)
php-theseer-autoload
php-phpunit-bytekit
So I was able to "yum remove php-ezc-*" on my computer.
Of course if someone find some interest to package other components...
Cheers,
Remi.
8 years, 6 months