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

Jake Farrell commented on THRIFT-1743:
--------------------------------------

I went and talked with the composer developers and the latest version allows 
for branches to be used. I have committed the composer.json to the 0.9.x branch 
and when trying to submit the package to packagist i get the following error 
"The package name was not found in the composer.json, make sure there is a name 
present.". This error shows that it has found the composer.json file in the 
branch and is having issues parsing it. Thoughts?

Xavier:
I changed the autoloader and added target-dir to reference the correct 
locations for those item

"autoload": {
  "psr-0": {"Thrift": "lib/php/src/"}
},
"target-dir": "lib/php",

                
> 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