Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

complete support for modules outside of app/code/ #1660

Closed
2 of 17 tasks
Flyingmana opened this issue Aug 12, 2015 · 7 comments
Closed
2 of 17 tasks

complete support for modules outside of app/code/ #1660

Flyingmana opened this issue Aug 12, 2015 · 7 comments

Comments

@Flyingmana
Copy link
Member

follow up issue to #1013 this time to make sure everything works, as people reported #1206 is incomplete.
Community driven Issue.

Collects all the seperate Issues and maybe Issues which should be Tested

Issues:

Things which should get tested:

  • email templates
  • \Magento\Framework\Module\Dir\Reader (loading of composer.json) (maybe solved by Fix issue with ModuleDirReader not finding files in vendor modules #1490 )
  • all related to \Magento\Framework\View\Design\Fallback\RulePool
    • email templates
    • dynamic view files
    • template files
    • static view files, such as CSS, JavaScript, images
  • DiCompileMultiTenantCommand

Magento Internal parts which may not Work if placed outside of app/code/:

a lot of them make use of $filesystem->getDirectoryRead(DirectoryList::MODULES) where Iam not sure how it works/acts.

  • ImportExport
    • \Magento\ImportExport\Controller\Adminhtml\Import\Download
  • \Magento\PageCache\Model\Config (reading of vcl file)
  • \Magento\Paypal\Block\Iframe
  • \Magento\Persistent\Model\Persistent\Config
  • DependenciesShowFrameworkCommand
  • \Magento\Setup\Model\SampleData
@joshdifabio
Copy link
Contributor

Great job.

See also #1481 and @vrann's update regarding modules in vendor.

@Vinai
Copy link
Contributor

Vinai commented Aug 13, 2015

Very cool! I'm sorry I'm on vacation right now and can't check out the branch and play with it. Looking forward to it once I'm back end of August.

@vrann
Copy link
Contributor

vrann commented Aug 13, 2015

  • Unit tests run the tests from vendor
  • It is possible to locate xsd files to do validation and to reference from xml
  • magento2-base component is removed. Project structure should be defined in magento/magento2-community-edition, integration tests, libraries, etc should have own components

@piotrekkaminski
Copy link
Contributor

@buskamuza hey, did the recent changes solved this issue?

@dmitrii-fediuk
Copy link

For now a custom extension can reside in the vendor folder but it does not work for translation packages because the system looks for them in app/i18n folder.

@buskamuza
Copy link
Contributor

@dfediuk , could you, please, point to the code that searches in app/i18n? Thanks.

@Flyingmana
Copy link
Member Author

I close this issue, as the basic stuff now works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants