Create "update:check-modules" command#1528
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.
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?
|
AureRita
left a comment
There was a problem hiding this comment.
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