Active
Project:
Hostmaster (Aegir)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2014 at 09:33 UTC
Updated:
23 Mar 2015 at 14:45 UTC
Jump to comment: Most recent
Comments
Comment #1
ergonlogicIn comment #4 from #2180053: Include more "golden" contrib, I suggested something similar to allow us to download the required backend components for hosting extensions that require them. I'm don't understand what you mean by this though:
Comment #2
helmo commentedIt's mostly about warning a user.
Having 'a list of drush modules in the hostmaster db' would allow us to match that against drush dependencies we find in hook_hosting_feature() definitions. If we find something is missing we could e.g. alert via hook_requirements()
Your angle is about automatically installing. It would be nice, but think we should be careful with that.
Comment #3
ergonlogicI added #2269031: Automatically download Drush dependencies to follow-up on the latter part.
Comment #4
steven jones commentedComment #5
steven jones commentedI wonder if the correct answer here is to get Drush to allow managing extensions via composer, and then we can have something that runs composer in the backend to pull in the correct dependencies, but there's a lot of 'interesting' stuff that needs to happen to make that a reality.
We're probably looking to help out with:
https://github.com/drush-ops/drush/issues/572
https://github.com/drush-ops/drush/issues/524
Comment #6
steven jones commentedSo re-reading https://github.com/drush-ops/drush/issues/572 it seems that actually you can already install Drush commands with composer, and thus you can do depedency management of extensions too!
Comment #7
helmo commentedNow that we #2300537: Merge Provision extensions into Hosting modules I see little need for this.
Comment #8
ergonlogicWhile #2300537: Merge Provision extensions into Hosting modules makes this easy for back-end components of Aegir extensions, some have dependencies on 3rd party Drush extensions. For example, task_extras requires registry-rebuild.