@theneonlobster and I are interested in building a module that significantly improves the UI for Drupal module management.

Essentially, we would like to model it off of the Wordpress approach to plugin management, which:

  • Allows users to browse a list of available (new) modules from the comfort of their site's administrative area
  • Sort modules based on various critiera
  • Install and update modules from the administrative area

Ideally, this module would mature and become part of Drupal core. We feel that would be a great leap forward for Drupal, flattening the Drupal learning curve, and thereby making Drupal more accessible to a greater portion of the public.

Here's our blocker: we currently have no way to consume Drupal.org module data (apart from screen scraping). It would be ideal if we could consume module data via a RESTful API, provided by Drupal.org. Useful data would include:

  • Project name
  • Description
  • Major versions
  • URLs for repository, zip, and tar.gz files
  • Issue statistics: # of issues, # open; # of bug reports, # open
  • Maintenance & Development status
  • Project resources
  • Images
  • Taxnomy terms
  • Author
  • Maintainers
  • Commit history (possibly accessible through other means)

I'd like to open the topic for discussion, and (hopefully) begin the process of making this a reality. We are both very willing to contribute (or spearhead) an effort to provide this data on Drupal.org. More specifically:

  • Who should we talk to?
  • Does the community think that this is a good idea?
  • Can we be involved in creating a Drupal.org API that provides this data?
  • If we're going to submit a patch for the Drupal.org, how do we access the codebase to roll it against?
  • Details of implementation need to be sorted: should we construct a custom Services resource, or provide data via another vehicle?

All input and support is welcome!

Comments

WorldFallz’s picture

This is actually already in the works for core-- there should be an issue in the core issue queue for it (i can't access my bookmarks atm). Post back if you can't find it.

webchick’s picture

As mentioned in IRC, here are the related issues I'm aware of around this:

- Core issue: http://drupal.org/node/1841788
- Issue in Project module to provide a generalized API for this info: http://drupal.org/node/669910

Deployment of server-side piece to Drupal.org:

- http://drupal.org/node/1897088
- http://drupal.org/node/1243332

The biggest hurdle atm is Drupal.org is in the process of moving from Drupal 6 to Drupal 7, so there's currently a "feature freeze" on any new deployments to Drupal.org until that's done.

However, you could get access to that sandbox and work with wildkatana and others to get the functionality ready for D7, so that once the upgrade is complete, this could be deployed shortly after. I'm not totally up to speed on what all is needed there right now, but hopefully that gives you some links to go digging on. :)

Thanks so much for offering to help with this!! Would be HUGE for Drupal.