Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
extension system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Mar 2014 at 11:26 UTC
Updated:
25 Apr 2016 at 00:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sunThe test failure is expected.
Let's get an agreement on the proposed change first.
Comment #3
penyaskito+1 to this clean-up
Comment #4
sunAttached patch should come back green.
Comment #5
tstoecklerAFAIK this means we can actually remove those two test modules from the repo.
Comment #6
sunDone so.
Comment #7
tstoecklerAwesome thanks. Looks great
Comment #8
catchWhat will happen if you have the wrong branch of a module in your site with this check removed?
Comment #9
sunIf you mean a D7 (or below) branch... then at least for 8.x, that module won't be discovered in the first place, because it doesn't have a .info.yml file.
We can re-evaluate the situation for D9 — unless D9 [hopefully] switches to composer.json, which in turn would cause the same situation as with .info.yml in D8.
Comment #10
catchWell that's a good point. I was thinking if you did something like a git checkout and checked out the wrong branch, it'd be nice not to blow everything up.
Comment #12
dawehner.
Comment #13
sunComment #14
xjmReroll for #2247991: [May 27] Move all module code from …/lib/Drupal/… to …/src/… for PSR-4.
Comment #15
catchCommitted/pushed to 8.x, thanks!
Comment #17
donquixote commentedExtensionDiscovery::$infoParser, and ExtensionDiscovery::getInfoParser() is now no longer needed and can be removed.
Or could have been removed int his issue.
Right?