[dev] PHP Composer generator

Michael M Slusarz slusarz at horde.org
Sun Jun 23 22:48:17 UTC 2013


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Mathieu Parent <math.parent at gmail.com>:
>
>> 2013/6/22 Michael M Slusarz <slusarz at horde.org>:
>>> Quoting Michael M Slusarz <slusarz at horde.org>:
>>>
>>>> commit 177c56385bf4b04c47357c2dfabfd49797e6fd6d
>>>> Author: Michael M Slusarz <slusarz at horde.org>
>>>> Date:   Tue Apr 2 15:58:41 2013 -0600
>>>>
>>>>    [mms] Add PHP Composer generator.
>> [...]
>>>> create mode 100644 components/lib/Conductor/PEARPackageFilev2.php
>>>> create mode 100644 components/lib/Conductor/Package2XmlToComposer.php
>> [...]
>>> For any package/application, can now do:
>>>
>>> horde-components composer
>>>
>>> and a composer.json file will be generated.
>>
>> This patch includes files with "This file is part of Conductor "
>> header which looks like integration of external library (there is also
>> the Sabre_Dav library included somewhere else). Couldn't this be
>> replaced by a dependency on the corresponding PEAR package if it
>> exists? Or creating such package?

#1 - The conductor code does have package.xml and composer.json files.  
  But it doesn't appear that conductor is actually packaged/and hosted  
somewhere so that it is installable from PEAR.

#2 - #1 is irrelevant anyway since I had to patch the code locally to  
add support for adding repository information to the generated  
composer.json file.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list