Posted by tatien on July 5, 2007 at 7:48pm
While working on an installation profile for the Filmforge project, I found out I had to do lots of pretty repetitive tasks. So I thought that it would be nice to have a tool that allows you to quickly generate a .profile file from a working website.
The result is a simple module that I called "Profile Wizard". It's very easy to use: once installed on your site, just go to profile_wizard/ e.g. profile_wizard/filmforge and a .profile will appear. Of course, you will probably have to edit it, but it does a good part of the job. Currently it export modules, content types, variables and roles/permissions.
The generated .profile file requires the crud.inc file from the Install Profile API module.
| Attachment | Size |
|---|---|
| profile_wizard.info.txt | 164 bytes |
| profile_wizard.module.txt | 6.24 KB |

Comments
brilliant!
This is just what we all needed! well done.
--
Knaddisons Denver Life | mmm Chipotle Log | The Big Spanish Tour
knaddison blog | Morris Animal Foundation
Very handy to have
Thanks! Nice job.
Please commit this module to CVS
Wow.
This will make this a lot easier.
Thanks!
Cheers,
Bill
FunnyMonkey
Tools for Teachers
FunnyMonkey
this is godsent! thank
this is godsent! thank you!
Open Music: the universal music revolution
A healthy disregard for the impossible.
Nice!
So....do we want to make this part of the install_profile_api project directly? Because, really, if I could code better, that's what I would have put together.
Then, as we extend what the profile wizard can do, the appropriate crud helper functions can be extended as well....
speaking of....
Did any of the stuff from the Install Profile API make it into core in any way shape or form? I admit I should have been following this more cloesly and perhaps even submitted some patches here and there, but I think we were all waiting to see what happened to the Data API...
I'd like to see this all integrated to work together, but perhaps, not one project: I'd like to be able to use the install profile API without the overhead of the profile wizzard module....
-Mike
No data api stuff in core
Core install profile API stuff: short answer is "no"...pretty much none of the data API stuff went in, so...
HOWEVER...all is not lost. If we can try and build out a core install profile (an additional one, aside from "default"), we might be able to get some bits refactored by showing that install profiles need it.
Re: install profile + profile wizard -- joining them in one project just seemed the quickest way. I agree that you'd just have the wizard installed / enabled on your test infrastructure (along with devel and who knows what else) but it wouldn't "ship" with your install profile. But, on the other hand, shipping with one disabled module might not be that much overhead...
In any case, I want to see this profile wizard code in Drupal CVS ASAP :P
Let's do it!
Yes, let's do it. Of course this is just a start, but it has proven to be very useful in developing the FilmForge installation profile.
Great
I added you to the CVS access tab for the <a href="http://drupal.org/project/install_profile_api>install profile API project, and also updated the project description.
Go ahead and commit the profile wizard stuff into the root of the directory.
Working link to Install Profile API project
http://drupal.org/project/install_profile_api
This install profile wizard is love at first site for me, too.
~ ben melançon
member, Agaric Design Collective
http://AgaricDesign.com - "Open Source Web Development"
benjamin, agaric
First commit!
All right, I just commited the module to the CVS, see commit log #72994. Enjoy it!
typo in url
it's actually install_profile_wizard/profile_name e.g. install_profile_wizard/filmforge
Right
Yes, indeed.
could you please collaborate with shiny so we have 1 not 2?
please collaborate with shiny, http://groups.drupal.org/user/31033, http://drupal.org/project/profile_generator, so we only have 1 of these modules
both modules work great but the community only needs one
Did not know about Shiny's module
I did not know about the existence of this module and was surprised to find it. It is pretty advanced as compared to our profile wizard, but just recently at Koumbit we decided to invest into developing the module.
I have to talk to Shiny. I think it is better to use crud.inc from the install profile api (http://drupal.org/project/install_profile_api).
better to use crud.inc
better to use crud.inc agreed! otherwise the db_queries have to be changed in many places rather than one place!