-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Extend component types #4529
Extend component types #4529
Conversation
An admin must run tests on this PR before it can be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need a better description of "Setup" in the table.
Agreed but unfortunately I did not work with "Setup" component. Also I did not find an example of usage in Magento CE. This section may be updated later. What do you think? Thank you! |
I did a little more searching and found a description of a module "setup" directory:
Is it accurate to describe a "setup module" the same way? |
@jeff-matthews, unfortunately, no... We are talking about COMPONENT TYPE (about module type) here. In the mentioned by you link - the talk is about module folders structure. Thanks |
Thanks @atwixfirster. I'll check with an internal developer to get a better description. |
Cool. We need someone who developed this type of component. This will a very useful information for community. Thank you, @jeff-matthews ! 👍 |
@buskamuza, can you help provide an accurate description of the |
@buskamuza, could you please help us here? Many thanks! 🌸 CC: @jeff-matthews |
Most types are described in the Composer plugin https://github.com/magento/magento-composer-installer that uses these types to deploy the package correctly. To be honest, I'm not aware of I'd suggest to start the page from the documentation of the plugin I mentioned. And then sync with @okolesnyk on what types functional tests may add. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment above
Merge remote-tracking branch 'upstream/master' into extend-component-types # Conflicts: # guides/v2.3/extension-dev-guide/prepare/dev-modtypes.md
@jeff-matthews , I 've skipped info about setup component regarding Magento Composer Installer documentation. @rogyar , could you please re-check this PR and let me know if you have any notices here? Thank you! |
_includes/php-dev/composer-types.md
Outdated
|Language package|magento2-language|Translations for the storefront or Admin.| | ||
|
||
|Library|magento2-library|Support for libraries located in `lib/internal` instead of in the `vendor` directory.| | ||
|Component|magento2-component|Good example of `magento2-component` is the [Magento 2 Data Migration Tool]({{ site.mage2bloburl }}/{{ page.guide_version }}/migration/bk-migration-guide.html).| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it the Migration Tool? It's not a magento2-component
from what I can see - https://github.com/magento/data-migration-tool/blob/2.3-develop/composer.json
So far the only example is the Magento base package - the package formed of the files that must be located in root (index.php
, .htaccess
, etc). This includes dev/tests
and setup
as well for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it the Migration Tool?
Regarding to https://github.com/magento/magento-composer-installer/blob/master/README.md M2 Migration Tool was developed as a magento-component :)
However, I've checked MagentoHackathon\Composer\Magento\PackageTypes and found
the files that must be located in root .
I've fixed a provided description according to your comment. Could you please review?
Thank you, @buskamuza !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see... looks like it's something outdated.
All looks good now.
running tests |
Hi @atwixfirster, thank you for your contribution! |
Purpose of this pull request
This pull request (PR) adds
setup
component type.Affected DevDocs pages
Links to Magento source code
Thank you!