Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
As per http://drupal.org/node/1455232#comment-5652438, I'm working on porting hostmaster.profile to the Profiler library.
The latest changes can be seen in the 'profiler' branch in my hostmaster sandbox: http://drupalcode.org/sandbox/ergonlogic/1226310.git/shortlog/refs/heads...
Comment | File | Size | Author |
---|---|---|---|
#3 | hostmaster-port_to_profiler-1463128-3.patch | 17.77 KB | ergonlogic |
#1 | hostmaster-port_to_profiler-1463128-1.patch | 4.67 KB | ergonlogic |
Comments
Comment #1
ergonlogicSo far, this patch does the following:
There's plenty of dynamic variable setting and node creation that remains in hostmaster.profile. Profiler would suggest moving this into a hostmaster.install, but it works just fine as is. Having that run in a hook_install() may be necessary for sub-profiles, but I haven't tried that yet. It occurs to me that Provision's 'hostmaster-install' will likely have to be changed to support sub-profiles of hostmaster.
The only standard Profiler feature I haven't yet implemented is setting the theme. For anything else, we'll need to add something like Features (for role creation) or Context (for block placement). But I figure those should really have their own issues, should we want to pursue them.
Comment #2
ergonlogicWorking on the Provision end of things here: http://drupalcode.org/sandbox/ergonlogic/1074110.git/shortlog/refs/heads...
Comment #3
ergonlogicOkay, done, including moving the rest of the install code into hostmaster.install. Everything works as expected. New patch attached.
Comment #4
omega8cc CreditAttribution: omega8cc commentedThis could probably go to separate branch like
dev-profiler-6.x-2.x
for testing first, before it will be committed to 6.x-2.x-dev?Comment #5
ergonlogicSub-profiles using Profiler pretty much depends on #1468874: Split Eldir back out to a stand-alone project, since we'll need to include Hosting and Eldir. As a proof-of-concept, I have this working with Sandbox projects.
Unfortunately, it currently requires pulling most projects into a stub makefile due to #1252716: Makefiles with multiple profiles no longer grab like projects, so that they're available to all profiles. A move to Drush 5 seems to be what's required fix that.
Comment #6
anarcat CreditAttribution: anarcat commented@ergonlogic - can you push this in a dev branch of hostmaster? Are you using this in production now?
Comment #7
ergonlogicActually, I wonder how relevant this remains. Its initial purpose was to allow easier creation of Aegir derivatives. Now that we've #1468874: Split Eldir back out to a stand-alone project and are looking to #1912134: split hosting in its standalone module, all we'll need to do is fork hostmaster. With #1261030: [meta] Roadmap: Aegir 3.x (D7 port) well under way, I don't see much reason to use Profiler anymore. Also, development on Profiler has slowed significantly.
Feel free to re-open, if anyone feels otherwise.