In this thread is a starter Drupal 8 upgrade patch against 7.x-2.4, let me know if you need to re-roll this if does not apply.

It's working on the current Drupal 8 release for many operations. Someone will need to check the database tables dumped to make sure all is good and try a restore for different tables, etc. (i.e. test).

I'll post the patch below.

Thank you.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

darrell_ulm’s picture

Here is the patch attached.

Ah, lemme, repost, there was some extra spaces, and need to deal with cache_clear.

darrell_ulm’s picture

OK, here is another cleaner go.

Drupal 8 upgrade patch attached.

ronan’s picture

Version: 7.x-2.4 » 8.x-2.x-dev
Status: Patch (to be ported) » Fixed

That's great, thanks!

I didn't test the port, but the patch applied cleanly so I created a new release for 8.x.

darrell_ulm’s picture

Cool, I'll be testing it and checking the issues to see if anything pops up, assuming they will. :)

ronan’s picture

This is the release:
http://drupal.org/node/1898176

I'll publish it to the project page once the packaging script does it's magic.

Status: Fixed » Closed (fixed)

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

alexander_danilenko’s picture

I have done some work on 8.x-2.x version of module.
Results:

  • Fixed missing type: module in info.yml file. Now module appears in module list.
  • Updated define('BACKUP_MIGRATE_VERSION', '8.x-2.x');
  • All module_invoke_all() deprecated functions replaced with more D8-way Drupal::moduleHandler()->invokeAll
  • Fixed _get_db_connection()
  • There is no token_replace() in core. But there is Drupal::token(); what works perfect. Fixed.
  • Deprecated drupal_add_http_header() replaced with \Symfony\Component\HttpFoundation\Response object.

With my patch module works fine. No errors/notices appears during module usage by me. Backuping is correct, downloading of files is correct (private files still private).

Review please ;)

PS: Tested on last D8 core from git (not alpha)

alexander_danilenko’s picture

Status: Closed (fixed) » Needs review
vlad.dancer’s picture

Looks good! +1 RTBC.

Albert Volkman’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
3.52 KB

Re-roll & RTBC

ronan’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thanks!

Status: Fixed » Closed (fixed)

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