View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5748 | Composr | General / Uncategorised | public | 2024-05-01 02:50 | 2024-07-22 21:05 |
Reporter | PDStig | Assigned To | PDStig | ||
Priority | normal | Severity | feature | ||
Status | resolved | Resolution | fixed | ||
Summary | 5748: Add UI to apply hotfixes in Composr | ||||
Description | In upgrader.php, add an option to upload and apply a hotfix TAR. I'm finding for example in my Control Panel Plesk, it is very difficult to quickly apply a hotfix. It does not like the TAR files generated by Composr. When using ZIP files, instead of extracting into root, it creates a new directory with the same name as the ZIP and dumps the files there. And when trying to move the files out, it will not allow that since the directories already exist. Some people might face similar challenges on other CPs, so we should have a convention available to apply hotfixes in Composr. | ||||
Tags | Roadmap: v11 | ||||
Attach Tags | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Here's what I did... Instead of adding a new option in the upgrader for applying a hotfix, I simply modified the upgrader so that it can accept and handle hotfix TARs as if you were doing a manual upgrade. So you can run upgrader.php, and on step 5, use the hotfix TAR as the file (URL now supports relative paths if you start it with a /). Just like with an upgrade, the upgrader will extract files as necessary skipping over files belonging to addons you do not have installed or files which you manually edited more recently than what is in the hotfix. This will be available starting alpha3. |
|
This is probably okay, but I am wary with the idea of making hot fix installation easy. Users need to have a level of expertise so we know they know what they are doing. Otherwise we are giving people enough rope to hang themselves. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-05-01 02:50 | PDStig | New Issue | |
2024-05-01 02:50 | PDStig | Status | Not Assigned => Assigned |
2024-05-01 02:50 | PDStig | Assigned To | => user4172 |
2024-05-01 02:50 | PDStig | Tag Attached: Roadmap: v11 | |
2024-05-06 23:20 | PDStig | Status | Assigned => Closed |
2024-05-06 23:20 | PDStig | Resolution | open => fixed |
2024-05-06 23:20 | PDStig | Note Added: 0008753 | |
2024-05-06 23:20 | PDStig | Note Edited: 0008753 | |
2024-05-06 23:20 | PDStig | Status | Closed => Resolved |
2024-05-06 23:21 | PDStig | Note Edited: 0008753 | |
2024-07-22 21:05 | Chris Graham | Note Added: 0008872 |