netz98 / n98-magerun

The swiss army knife for Magento developers, sysadmins and devops. The tool provides a huge set of well tested command line commands which save hours of work time. All commands are extendable by a module API.
http://magerun.net/
Other
1.44k stars 400 forks source link

Package an extension #566

Open edi9999 opened 9 years ago

edi9999 commented 9 years ago

I'm searching for a CLI tool to be able to package an extension. Ideally, it would be Modman compatible.

I don't think that they is a way to do it with magerun now, am I right ?

Would you consider that functionality to be part of magerun ?

steverobbins commented 9 years ago

Possible duplicate: #492

tkn98 commented 9 years ago

For the Modman creation I'm totally with @steverobbins, that's a duplicate. For a packages module, I don't know if this has been put on the table already.

You might be looking for Magento-Composer-Installer which supports Modman style Magento packages.

Magerun itself supports a (sub-directory) path to Magento base installation (e.g. commonly "www"). [can't find the documentation on this right now, the file is called .n98-magerun and can reside in a projects root directory ]

I know of a (proprietary?) Magerun extension that handles packaging, but it can't package automatically and create the modman file.

I also know the Magento-Composer-Installer (ca. half a year back, integration started ca. a year ago) and I'd say you're good to go with it out-of-the box together with magerun.

Additionally I'll try to find out more if it's possible to release a packages extension as a magerung third party module but I can't make any promises on this.

This is also a question of taste and convention, so subject to change among users.