Problem/Motivation

In hopes that we can get greater exposure to using the module, even if it is experimental (which it is), let's expose a link/button to manually update drupal core to the next minor version. This could be called an MVP for updating (manually).

Proposed resolution

No error update XML integreation. Just a link to trigger an in-place update of drupal core to the next minor version. The update will fail if there is *no* next version to update to i.e. trying to update to 8.7.10 won't work because that minor version doesn't exist.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

heddn created an issue. See original summary.

heddn’s picture

Status: Active » Needs review
FileSize
4.92 KB
heddn’s picture

Issue summary: View changes
ressa’s picture

It works perfectly, I just updated from 8.7.6 over 8.7.7 to 8.7.8 flawlessly. It updated so fast, that at first I didn't believe it worked, but it did. Nice job! I assume database updates are run as well, after the files have been replaced?

Might it be worth considering logging which files were updated, as well as database and configuration changes somewhere, so the user can track it, or would that require a lot of work?

heddn’s picture

Glad it went so smoothly for you.

This is really, really valuable feedback. I like the comments about more feedback. We should add an info log message for each file addition/deletion/modification.

No, there are no db updates in executed (yet). This is _really_ only exercising the download and apply of the update. Emphasis on "minimum" part of the MVP.

heddn’s picture

FileSize
8.25 KB
4.1 KB

  • heddn committed 990e3ae on 8.x-1.x
    Issue #3087214 by heddn, ressa: Expose manual method to update site
    
heddn’s picture

Status: Needs review » Fixed

Based on the feedback from #4, and the fact all that should be addressed... landing this thing.

ressa’s picture

Thanks for clarifying that no db updates are executed yet. I thought as much, and can now actually also see it, since after updating from 8.7.4 to 8.7.8, I get presented with an option to update, if I visit update.php or run drush updatedb.

Status: Fixed » Closed (fixed)

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