[ 
https://issues.apache.org/jira/browse/THRIFT-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612459#comment-13612459
 ] 

Xavier HAUSHERR commented on THRIFT-1743:
-----------------------------------------

You have to register Thrift twice for PHP:
- the PHP Library need to be register at pear.php.net
- tHe PHP Extension (thrift_protocol) need to be register at pecl.php.net

Both don't need to be registred in Packagist (and don't need composer.json), 
because Packagist is already able to load Pear dependancies and Pecl 
requirement (no install) => http://getcomposer.org/doc/05-repositories.md#pear

So it's a different problem. If you had them in Pear/Pecl, we don't need any 
composer.json, because instead of adding requirement "apache/thrift", developer 
will add "ext-thrift" (Pecl) and "pear/Thrift"

Both are not incompatible. I like the two ways (Composer or Pear/Pecl).
                
> Add composer.json for new Symfony 2.1 Dependency Manager
> --------------------------------------------------------
>
>                 Key: THRIFT-1743
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1743
>             Project: Thrift
>          Issue Type: Improvement
>    Affects Versions: 0.9
>            Reporter: Xavier HAUSHERR
>            Assignee: Roger Meier
>             Fix For: 0.9, 1.0
>
>         Attachments: composer.json
>
>
> In order to use the new Symfony 2.1 Dependency Manager 
> (http://getcomposer.org/), we have to add on root of Github project a file 
> called composer.json with Composer configuration.
> This file must place in "/" in trunk and in 0.9x branch if possible.
> Is it possible to add this file ?
> Best regards.
> Xavier HAUSHERR

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to