Closed (outdated)
Project:
Drupal core
Version:
9.3.x-dev
Component:
composer
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Mar 2020 at 23:05 UTC
Updated:
22 Apr 2022 at 15:32 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mondrakeComment #3
jungleHi, Is the trail
/after {$name} necessary?Comment #4
effulgentsia commentedGood catch. We should be consistent. This fixes that.
Comment #5
effulgentsia commentedComment #6
effulgentsia commentedBy the way, it would be helpful for this to be committed even if the upstream PR isn't merged yet. Because once this is committed, projects that want to benefit from it prior to the PR getting merged could do so via composer-installers-extender.
Comment #7
alexpottI don't think this is the way to go. This would require existing drivers
Comment #8
effulgentsia commentedPostponing on #3120096: Support contrib database driver directories in a fixed location in a module, and possibly makes sense to won't fix after that. Also removing it as a beta target, because I discovered that drivers that override the same name as a core driver don't actually need to be in the drivers directory, they only need to be in the autoloader, so this works.
Drivers with new names need to get discovered by
drupal_get_database_types(), so either need to be in the drivers directory, or #3120096: Support contrib database driver directories in a fixed location in a module can improve that.Comment #9
fgmFor the mongodb case, we really have two different situations: 8.x-1.x is the precursor to @daffie's version, which has no users and can therefore be restructured as needed, and this is the one which can take advantage of the current contrib driver work. The current stable version, 8.x-2.x, does not attempt to be a database driver anyway: it just adds independent extra services (including storage services), so I think you can just ignore it unless the database notion becomes much wider than it currently is.
Comment #12
effulgentsia commentedPer https://www.drupal.org/node/3126810, this is now outdated.