Conversation
|
Merry Christmas :) |
dbu
left a comment
There was a problem hiding this comment.
thanks a lot for looking into this!
seems like a good addition, and seems to work with little additional code 👍
i have a few questions and suggestions
|
i think you need to add the asset mapper to the dev dependencies in composer.json not sure what is going on with the legacy builds, those failures are probably unrelated to your changes. |
actually, this is about using language features that are only available in php 8. but i think its time to ditch that ultra legacy. i will adjust the minimum requirement to php 8. |
|
please rebase on the 2.x branch to build with only php 8, that should fix the build errors |
…rt caching, updated PHPDoc, and standardized configuration formatting
dbu
left a comment
There was a problem hiding this comment.
thanks, i think we are almost there.
can you please look at the cs fixer report? and i commented a few last things.
…x caching logic in `AssetMapperLocator`, and update workflows to require Symfony Asset Mapper
Co-authored-by: David Buchmann <david@liip.ch>
Co-authored-by: David Buchmann <david@liip.ch>
…requirement to workflow because asset mapper is available only on 6.3 version
|
I dont know where to fix Coverrals. there must be added asset mapper package when symhony is higger than 6.4 |
Co-authored-by: David Buchmann <david@liip.ch>
Co-authored-by: David Buchmann <david@liip.ch>
…tation explaining why is this necessary
dbu
left a comment
There was a problem hiding this comment.
thanks a lot for this contribution!
Can I help with version 3 ? is there something to do? |
|
released your changes as https://github.com/liip/LiipImagineBundle/releases/tag/2.17.0 for version 3: difficult question. we discussed the vision of radically refactoring the bundle to make the naming clearer and be able to better cover the various needs (e.g. on-the-fly image transform vs upfront transform). and get rid of most of the loader stuff in favor of flysystem (which did not exist when LiipImagineBundle was created, but now that it does there is no point in us maintaining e.g. S3 support in this bundle) |
| '', // will be injected by FilesystemLoaderFactory | ||
| ]) | ||
| ->tag('liip_imagine.binary.locator', ['shared' => false]); | ||
| $services->set('liip_imagine.binary.locator.asset_mapper', AssetMapperLocator::class) |
There was a problem hiding this comment.
we should mark this ->abstract() (it would also fix #1648)
This pr introduce asset_mapper integration. its created assetMaper locator that is injected to filesystem loader.