#2680 - Automatic (but optional) pushing of hot fixes and upgrades

Identifier #2680
Issue type Feature request or suggestion
Title Automatic (but optional) pushing of hot fixes and upgrades
Status Closed (duplicate)
Handling member Chris Graham
Addon core_upgrader
Description Have a CRON-linked script regularly checking our server for search-and-replace codified hot-fixes. It would not be for all hot fixes or git changes, just pointed fixes for major issues. The script will have strong support for doing rollbacks, either triggered by us (if we screw up) or by the user. As it uses search-and-replace and file-path wildcards we can target changes even if people are using overrides or their own hacked-up versions of files - and even target files to custom themes.

We could also push full upgrades to users if they enable 'level 2' of the system.

The script running on our server would be able to make decisions for individual sites and versions. For example, we would not upgrade v10 sites to v11 patch releases, but we might upgrade a v10 release to a later v10 release. For example, we could inject code into user's sites to be able to diagnose problems without having to request special access.

Obviously this system implies a user having a high degree of trust in ocProducts, but that's inevitable. Of course this is why we have to make the system optional.

I have attached my initial attempt at marking out the API/structure for the CRON-linked script and the interface.

Additional Information below contains side tasks we'd need to do
Steps to reproduce

Additional information Put forced checkbox in make_release script to confirm releaser will be around for the next 48 hours in IRC during their working hours.

Add option to installer for code_hot_fixer_level, but only if SuEXEC is there

Add code_hot_fixer_level config_editor.php option. Make description clear that SuEXEC is needed

Add "Automatic updates" to our feature page security section

Add new script as data/hot_fixer.php, with finished implementation and tested thoroughly

Tie in data/hot_fixer.php to data/cron_bridge.php automatically

Create initial uploads/website_specific/compo.sr/dynamic_hot_fixer.php script in composr_homesite git branch that doesn't do anything

Configure live Demonstrar system to do hot fix updates

Update lead developer guide to show basically how uploads/website_specific/compo.sr/dynamic_hot_fixer.php works. Say to test shared demo to make sure it has updated. Explain how to use wildcards so that even overrides can be updated.

Document in upgrader tutorial
Related to

#3049 - Major upgrade reimagining (including hypervisor, and default theme improvements)

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated