Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-121635

Update checkoutDXPScript gradle task to check upstream remote hash before cloning from [email protected]

    Details

    • Type: Feature Request
    • Status: Completed
    • Priority: Minor
    • Resolution: Implemented in Platform
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Currently the `checkoutDXPScript` gradle task in liferay-portal/modules/profile-dxp.gradle use a single git repository url, inĀ build.xml#setup-profile-dxp the `profile.dxp.repository.url` is passed in as `[email protected]:liferay/liferay-portal-ee.git`

      This becomes a problem when the branch (i.e. master-private) isn't up-to-date on the github-dev nodes which causes builds that use `setup-profile-dxp` to fetch an out-dated master-private branch.

      If possible, we'd like the `checkoutDXPScript` task to first check the latest branch hash on the on [email protected]:liferay upstream and if the hash on github-dev is behind then we just fetch from [email protected] directly instead of going through github-dev.

        Attachments

          Activity

            People

            Assignee:
            peter.yoo Peter Yoo
            Reporter:
            yi-chen.tsai Yi-Chen Tsai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package