Skip to content

[UCT] Cover themes scanning/reporting for the Tools > Run The Upgrade Compatibility Tool #1023

@bohdan-harniuk

Description

@bohdan-harniuk

For now only real-time UCT inspections are available for the themes in the Magento 2.

We should add themes support of the UCT action execution.

Describe the solution you'd like (*)

⚠️ Scan themes after all modules.
Add the same heading as for the module for each module inside a theme:

Screenshot 2022-03-04 at 11 09 53

Above add a heading with the theme name, as for an ex.:

Theme Name: frontend/Testgento/store
--------------------

Maybe we should add separate setting to specify path to the theme folder:

Screenshot 2022-03-04 at 11 20 19

⚠️ Update summary information to include number of scanned modules in the themes, number of scanned themes.
⚠️ Scanned themes must be included in the upgrade complexity scores.

Describe alternatives you've considered

N/A. But any ideas will be appreciated.

Additional context

Module locator: com.magento.idea.magento2uct.util.module.UctModuleLocatorUtil
Output util: com.magento.idea.magento2uct.execution.output.UctReportOutputUtil
Report builder: com.magento.idea.magento2uct.execution.output.ReportBuilder

Mainline branch: mainline/uct-1023-theme-scanning-feature

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions