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.
I had to force an update of php-phpunit-PHP-Timer and php-bartlett-PHP-Reflect to make the phpcompatinfo command work. The install of the updated php-bartlett-PHP-CompatInfo did not force those updates for me.
So far I'm not a fan of the new upstream version :/
On Tue, May 13, 2014 at 4:08 AM, Remi Collet Fedora@famillecollet.comwrote:
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. _______________________________________________ php-devel mailing list php-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/php-devel
I just tried phpcompatinfo v3 on Doctrine Common 2.4.2 [1] and it missed the reflection and tokenizer extensions -- I used phpcompatinfo v2 to verify and it found them.
[1] https://github.com/doctrine/common/archive/5db6ab40e4c531f14dad4ca96a394dfce...
On Fri, May 23, 2014 at 10:58 PM, Shawn Iwinski shawn.iwinski@gmail.comwrote:
I had to force an update of php-phpunit-PHP-Timer and php-bartlett-PHP-Reflect to make the phpcompatinfo command work. The install of the updated php-bartlett-PHP-CompatInfo did not force those updates for me.
So far I'm not a fan of the new upstream version :/
On Tue, May 13, 2014 at 4:08 AM, Remi Collet Fedora@famillecollet.comwrote:
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. _______________________________________________ php-devel mailing list php-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/php-devel
Le 24/05/2014 05:33, Shawn Iwinski a écrit :
I just tried phpcompatinfo v3 on Doctrine Common 2.4.2 [1] and it missed the reflection and tokenizer extensions -- I used phpcompatinfo v2 to verify and it found them.
[1] https://github.com/doctrine/common/archive/5db6ab40e4c531f14dad4ca96a394dfce...
I'm working with upstream on this new version.
There is currently a important regression, as it detects only dependencies on installed extensions and versions...
But this doesn't explain the issue with reflection and tokenizer extensions (which are always available)
So, for now, I think version 3.1 is mostly unusable. :( (I will differ update in rawhide/epel7 until fixed)
On Fri, May 23, 2014 at 10:58 PM, Shawn Iwinski shawn.iwinski@gmail.comwrote:
I had to force an update of php-phpunit-PHP-Timer and php-bartlett-PHP-Reflect to make the phpcompatinfo command work. The install of the updated php-bartlett-PHP-CompatInfo did not force those updates for me.
Thanks, Fixed.
Remi.
So far I'm not a fan of the new upstream version :/
On Tue, May 13, 2014 at 4:08 AM, Remi Collet Fedora@famillecollet.comwrote:
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. _______________________________________________ php-devel mailing list php-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/php-devel
php-devel mailing list php-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/php-devel
phpcompatinfo 3.2 is nearly ready (upstream plan to release it in sync with php 5.5.15 / 5.4.31, so tomorrow)
In this version
- huge effort on documentation.
especially: http://php5.laurent-laville.org/compatinfo/manual/3.2/en/migration-guide--cl...
- fix most of regressions detected in 3.1
About extension detection.
See: http://php5.laurent-laville.org/compatinfo/manual/3.2/en/references.html
* prefetch strategy : references are always loaded * autodiscover strategy : references loaded only when detected
I will prefer to have all in "prefetch"... as it will not detect dependencies on not installed (or not available) extensions...
About version loading, references will be loaded for your current version, references for upper will not be loaded.
This is something I try to convince upstream to change (at least with a runtime option, but I also know this requires a big work).
I mostly always run latest PHP version with most of extensions installed... but I'm very probably an exception. And for review, having "everything" detected seems needed.
RPM are available in my "remi-test" repo (but it will probably have to update a lot of dependencies as symfony 2.5 is used). php-bartlett-PHP-Reflect-2.2.0-0.1.gitfe9d18d php-bartlett-PHP-CompatInfo-3.2.0-0.1.git970d967
If you can give this package a try, and report any found issue.
Thanks, Remi.
FYI, phpreflect 2.2.0 and phpcompatinfo 3.2.0 are now built in Fedora 21 and rawhide.
Notice : you can also test it using the upstream phar.
$ wget http://bartlett.laurent-laville.org/get/phpcompatinfo.phar \ -O /usr/local/bin/phpcompatinfo.phar $ chmod +x /usr/local/bin/phpcompatinfo.phar
As phpcompatinfo 2.26 is dead, and unmaintained, I also plan to push this new version in older branch (epel7 first, f20... epel6...) but later. We really need a stable version, as this is a really important tool for package reviewer and maintainer.
Remi.
[1] https://apps.fedoraproject.org/packages/php-bartlett-PHP-CompatInfo
php-devel@lists.fedoraproject.org