This is a port of the back-end of Drupal core to D6. This will allow us to install a standard Drupal 6 site on the already existing framework.

Although theoretically major upgrades should work at this stage (d5 - > d6), they will be disabled for now until we have adequate time to do more testing.

CommentFileSizeAuthor
#1 provision d6 coder review.pdf95.29 KBadrian
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

adrian’s picture

Here is the coder upgrade report for D6.

Note that this does not tackle the install specific code in platform_drupal.module (installing modules, triggering the schema etc).

The heavy lifting in platform_drupal is taken from install.php, and that file has changed significantly :
http://cvs.drupal.org/viewvc.py/drupal/drupal/install.php?r1=1.113.2.6&r...

adrian’s picture

Here's a reference to code which does this.

Needs to be merged with our changes (logging etc).

http://groups.drupal.org/node/8730#comment-27700

adrian’s picture

Status: Active » Needs work

I just got provision running in Drupal 6 by using the HEAD version of the deadwood module.

1. Set up a new drupal 6 site, completely separate to your aegir install
2. Download the HEAD version of http://drupal.org/project/deadwood (you need to do this through cvs, it doesn't get packaged) and install it
3. Copy (or make a symlink to ) your copy of the latest HEAD of provision module to $d6path/sites/default/files/deadwood
4. Go to admin/build/deadwood and select all the files, but remove the 'New module_load_include() and module_load_all_includes() functions for developers' and 'New ip_address() function when working behind proxies' fixes
5. Run the conversion on the module, and take the copy generates in sites/default/files/goodwood and place it (or link it ) in your sites/all/modules of the drupal 6 site.
6. Edit the generated provision.module and underneath :

function provision_configure_submit($form, &$form_state) {

add

  $values = $form_state['values'];

7. Enable provision and it's other modules in admin/build/modules

It's now working.

Deadwood is quite an impressive feat of work.

The main problem now is, to test this properly, we need to have multi-platform support.

adrian’s picture

Forgot to add the provision verify command works, once you've change admin/settings/provision.

provision install site.com still doesn't work, as we need to port the new install.php code to it (as mentioned above)

I'm quite happy we managed to keep a reliance on hosting out of provision =P

adrian’s picture

After getting multi-platforms kind of working (http://drupal.org/node/278674), i tried adding the Drupal 6 based platform to the host, just to see what would happen.

It seems to generate the right output, but when it is serialized, it can't be unserialized. I haven't figured out exactly wtf is going on yet.

I will be creating a DRUPAL-5 branch this week, to which we will be adding fixes towards our 0.1 release, this will free us up to start work on a D6 branch (or more likely in HEAD at first).

Big thing I want to get out of the way first is at least basic multi-platform support (http://drupal.org/node/278674) which has only one main requirement : (http://drupal.org/node/321953)

adrian’s picture

I now have a working d6 installation routine, and verification routine.

adrian’s picture

installs acquia too

adrian’s picture

http://drupal.org/node/324066 and http://drupal.org/node/321946 are the two tickets i would like to see resolved before making a D6 branch for provision

adrian’s picture

Status: Needs work » Fixed

This is done.

spent yesterday getting profiles and locale fully supported

batchapi is a harsh mistress.

anarcat’s picture

Project: Hostmaster (Aegir) » Provision

put in the right project.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

  • Commit 20958e7 on debian, dev-dns, dev-envobject, dev-koumbit, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newhooks, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-restore, dev-services, dev-simplerinstaller, dev-site_rename, dev-ssl, dev_716166_apache_conf, dev_dns, dev_server_verify, prod-koumbit, ssl, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x authored by adrian:
    #319271 - provision backend port committed to HEAD
    
    
  • Commit 2e064a8 on debian, dev-dns, dev-envobject, dev-koumbit, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newhooks, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-restore, dev-services, dev-simplerinstaller, dev-site_rename, dev-ssl, dev_716166_apache_conf, dev_dns, dev_server_verify, prod-koumbit, ssl, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x authored by adrian:
    #319271 - missing welcome_mail file added back in