- Issue created by @andy-blum
- π¬π§United Kingdom catch
Is there any other core code we'd be able to replace with this?
- πΊπΈUnited States andy-blum Ohio, USA
There are certainly other instances in core that could be replaced by finder. The following are a few places that seem like potential benefactors:
- πΊπΈUnited States andy-blum Ohio, USA
Another potential spot is adding it to the core filesystem service to expand the capabilities of that service
- π¬π§United Kingdom longwave UK
#1451320: Evaluate Symfony2's Finder Component to simplify file handling β already discussed this a bit.
- π«π·France andypost
Core already using custom iterators so not sure this component makes sense to use - there's only 3 places to apply it according #4
Would be great to provide examples hot this component will improve DX
PS: drush already depends on it
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
This is blocking π Making a theme compatible with core's theme generator is too difficult Needs work , so matching issue metadata.
@andy-blum Why a new issue? The existing issues have many more followers, and are likely to proceed faster. π
- πΊπΈUnited States dave reid Nebraska USA
Personally, as a module and distribution profile maintainer who maintains a lot of scaffolding tools, I've had to add symfony/finder and symfony/filesystem as not-dev dependencies myself to the projects I work on. In fact, I found it odd that Drupal Core didn't provide these as dependencies already.
I would support adding the dependency for all, and then separately follow-up for D11 to see how we could reduce and switch more things over to the Symfony version. But I don't think the latter should be a hard blocker to solving this for the starterkit generator, which we desperately need as an install profile with a "starterkit" base theme.
We do not want drupal/core-dev as a dependency for anything, we have encountered issues bringing that into consumer sites because of the composer/composer dependency.
- πΊπΈUnited States andy-blum Ohio, USA
Opened β¨ Add Symfony's Filesystem and Finder components to core Active for the work following this dependency evaluation.
- Status changed to Fixed
about 1 year ago 1:22pm 6 November 2023 - π¬π§United Kingdom alexpott πͺπΊπ
We discussed this in Lille and @catch and @longwave agreed to add the components as regular dependencies.
Automatically closed - issue fixed for 2 weeks with no activity.