1

I'd like to iterate on all contrib modules, pull their repos and extract information (such as drush commands, graph dependencies, etc.)

Is there a way to list all modules, other than scraping https://drupal.org/project/project_module?

1
  • The update module from drupal core does some of what you want so it might be useful to check out its code. Scraping drupal and drupalcode sites is probably what you'll need to do though to get the level of detail you want in your info.
    – rooby
    Mar 16, 2014 at 1:59

2 Answers 2

1

Here is a sandbox module (from a Drupal user I trust) that does it: https://drupal.org/sandbox/greggles/1481160

1
  • Spoke too soon: This module downloads the modules specified in a list file, but does not retrieve the list from Drupal.org.
    – infojunkie
    Mar 16, 2014 at 5:28
0

There's an old issue asking for a mechanism to pull entire codebase: Provide a way to download the entire git codebase for all projects. It includes several ways to get it, some of them don't work - I guess because the upgrade of drupal.org to Drupal 7.

Not the answer you're looking for? Browse other questions tagged or ask your own question.