Now that 5.x-2.0-beta is out, the next critical step towards getting this in core is getting it working with the D6 API. My preference would be to create the DRUPAL-5--2 branch ASAP, and do this porting work directly in HEAD. Getting it working as a separate module using the D6 API seems like a great way to get this closer to a core patch, even though some things will change once this is directly in core. However, most of it will be identical once it's working in D6, so we can start there.

Attached patch handles everything except the E_ALL warnings. There are still a ton of those -- see http://drupal.org/node/153502 about that.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dww’s picture

tee hee, forgot one of the most important parts:
define('UPDATE_STATUS_CORE_VERSION', '6.x');
;)

dww’s picture

Status: Needs review » Needs work

no longer applies, i'll re-roll.

dww’s picture

Status: Needs work » Needs review
FileSize
7.76 KB
webchick’s picture

Subscribe. I'm going to need to test this. :)

dww’s picture

Status: Needs review » Needs work

needs re-roll based on recent changes. however, it'll need another once http://drupal.org/node/153741 lands, so i'm gonna wait for that before i do anything else here.

dww’s picture

Status: Needs work » Needs review
FileSize
8.03 KB

Now that 5.x-2.0-beta2 is out, seemed safe to re-roll this.

Whadaya say, merlin? When should we branch for DRUPAL-5--2 and let HEAD become the D6 playground?

dww’s picture

Keeping up with HEAD. This will break again once I commit http://drupal.org/node/124715, but I figured I should leave a fresh one here in case anyone wants to test in the mean time. ;)

Also, once this is committed, there's still the relatively large task of dealing gracefully with themes: http://drupal.org/node/124304. But, I'm keeping all such effort out of this issue and patch. Just wanted to remind people who are following this that this other thing needs to get done, too.

dww’s picture

sorry, the patch this time. ;)

dww’s picture

I committed http://drupal.org/node/124715 so here's a new version. Needs a little testing.

In addition to themes, we need to change this if http://drupal.org/node/152926 (hook_system_info_alter()) lands.

dww’s picture

FileSize
10.83 KB

New version that keeps up with update_status HEAD and takes advantage of http://drupal.org/node/144132#passing to better deal with the validation of email addresses using $form_state.

And yay!!! hook_system_info_alter() landed, so we don't need hook_version_alter() anymore in the D6 version. ;) I'll fix cvs_deploy D6 to handle that in a second.

dww’s picture

Status: Needs review » Fixed

Committed this to the newly renamed version of this module in my sandbox:

http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/dww/update

See http://drupal.org/node/153968#comment-266276 (comment #22) for more info about the new name.

Anonymous’s picture

Status: Fixed » Closed (fixed)