[pkg-php-pear] Bug#754150: pkg-php-tools: Please allow phpcomposer to handle dev and patch releases

Daniel Beyer dabe at deb.ymc.ch
Tue Jul 8 05:39:06 UTC 2014


Package: pkg-php-tools
Version: 1.12
Severity: normal
Tags: patch

It seem like in bug #729452 it was missed to add support for versions
that have a '-dev' or '-patch' suffix. I came across this while trying
to use dh_phpcomposer to generate substvars for
symfony/proxy-manager-bridge (v2.3.16), which has the following in its
composer.json:

 "require": {
    "php": ">=5.3.3",
    "symfony/dependency-injection": "~2.3",
    "ocramius/proxy-manager": ">=0.3.1,<0.4-dev"
},

According to composer's documentation [1] '-patch' can be followed by an
optional number, while '-dev' can not.

The patch attached adds the missing support.

[1] https://getcomposer.org/doc/04-schema.md#version

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-phpcomposer-to-handle-dev-and-patch-releases.patch
Type: text/x-patch
Size: 1101 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20140708/d12df09b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20140708/d12df09b/attachment.sig>


More information about the pkg-php-pear mailing list