This is one of four issues to get Plugin Manager in core. The Plugin Manager module in contributions can be found at http://drupal.org/project/plugin_manager. It would be a huge boost to usability if we didn't have to mess around with our file system before we do updates or new module/theme installations. The reason I've separated this into four issues is because otherwise, this will quite quickly turn into even more of a monster patch. I will be updating my patches every Tuesday and Saturday, so getting reviews between each of these regular updates would be awesome :). The four issues I've created are outlined as below:
- #395472: Plugin Manager in Core: Part 1 (backend)
- #395474: Plugin Manager in Core: Part 2 (integration with update status)
- #395478: Plugin Manager in Core: Part 3 (integration with installation system)
- #395480: Plugin Manager in Core: Part 4 (installation profiles)
For more details on the other issues, click the above links.
This issue will deal with integration of installation profiles with the new plugin manager system. The current plugin manager module doesn't do this, but this will open up all sorts of possibilities. First of all, rather than provide a limited subset of core installation profiles during initial installation, we could list *all* applicable installation profiles on drupal.org. This way, we greatly boost the visibility of install profiles - the goal of them is supposed to be to make it easier for a Drupal newbie to set up a site of a particular type, but they don't do much good if the vast majority of Drupal newbies are ignorant of their existence. This is certainly at least part of the reason why we haven't seen many install profiles (along with the need for better API functions).
A second possibility (in addition to the first one) would be using plugin manager to fetch any necessary modules (and themes?) from drupal.org, and install them automatically with the profile. This would save profiles from the necessity of either shipping with all the required contributed modules (and updating whenever any of those modules comes out with a new release) or making its users download any contributed modules themselves (tedious and bad user experience). This issue will explore this possibility as well as the first one, though it may later be split off into a fifth issue.
Comment | File | Size | Author |
---|---|---|---|
#11 | 395480-11-plugin-manager-part-4.patch | 12.22 KB | Anonymous (not verified) |
Comments
Comment #1
cwgordon7 CreditAttribution: cwgordon7 commentedPostponed pending Part 1, Part 2, and Part 3, though it could potentially go on at the same time as Part 2.
Comment #2
Boris Mann CreditAttribution: Boris Mann commentedWatch #483987: [meta] Make standard install profile into a "Community in a Box" for details on a new default.profile, which hopefully will flush out related issues to shipping with more / better / different install profile support.
Comment #3
birdmanx35 CreditAttribution: birdmanx35 commentedSubscribe.
Comment #4
Paul Natsuo Kishimoto CreditAttribution: Paul Natsuo Kishimoto commentedSubscribing.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commented+1
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedI'm going to go ahead and see if I can hash out as many functions as I can that don't rely on issue number #2 in the above list. At least this way we should already have some progress by the time this becomes unblocked.
Edit: By Issue #2, I actually mean Part #2.
Comment #7
ericgundersen CreditAttribution: ericgundersen commentedSubscribe
Comment #8
amc CreditAttribution: amc commentedTag consistency.
Comment #9
mitchell CreditAttribution: mitchell commentedSubscribe
Comment #10
Anonymous (not verified) CreditAttribution: Anonymous commentedWell, I have an almost working model. Just a few more things and I believe that I might have an initial patch ready to try.
Comment #11
Anonymous (not verified) CreditAttribution: Anonymous commentedThis patch relies on two others:
#395474: Plugin Manager in Core: Part 2 (integration with update status) and
#524728: Refactor install.php to allow Drupal to be installed from the command line
Here's where the problem is... The patch doesn't work. ;) It supplies most of the code that will be needed, but I've run into a slight problem. I was hoping for some community guidance. Basically, I'm trying to call the a function which calls the BatchAPI... before the database is setup.
I see three main options:
1) Work on yet another patch. This time with the intent of allowing the batch API to work before the database is setup. (Probably quite time consuming. Doubtfully worth the effort.)
2) Reorder work flow so that the database gets setup before the stuff gets grabbed. (Painfully easy. Not sure about this method though. It would mean the DB would get setup before the we found out if the module install worked properly. Me thinks this could pave the way for major pain...)
3) As you're reading this, you see a brilliant / underrated way of getting it done. Preferably one that makes me throw my hands up wondering why I didn't see such an elegant solution.
I'm voting on #3.
Comment #12
Paul Natsuo Kishimoto CreditAttribution: Paul Natsuo Kishimoto commentedTagging.
Comment #13
Paul Natsuo Kishimoto CreditAttribution: Paul Natsuo Kishimoto commentedIncidentally, http://drupal.org/node/596488 was posted on the d.o front page recently. I tried to point out some synergies in a comment, but don't know if it was noticed.
Comment #14
Aren Cambre CreditAttribution: Aren Cambre commentedRequesting revisiting in light of Plugin Manager's own "port to D7" issue. #336743: Port Plugin Manager module to D7
Comment #15
klonos...subscribing
Comment #16
webchickSorry, way too late for this now.
Comment #17
sunComment #18
sunOh dear. I'm sorry for spamming. The term "Plugin" is too overloaded. This stuff here is not related at all to the Plugin system in D8.
Let's change this implementation and also issues to Extension manager, pretty please...
Comment #31
smustgrave CreditAttribution: smustgrave at Mobomo commentedWonder after almost 10 years if this is still a valid task?