Simple Machines Community Forum

SMF Development => Feature Requests => Topic started by: Kindred on June 24, 2022, 07:20:36 AM

Title: add a package file to the upgrade archive
Post by: Kindred on June 24, 2022, 07:20:36 AM
Quote from: Kindred on June 24, 2022, 07:13:39 AMHowever, as this is an ongoing confusion, maybe we should add a package identifier file which doesn't do the upgrade but does fail gently with a clear error/instruction......

Now that I'm at a computer (edit) with explanation.

Many people try to use the package manager to install a major upgrade.
The proposal is to add a package manager identified file to the "large" Upgrade Archive which the package manager uses to tell the user "This is a major upgrade, it must be done outside of the package manager. Please see the Major Upgrade FAQ on SimpleMachines.org" (or something along those lines)
Title: Re: add a package file to the upgrade archive
Post by: Aleksi "Lex" Kilpinen on June 24, 2022, 07:45:38 AM
Definitely a good idea IMO.
Title: Re: add a package file to the upgrade archive
Post by: Arantor on June 24, 2022, 08:23:51 AM
The upgrader will also need to house clean it once run since you'll need to put it in the top level (where index.php lives). But not a big job.
Title: Re: add a package file to the upgrade archive
Post by: Doug Heffernan on June 24, 2022, 08:49:01 AM
This has my vote too. I have seen many a case when users were trying to do a major upgrade through the Package Manager.
Title: Re: add a package file to the upgrade archive
Post by: Sesquipedalian on July 18, 2022, 12:48:14 PM
Good idea.