Closed (fixed)
Project:
Drush Make
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2009 at 06:09 UTC
Updated:
5 Dec 2009 at 16:40 UTC
Jump to comment: Most recent file
Takes a current installation and makes a makefile out of it. Maybe?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | drush_generate_makefile_mkIII.patch | 6.81 KB | acrollet |
| #5 | drush_generate_makefile_mkII.patch | 6.82 KB | acrollet |
| #3 | drush_generate_makefile.patch | 2.93 KB | acrollet |
| #2 | drush_generate_makefile.patch | 2.89 KB | acrollet |
Comments
Comment #1
dmitrig01 commentedtoo hard, but feel free to re-open if you want to do it, i'm more than happy to accept it
Comment #2
acrollet commentedI've got the beginnings of a patch here. It will currently generate output like this:
There are obviously limitations to how much can be generated with a tool like this, chief among which being the fact that it's impossible to determine where to download non-contrib modules, themes, libraries etc. Still, a tool like this provides a nice template, and could give n00bs a head-start on a makefile... Would love some feedback on this.
Comment #3
acrollet commentedwhoops, slight improvement to the patch.
Output now looks like:
Comment #4
dmitrig01 commentedhow about "generate makefile" (space instead of underscore)?
Capitalize and period at the end.
Could be pressflow. There should be some way of detecting it (and special-casing it).
Maybe add a commend denoting each section?
Please find out somehow if it's on d.o. An UpdateXML query should be just fine.
Please remove.
Please check for project status url. Also try using the same code as profiles (download). Maybe a helper function.
Also, please check for a custom location (e.g. sites/all/modules/contrib/module) if possible.
Quotes please.
Please use the same code as profiles here.
Otherwise, looks great. Thanks for working on this!
Comment #5
acrollet commentednew patch attached, the output generated now looks like this:
The relevant section from a pressflow installation now looks like this:
I believe I've addressed all of the concerns above except for "Maybe add a commend denoting each section?". For clarification, do you mean having commands such as the following?
Thanks much for the feedback, hopefully we can get this into the project soon!
Comment #6
acrollet commentedsubmitting a slightly cleaned-up patch - please review this instead!
Comment #7
dmitrig01 commentedomitted (with many modifications)