PHPUnit future
by Remi Collet
Hi,
See :
https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-fo...
This means that the PEAR channel is going to be deprecated.
So I(m going to start to move the dependencies from pear channel to
github sources.
Already done for php-phpunit-Version
https://github.com/remicollet/remirepo/commit/44d4e911d5abf05dbee29e65b70...
I have run some tests, phploc and phpcpd still work with this new
package layout.
Probably we need some Guildelines to facilitate such migration.
My idea is:
- pear package MUST (names from package.xml)
Provides: php-pear(foo) = %{version}
Requires: php-pear(bar) >= x.y
- composer packages MUST (names from composer.json)
Provides: php-composer(foo) = %{version}
Provides: php-composer(foo) >= %x.z
- composer packages SHOULD temporary provides
Provides: php-pear(foo) = %{version}
- composer packages MUST not
Requires: php-pear(bar) >= x.y
This allow us to track (using repoquery) pear dependencies, and this
temporary provides could be dropped when no more required.
Of course this have to happen mostly in rawhide.
Feedback ?
Remi.
P.S. as PHPUnit 3.7 is a LTS version, I plan to keep it for some time in
Fedora <= 20 and EPEL <= 6.
9 years, 3 months
phpCompatInfo future (version 3.1.0)
by Remi Collet
Hi,
Composer epidemic...
So the "bartlett" channel is also dead (no more updated).
I'm working (again) on switching packages from this channel from pear to
git sources (upstream now distributes a "big" phar, with lot of bundled
libraries, including some symfony ones)
Work is mostly done.
Package are available in my "remi-test" repository and will be pushed
soon in rawhide/epel7 (I'm waiting for PhpParser update)
Packages needed:
php-PHPParser-1.0.0-0.1.beta1
php-bartlett-PHP-Reflect-2.0.0-1
php-bartlett-PHP-CompatInfo-3.1.0-1
Warning, new syntax !
Simple example of a source analysis
$ cd /path/to/sources
$ phpcompatinfo -v analyser:run . extension
(the . argument is not a path, but a "provider" name, defined in
/etc/phpcompatinfo.json configuratiuon file, so the "cd" is mandatory,
for now)
Notice: I will submit a patch to fedora-review to detect and use the
correct syntax command.
As this tool is very important for PHP package maintainer / reviewer,
Tests are very welcome.
Regards,
Remi.
9 years, 4 months