I have created my first Magento 1 extension (after business approval) and I want to upload it to the Magento marketplace.
When I created the Magento extension package, it compressed the entire Magento source. I have three files in the connect
folder:
try_home_1.0.0.tgz
package.xml
try_home.xml
I have a few questions:
connect
folder: package.xml
& try_home.xml
. What are they for as we have only need to submit the try_home.tgz
file to the Magento marketplace?composer.json
file but I couldn't find that?I see your idea is to pack your Magento extension along with Magento as a Magento extension. You cannot do that. If you want to automatically deploy Magento and your extension, you could use a deployment tool.
I am not sure whether you are still looking for answers on the other questions raised, but just it case I am answering you briefly on them too:
The package should include only the files specific for your extension.
The line where you are including the Try/Home directory of your extension looks correct, however the rest of the lines are not. You should not attempt to include Magento core files in your package.
These two files contain the configuration settings of your extension, like name, version, description, etc. that you have provided to the extension packager. When the extension packager creates your package, it includes the package.xml file in the package too.
No, that is wrong. You are not required to include composer.json in your Magento 1 package.