The hook_requirements implementation was recently removed from API module and I noticed that apisite profile doesn't yet install the module due to this.

See #1242624 for the changes that make this possible.

CommentFileSizeAuthor
#1 1453756-install-api-module-1.patch2.33 KBpsynaptic
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

psynaptic’s picture

Status: Active » Needs review
FileSize
2.33 KB

Patch attached which does the following:

  • Updates to latest dev version of API module.
  • Removes the patch from #1411648: Parser runs out of memory on large codebases as this has been committed to API module now.
  • Switches to the newly required drupal_queue module instead of job_queue.
  • Enables API module on installation!

You can test this using my fork on github.

git clone git://github.com/psynaptic/apisite.git
drush make apisite/apisite_dev.build apisite_dev

Since API Site profile uses a stub make file, my fork also contains a change to the clone URL for the profile so that it downloads from my fork instead of drupal.org.

amontero’s picture

Category: task » bug
Status: Needs review » Reviewed & tested by the community

Same problem here.
Tested from psynaptic's repo issuing:

$ drush make https://raw.github.com/psynaptic/apisite/6.x-1.x/apisite_dev.build apisite

Now API is correctly enabled.
I think it's worth commiting at least to -dev to allow everyone continue working/helping more easily.