flagbit / Magento-Packager

A simple packaging script for magento connect 2.0 based on a composer.json.
14 stars 10 forks source link

Generating a composer.json from a package.xml #1

Closed rjocoleman closed 11 years ago

rjocoleman commented 11 years ago

I'd be very interested in going in reverse, i.e. feeding a package.xml in and generating a composer.json

I think this would help with two things:

  1. Smooth the learning curve for developers that are already releasing on Magento Connect.
  2. Bring composer support closer for extensions that are on Magento Connect only.

I believe these two points would help with the adoption of composer for package management in Magento.

Ideally hook into composer.phar for the cli to generate this; similar to composer.phar init. Either work on a directory in the local file system or a Magento Connect key (e.g. download, extract and create the composer.json)

The mappings enabled by package.xml and magento-composer-installer would obviate the need for a modman file to do the mapping - not that I have anything against modman it just wouldn't be required.

I'd be happy to sponsor this development so if you're interested please get in touch with me.