Closed (fixed)
Project:
Aegir Hosting Tasks Extra
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Nov 2016 at 16:34 UTC
Updated:
6 Mar 2017 at 08:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
grimreaperWrong Category.
Comment #3
helmo commentedI've not heard of anyone working on that... so go for it :)
Comment #4
grimreaperHello,
Here is a patch that adds this feature.
The only "problem" I am not satisfied with is that I have duplicated the function _hosting_sync_site_has_module() into _hosting_tasks_extra_site_has_module() to avoid a dependency on hosting_sync module.
Thanks for the review.
Comment #5
grimreaperAlso, I think to maybe create a separated module to integrate with the drush_language extension.
I imagine a scan of the platform to detect the .po files and then being able to select which po file to import.
Comment #6
grimreaperI forgot to change project.
Comment #7
helmo commentedCool
+1 for moving _hosting_sync_site_has_module to the core hosting_site module so it can be used in both places.
The core_major_version check from #2830557: Support for --entity-updates option on drush updb command might be useful here too... that also sounds like a nice addition for core.
PS: the patch still calls _hosting_sync_site_has_module() ;)
Comment #8
grimreaperHello,
Thanks @helmo for catching that. here is a rework of the patch.
I will open an issue and provide a patch for the refactoring of the _hosting_sync_site_has_module() function.
Comment #9
grimreaperI will redo the patch when #2832110: Refactoring of _hosting_sync_site_has_module will be ok.
Comment #10
grimreaperHello,
Here is the updated patch as the issue #2832110: Refactoring of _hosting_sync_site_has_module is fixed.
Comment #11
helmo commentedThanks, I just did some basic testing... looks OK.
Comment #12
helmo commentedCommitted, thanks.
Comment #13
grimreaperThanks @helmo.
But I don't see the commit in the repository: http://cgit.drupalcode.org/hosting_tasks_extra/log
Not pushed yet?
Comment #15
helmo commentedI must have been distracted ... it's pushed now.
Comment #16
grimreaperThanks @helmo.