-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
Add support for the new bundle structure #1085
Conversation
Hm, what about the |
We don't need to support a public path of the application. That's a configuration in your config.yml (see https://github.com/terminal42/contao-standard/blob/master/config/config.yml#L24 for an example) |
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.
Nice one!
public function testUsesTheJsonManifestVersionStrategyForBundles(): void | ||
{ | ||
$bundlePath = static::getTempDir().'/ManifestJsonBundle'; | ||
|
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.
CS: no empty line
Do we really need another fixtures bundle or can we also test this with the existing test-bundle? |
Well yes, I am just asking if may be we should change the Managed Edition in that regards by default. Then the bundle structure and application structure would be consistent. Otherwise we will have to document another exception. |
@fritzmg I don't understand what you're referring to. There is no |
There is in a regular symfony skeleton. That's where the |
Ah, you mean that the |
It is not. |
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.
The logic of the passes needs to be changed IMHO (see https://github.com/contao/contao/pull/1085/files#r356659931).
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.
You did not answer my question:
Do we really need another fixtures bundle or can we also test this with the existing test-bundle?
core-bundle/tests/DependencyInjection/Compiler/AddAssetsPackagesPassTest.php
Show resolved
Hide resolved
6bdc3fd
to
6772c46
Compare
Thank you @aschempp. |
https://github.com/symfony/symfony/blob/4.4/UPGRADE-4.4.md#httpkernel
This adds support to find Contao resources in the bundle root folder. It also uses the new folder for the automatically generated asset helpers. I'm not sure if I forgot any place where we retrieve files?