New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move upgrade logic & code to Form Tools Core #101

benkeen opened this Issue Nov 13, 2017 · 0 comments


None yet
1 participant

benkeen commented Nov 13, 2017

This'll be a big change.

The existing upgrade script on is unmaintainable. It grew over time, wasn't refactored well enough over the years, covers too many scenarios, covers too many database changes and idiosyncracies.

The plan:

  • Move the upgrade script to part of the Core, found in every Form Tools installation.
  • Recreate the upgrade page in React + Redux. This is a really complex UI problem and backend just ain't gonna cut it.
  • will continue to maintain the component dependencies and contain the build package script and public custom build scripts.
  • offers the dependency information via a REST/jsonp/whatever feed. That feed structure will be standardized (no more version idiosyncracies!)
  • Installations will ping for the information and display the upgrade form internally.
  • Have the PHP scrape and install the modules directly on the user's server without needing to leave the interface.
  • Tie in the System Check module as a requirement to run after installations to confirm upgrades worked as expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment