-
Notifications
You must be signed in to change notification settings - Fork 127
Create "update:check-modules" command #1528
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
Conversation
a2f9e2e to
8a74759
Compare
8a4af39 to
552a74d
Compare
552a74d to
e825e02
Compare
|
04cada2 to
3015162
Compare
| /** @var Translator */ | ||
| private $translator; | ||
|
|
||
| const ADDONS_API_URL = 'https://api.addons.prestashop.com'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This constant will be set two times in the project, here and in classes/UpgradeTools/Module/Source/Provider/MarketplaceSourceProvider.php. Can we merge them in a single constant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
AureRita
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @M0rgan01
Thank you for your PR, I tested it and it seems to works as you can see :
Capture.video.du.2026-01-08.17-29-20.mp4
Command tested :
php bin/console update:check-modules --help ✔️
php bin/console update:check-modules --zip=prestashop_9.1.0.zip admin-devphp ✔️
bin/console update:check-modules --channel=local --zip=prestashop_9.1.0.zip admin-dev ✔️
bin/console update:check-modules --channel=local admin-dev ✔️
bin/console update:check-modules --channel=online admin-dev ✔️
bin/console update:check-modules --channel=online_recommanded admin-dev ✔️
Tested on :
8.1.4
8.2.3
9.0.2
Because the PR seems to works as expected, It's QA ✅ :
Thank you



The channel can be specified (ONLINE, ONLINE_RECOMMENDED, LOCAL). An example of the output is available below. This data uses only marketplace data.
This order does not modify anything on the store; it is present for informational purposes only.
update:check-modulescommand