[pkg-php-pear] Bug#762518: PEAR and Composer limit version handling (Was: PEAR: [Regression] Preversion are not “translated” anymore)

David Prévot david at tilapin.org
Tue Sep 23 21:14:24 UTC 2014


Hi,

Le 22/09/2014 21:11, David Prévot a écrit :
> Package: pkg-php-tools
> Version: 1.21

> Among php-log dependencies, php-mdb2 […]
> version used to be translated to 2.0.0~rc1, respecting Debian syntax,
> but with the current version of pkg-php-tools, that’s not true anymore.

Another regression just noted while rebuilding phpunit:
php-codecoverage used to be translated as (<= 1.2.99), and is now (<<
1.2.99), I believe the former form was correct. package.xml extract:

   <package>
    <name>PHP_CodeCoverage</name>
    <channel>pear.phpunit.de</channel>
    <min>1.2.1</min>
    <max>1.2.99</max>
   </package>

Furthermore, as recently agreed on the list (Re: [pkg-php-pear] About
Composer versioning
<CAFX5sbw==CFiV3eCFcQ+8CQfdu1Z_NceQGcH+mRwUsJqavnpRA at mail.gmail.com>):

“the generated version […] in dependencies (and alike): currently,
“<3.0.0” in composer is translated as (<< 3.0.0) in DEBIAN/control,
[while it should] rather be (<< 3.0.0~~)”.


Pilling up those version handling issues in the BTS to keep them in
mind, feel free to (ask me to) clone them as a bug report per issue if
it make sense (I’m currently a bit swamped in Symfony world, but hope to
be able to propose some patches in not too distant future if possible).

Regards

David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20140923/b4637360/attachment.sig>


More information about the pkg-php-pear mailing list