Closed (won't fix)
Project:
Conference Organizing Distribution
Version:
7.x-1.x-dev
Component:
installation profile
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
30 Oct 2010 at 03:45 UTC
Updated:
26 Jan 2013 at 22:12 UTC
Comments
Comment #1
gregglesThere's also http://drupal.org/project/install_profile_api and maybe one or two others that are supposed to help in this area.
I agree there can be benefits here, but worry about how far we build the dependency chain.
http://drupal.org/project/usage/profiler isn't encouraging.
Comment #2
univate commentedinstall_profile_api - provides a bunch of functions to create content types, roles etc.. - this is what features does, so its functionality is mostly redundant when also using features.
Thats probably because its not a module and the suggestion is to put it into a libraries directory and only load it during install, so my guess is its doesn't get reported to drupal via update module.
What I like is the *.profile file you can just put in:
Then create an *.info file:
*.make just needs profiler:
Comment #3
coltraneProfiler seems pretty cool, for it's match of .info syntax and the sub-profile functionality. That seems great for something like a sub COD profile for DrupalCons! Have to think on this some more though.
Comment #4
sirkitree commented+1
I've used profiler on a few projects now and would certainly help out int his area. It really is pretty sexty and also gets you into the right frame of mind when upgrading to D7 which uses the same syntax.
Comment #5
coltraneI looked at Profiler a bit but can't say I understand many benefits to moving to its use. How does it "help out in this area"?
If we already have a bunch of .profile code written, what do we gain out of moving to it? @sirkitree, can you elaborate on what you like about it?
A reason I'm leaning towards it not being worth it is it adds one more dependency.
Comment #6
sirkitree commentedThe top thing I like about it is it's readability and simplicity. Much of the cod.profile's code can be simplified and thus, easier to maintain, though, it is fairly simple right now.
Another thing profiler might be good for is subprofiles. If we have the base profile setup, individual project can use this one as a base and create new ones that extend it. For instance, when coming up with a new DrupalCon site, we use this as a base, but if we want to add anything to it, we create a new subprofile that has any new modules or patches. This would mainly be nice for documentation purposes going forward, but it would give the next team a very easy way to see how the base cod profile was extended for a particular DrupalCon. Then, if the same modifications keep happening in subprofiles, they would be likely candidates for inclusion into the base profile.
I'll work on a patch that converts the .profile into profiler ready syntax in order to highlight the difference. Then we can decide if we think it's worth using or not.
Comment #7
greggles@sirkitree - are you still interested in this? Overall my sense is that the benefits to COD are minimal so we would really just be getting the benefits to sub-profiles and I'm not sure 1) how big those benefits are 2) how likely people are to make sub-profiles (though I get the chicken-and-egg situation there).
Comment #8
japerryI don't think we'll need this either, lets re-evaluate it after the sprint this weekend and see if there is a need for it.
Comment #9
japerryDecided that we don't need this. Closing.