Skip to content
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

Autoupgrade with given module archive #30723

Open
3 of 6 tasks
sowbiba opened this issue Jan 3, 2023 · 2 comments
Open
3 of 6 tasks

Autoupgrade with given module archive #30723

sowbiba opened this issue Jan 3, 2023 · 2 comments
Labels
Autoupgrade Module: autoupgrade BO Category: Back Office Feature Type: New Feature Module Module Needs Specs Status: issue needs to be specified

Comments

@sowbiba
Copy link
Contributor

sowbiba commented Jan 3, 2023

Prerequisites

Is your feature request related to a problem?

Sometimes we need to upgrade (with autoupgrade module) PrestaShop with a custom module archive, not given by addons

This need can be justified by

  • Upgrade with a specific version, not the latest one which can be buggy or doesn't fit the user's need
  • Module developper who wants to correct a bug that impacts the autoupgrade process

Describe the solution you'd like

The suggested solution is to use the same logic as autoupgrade with a PS zip file : The user gives a module zip in a specific folder and expects that this archive will be used instead of calling addons

Alternatives you've considered

No response

Additional context

No response

Do you plan to work on this feature?

  • I'm willing to contribute a formal specification.
  • I'm willing to provide any wireframes or design assets required for this feature.
  • I'm willing to submit a Pull Request that implements this feature.
  • I'm willing to help verify that the implemented feature works as intended and produces no unintended side effects.
@sowbiba sowbiba added Feature Type: New Feature New New issue not yet processed by QA Autoupgrade Module: autoupgrade labels Jan 3, 2023
@AureRita
Copy link
Contributor

AureRita commented Jan 3, 2023

Hi @sowbiba ,

Thank you for your suggestion. The Maintainer Team will take it into consideration for future developments.

Please be aware that there is no guarantee that this feature will be developed anytime soon.

Waiting for your PR 🚀

Thank you

@AureRita AureRita added BO Category: Back Office Needs Specs Status: issue needs to be specified Module Module and removed New New issue not yet processed by QA labels Jan 3, 2023
@Quetzacoalt91
Copy link
Member

At the moment, the autoupgrade process unzips modules provided in the archive to the modules/ folder. The current solution is to provide the modules you need to upgrade into the PrestaShop archive.

But you're right, as the upgrade already has to deal with several sources of modules upgrades (distribution API, Addons API...) we could allow more sources to be added in the config (local ones...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Autoupgrade Module: autoupgrade BO Category: Back Office Feature Type: New Feature Module Module Needs Specs Status: issue needs to be specified
Projects
None yet
Development

No branches or pull requests

3 participants