While working on #375823: Move updates.d.o to its own webroot I realized that we never actually ported project-release-serve-history.php itself to D6. There are two main things to change:

A) We need to set $_SERVER['HTTP_HOST'] = SITE_NAME; and define SITE_NAME so the bootstrapping works. Not sure how this even works in D5, to be honest. ;)

B) In D6, ip_address() is always available, so we can avoid checking for it.

I'm on it... stay tuned.

Comments

dww’s picture

Status: Active » Fixed
dww’s picture

Note, I tested the D6 version of this by configuring http://project.drupal.org/release-history to point to d6.d.o's copy of the DB and the script... if anyone else wants to test this out, you can put this in settings.php:

D6:

$conf['update_fetch_url'] = 'http://project.drupal.org/release-history';

D5:

$conf['update_status_fetch_url'] = 'http://project.drupal.org/release-history';

Status: Fixed » Closed (fixed)
Issue tags: -drupal.org upgrade

Automatically closed -- issue fixed for 2 weeks with no activity.