Aims:

- remove relying on api.module installed on the bot site.
- support for the api.drupal.org/api/function_dump/6 function dump url.
- support any 3rd party api site (e.g. drupalcontrib.org)

TODOs
- the parsing fails, so I'll need to rewrite that.
- need an upgrade path from bot_project (variables)

CommentFileSizeAuthor
#8 1061292-bot_api.patch14.76 KBsnufkin
bot_api.tgz4.22 KBsnufkin
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

snufkin’s picture

Status: Active » Needs review

I uploaded this into my sandbox so its easier to track the development etc: http://drupal.org/sandbox/snufkin/1073124

RobLoach’s picture

Would be awesome to get the API published on http://druplicon.info too.

snufkin’s picture

What do you mean? What would get published?

RobLoach’s picture

Enable the API module on http://drupalicon.info ?

Morbus Iff’s picture

Goal of this patch is to remove the dependency of api.module, not to support it more loudly. The API.module is rarely
updated alongside Drupal releases, which hurts the (now-D7) bot (the bot hasn't had updated APIs since D7 came out).

snufkin’s picture

The code in sandbox now works fine. Tested with api.drupal.org and drupalcontrib.org.

pillarsdotnet’s picture

snufkin’s picture

FileSize
14.76 KB

Finally attaching a shiny patch. The parsing now works just fine, i broke it down to smaller chunks as well so it does not process all the functions at once. Has been tested with drupalcontrib.org and api.drupal.org. I am running it on 2 bot servers, works fine.

q0rban’s picture

Subscribing.

q0rban’s picture

It would be nice if this supported stuff other than just Drupal core. Right now it assumes your branches are 5, 6, and 7. What if you have a development branch, a master branch and a feature-abc branch?

Also, the module doesn't show up in with the other Bot modules on admin/modules, and the configuration link is missing from the item as well.

Morbus Iff’s picture

An initial and revised commit of this is now in:

http://drupalcode.org/project/bot.git/commit/280d9f3

They'll be more tweaks over the next few days. Will close when I'm satisfied.