hhuijser / evp-portlet-upgrade

0 stars 0 forks source link

[lugbot] Added portalPropertiesPaths to Lugbot configuration file. #8

Closed lugbot closed 3 years ago

lugbot commented 3 years ago

Lugbot has created this PR to add a portalPropertiesPaths setting in Lugbot config file.

merge advice

In order for Lugbot to help with upgrading portal properties, the location of portal-*.properties files must be specified. Here is an example .liferay/lugbot.yaml file.

currentVersion: "6.2"
upgradeVersion: "7.3"
workspacePath: "liferay-workspace/"
portalPropertiesPath:
  - "configs/qa/portal-ext.env.properties"
  - "configs/dev/portal-ext.env.properties"
  - "configs/common/portal-ext.properties"

When you specify a portalPropertiesPath as shown above, Lugbot will scan that properties file and analyze those properties and report which ones must be upgraded along with advice for how to perform the upgrade. Here is a sample report of Lugbot’s analysis.

**Properties to review in configs/prod/portal-ext.properties:**
index.read.only
    MODULARIZE AS OSGI - This property matches with the following OSGI config, select the most appropriate:
        - suppressIndexReadOnly from com.liferay.portal.search.internal.index.IndexStatusManagerInternalConfiguration

custom.property
    ANALYZE - No Liferay property, check if you still need it

breadcrumb.display.style.default
    MODULARIZE AS OSGI - Use ddmTemplateKeyDefault in com.liferay.site.navigation.breadcrumb.web.internal.configuration.SiteNavigationBreadcrumbWebTemplateConfiguration. More information at Breaking Changes for Liferay 7: https://dev.liferay.com/develop/reference/-/knowledge_base/7-0/breaking-changes#replaced-the-breadcrumb-portlets-display-styles-with-adts

buffered.increment.enabled
    ANALYZE - This property is not present in thew new portal.properties. Check if you still need it or check the documentation to find a replacement

**Properties to review in configs/uat/portal-ext.properties:**
index.read.only
    MODULARIZE AS OSGI - This property matches with the following OSGI config, select the most appropriate:
        - suppressIndexReadOnly from com.liferay.portal.search.internal.index.IndexStatusManagerInternalConfiguration

custom.property
    ANALYZE - No Liferay property, check if you still need it
--- :information_source: The upgrades provided in this PR will not be tried again until the branch test0106 is deleted.