api.drupal.org does not index files
jhodgdon - November 4, 2009 - 17:48
| Project: | Drupal.org infrastructure |
| Component: | api.drupal.org |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
It looks like api.drupal.org is not currently indexing the hooks in modules/system/system.api.php for Drupal 7. For instance, hook_cron() cannot be found, and http://api.drupal.org/api/function/poll_cron/7 shows no link on "Implement hook_cron().".

#1
Yeah looks like something got broken in system.api.php:
http://api.drupal.org/api/drupal/modules--system--system.api.php/7/source
#2
Huh, that's odd. The file parses without any PHP errors for me (in Eclipse, which usually shows the errors). And it certainly isn't empty!
#3
When I visit http://api.drupal.org/api/function/poll_cron/7, I see the link that takes to the page describing
hook_cron().I guess the problem has been resolved; if I am wrong, please re-open this report.
#4
This is what I see.

#5
There are still quite a number of things missing from api.drupal.org. The issue that I notice is "AJAX Commands", or "AJAX Infrastructure" for example.
A search for "ajax" gets nearly nothing.
Some of the things that should be pulled up:
Ajax Framework (Google gives http://api.drupal.org/api/group/ajax/7 as the URL)
Ajax Commands (Google gives http://api.drupal.org/api/group/ajax_commands/7 )
All the commands (Google gives http://api.drupal.org/api/function/ajax_command_after/7 for ajax_command_after)
#6
I don't see any ajax_* functions in Drupal 7. Where do you see them?
#7
Most of this is in includes/ajax.inc, including the ones that I mentioned. They were all there for months until the other day.
#8
I noticed the include file just now.
Some files are indexed, but then all in a sudden they are not anymore indexed, and then they are indexed again. The files that are not indexed seems to be randomly .
#9
There was a temporary permissions issue sometime around Nov 4. The site could not read files to index. That permissions issue and the lingering effects have been fixed. I am reparsing everything now, it should be all fixed up in about an hour.
#10
#11
Automatically closed -- issue fixed for 2 weeks with no activity.