Hello,
I m not a drupal module developper or expert but maybe this shunk of code can help you to have a auto-install module system with a complete cache management, search and info features.
This is a command line PHP script with four main options.
Usage:
drupal.php option
option
--clean : flush the module cache file.
--update : update modules information cache.
--download all| : Download in cache the last version of a module
--install (all|site_name, ...) : Install a module for all the sites or for specified site
--info : display module information for module
--search : Search a module for a search string
--quiet : Disable display verbose information
--list : List the module available in cache
--help : Display this help
I don t know if you can or want to integrate this solution but it 's very useful for us ;o)
I don't know how to integrate it in the drupal core system corretly.
So I prefer request for core developpers for remarks around this code before working deeply on it.
Best regards,
Jean-Marie Renouard
| Comment | File | Size | Author |
|---|---|---|---|
| ModuleFetcher.zip | 67.15 KB | jmrenouard |
Comments
Comment #1
killes@www.drop.org commentedThis won't be integrated into Drupal core, but you should speak to Ber Kessels and collaborate with him on his script collection.