Closed (outdated)
Project:
Drupal core
Version:
8.8.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Jul 2016 at 20:12 UTC
Updated:
26 Aug 2019 at 16:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hswong3i commentedComment #3
hswong3i commentedComment #4
hswong3i commentedComment #5
mile23This kind of change would definitely be in 8.2.x.
+1 on using symfony/finder, but it's not a dependency of core.
-1 on tossing away the big array of directories. We made that in order to be specific about what we're removing.
We also need to have a way to show whether the directory is missing or has otherwise changed. See the conversation here: #2664274: Combination of --prefer-dist and .gitattributes confuses our vendor test cleanup
Comment #6
hswong3i commentedsymfony/filesystemandsymfony/finderas core dependency. Actually there must be room of space for utilize these 2 package in order to replace some of our legacy core code with manual folder/file handling.symfony/finder.Moreover, after a quick check with original though for #2664274: Combination of --prefer-dist and .gitattributes confuses our vendor test cleanup:
Now we will not hit such exception anymore, because of the use of
symfony/finder;-)Comment #8
hswong3i commentedFix typo during translate original big array with regex...
Comment #15
mile23vendorTestCodeCleanup() has been moved to a Composer plugin: https://www.drupal.org/node/3059717
We didn't use the symfony components, though it would still make sense to do so.
The plugin is configurable: https://www.drupal.org/docs/develop/using-composer/using-drupals-vendor-...
Closing here. Thanks, @hswong3i.