Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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)
Comment | File | Size | Author |
---|---|---|---|
#8 | 1061292-bot_api.patch | 14.76 KB | snufkin |
bot_api.tgz | 4.22 KB | snufkin |
Comments
Comment #1
snufkin CreditAttribution: snufkin commentedI uploaded this into my sandbox so its easier to track the development etc: http://drupal.org/sandbox/snufkin/1073124
Comment #2
RobLoachWould be awesome to get the API published on http://druplicon.info too.
Comment #3
snufkin CreditAttribution: snufkin commentedWhat do you mean? What would get published?
Comment #4
RobLoachEnable the API module on http://drupalicon.info ?
Comment #5
Morbus IffGoal 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).
Comment #6
snufkin CreditAttribution: snufkin commentedThe code in sandbox now works fine. Tested with api.drupal.org and drupalcontrib.org.
Comment #7
pillarsdotnet CreditAttribution: pillarsdotnet commentedComing here from #1283416: Druplicon incorrectly reports "This is a bug!" then links to a page that proves otherwise.
Comment #8
snufkin CreditAttribution: snufkin commentedFinally 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.
Comment #9
q0rban CreditAttribution: q0rban commentedSubscribing.
Comment #10
q0rban CreditAttribution: q0rban commentedIt 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.
Comment #11
Morbus IffAn 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.