Skip to content
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

[FEATURE] manifest.json: Auto-fill supportedLocales #957

Merged
merged 1 commit into from
Jul 12, 2024

[FEATURE] manifest.json: Auto-fill supportedLocales

c423ade
Select commit
Loading
Failed to load commit list.
Merged

[FEATURE] manifest.json: Auto-fill supportedLocales #957

[FEATURE] manifest.json: Auto-fill supportedLocales
c423ade
Select commit
Loading
Failed to load commit list.
Azure Pipelines / SAP.ui5-builder failed Jul 12, 2024 in 10m 53s

Build #20240712.15 had test failures

Details

Tests

  • Failed: 32 (0.50%)
  • Passed: 6,328 (99.50%)
  • Other: 0 (0.00%)
  • Total: 6,360
Code coverage

  • 2263 of 2483 branches covered (91.14%)
  • 3991 of 4109 lines covered (97.13%)

Annotations

Check failure on line 2443 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / SAP.ui5-builder

Build log #L2443

Bash exited with code '1'.

Check failure on line 2443 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / SAP.ui5-builder

Build log #L2443

Bash exited with code '1'.

Check failure on line 2443 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / SAP.ui5-builder

Build log #L2443

Bash exited with code '1'.

Check failure on line 2443 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / SAP.ui5-builder

Build log #L2443

Bash exited with code '1'.

Check failure on line 1 in #278 builder › builder › Build library.o with terminologies and supportedLocales

See this annotation in the file changed.

@azure-pipelines azure-pipelines / SAP.ui5-builder

#278 builder › builder › Build library.o with terminologies and supportedLocales

Test failed
Raw output
          ---
            name: AssertionError
            assertion: t.is()
            details: {"Difference (- actual, + expected):":"  `//@ui5-bundle library/o/library-preload.js␊\n  /*!␊\n   * Some fancy copyright␊\n   */␊\n  sap.ui.predefine(\"library/o/library\", [\"sap/ui/core/Core\"],e=>{\"use strict\";sap.ui.getCore().initLibrary({name:\"library.o\",version:\"1.0.0\",dependencies:[]});return thisLib});␊\n  sap.ui.require.preload({␊\n- \t\"library/o/manifest.json\":'{\"_version\":\"1.58.0\",\"sap.app\":{\"id\":\"library.o\",\"type\":\"library\",\"embeds\":[],\"applicationVersion\":{\"version\":\"1.0.0\"},\"title\":\"{{title}}\",\"description\":\"{{description}}\",\"resources\":\"resources.json\",\"offline\":true},\"sap.ui\":{\"technology\":\"UI5\",\"supportedThemes\":[]},\"sap.ui5\":{\"dependencies\":{\"libs\":{}},\"library\":{\"i18n\":{\"bundleUrl\":\"messagebundle.properties\",\"terminologies\":{\"sports\":{\"bundleUrl\":\"sports.properties\",\"bundleUrlRelativeTo\":\"manifest\"},\"travel\":{\"bundleUrl\":\"travel.properties\",\"bundleUrlRelativeTo\":\"manifest\"}},\"enhanceWith\":[{\"bundleUrl\":\"myfolder1/i18n.properties\",\"bundleUrlRelativeTo\":\"manifest\",\"terminologies\":{\"sports\":{\"bundleUrl\":\"myfolder1/soccer.properties\",\"bundleUrlRelativeTo\":\"manifest\"},\"travel\":{\"bundleUrl\":\"myfolder1/vehicles.properties\",\"bundleUrlRelativeTo\":\"manifest\"}}},{\"bundleUrl\":\"myfolder2/i18n.properties\",\"bundleUrlRelativeTo\":\"manifest\",\"terminologies\":{\"travel\":{\"bundleUrl\":\"myfolder2/bicycles.properties\",\"bundleUrlRelativeTo\":\"manifest\"}}}]}}}}'␊\n+ \t\"library/o/manifest.json\":'{\"_version\":\"1.58.0\",\"sap.app\":{\"id\":\"library.o\",\"type\":\"library\",\"embeds\":[],\"applicationVersion\":{\"version\":\"1.0.0\"},\"title\":\"{{title}}\",\"description\":\"{{description}}\",\"resources\":\"resources.json\",\"offline\":true},\"sap.ui\":{\"technology\":\"UI5\",\"supportedThemes\":[]},\"sap.ui5\":{\"dependencies\":{\"libs\":{}},\"library\":{\"i18n\":{\"bundleUrl\":\"messagebundle.properties\",\"terminologies\":{\"sports\":{\"bundleUrl\":\"sports.properties\",\"bundleUrlRelativeTo\":\"manifest\",\"supportedLocales\":[\"\",\"de\",\"en\"]},\"travel\":{\"bundleUrl\":\"travel.properties\",\"bundleUrlRelativeTo\":\"manifest\",\"supportedLocales\":[\"\",\"de\",\"en\"]}},\"enhanceWith\":[{\"bundleUrl\":\"myfolder1/i18n.properties\",\"bundleUrlRelativeTo\":\"manifest\",\"terminologies\":{\"sports\":{\"bundleUrl\":\"myfolder1/soccer.properties\",\"bundleUrlRelativeTo\":\"manifest\",\"supportedLocales\":[\"\",\"de\",\"en\"]},\"travel\":{\"bundleUrl\":\"myfolder1/vehicles.properties\",\"bundleUrlRelativeTo\":\"manifest\",\"supportedLocales\":[\"\",\"de\",\"en\"]}},\"supportedLocales\":[\"\",\"en\"]},{\"bundleUrl\":\"myfolder2/i18n.properties\",\"bundleUrlRelativeTo\":\"manifest\",\"terminologies\":{\"travel\":{\"bundleUrl\":\"myfolder2/bicycles.properties\",\"bundleUrlRelativeTo\":\"manifest\",\"supportedLocales\":[\"\",\"de\",\"en\"]}},\"supportedLocales\":[\"\",\"en\"]}],\"supportedLocales\":[\"\",\"de\",\"en\"]}}}}'␊\n  });␊\n  //# sourceMappingURL=library-preload.js.map␊\n  `"}
            message: resources/library/o/library-preload.js
            at: ExecutionContext.is (file:///home/vsts/work/1/s/node_modules/ava/lib/assert.js:309:16)
          ...
      

Check failure on line 1 in #279 builder › builder › Build application.o with terminologies and supportedLocales

See this annotation in the file changed.

@azure-pipelines azure-pipelines / SAP.ui5-builder

#279 builder › builder › Build application.o with terminologies and supportedLocales

Test failed
Raw output
          ---
            name: AssertionError
            assertion: t.is()
            details: {"Difference (- actual, + expected):":"  `//@ui5-bundle application/o/Component-preload.js␊\n  sap.ui.predefine(\"application/o/test\", [],()=>{test(e=>{const s=e;console.log(s)});test()});␊\n  sap.ui.require.preload({␊\n  \t\"application/o/i18n/i18n.properties\":'welcome=Hello world',␊\n  \t\"application/o/i18n/i18n_en.properties\":'welcome=Hello EN world',␊\n  \t\"application/o/i18n/i18n_en_US.properties\":'welcome=Hello EN US world',␊\n  \t\"application/o/i18n/i18n_en_US_sapprc.properties\":'welcome=Hello EN US sapprc world',␊\n- \t\"application/o/manifest.json\":'{\"_version\":\"1.22.0\",\"sap.app\":{\"id\":\"application.o\",\"type\":\"application\",\"applicationVersion\":{\"version\":\"1.0.0\"},\"title\":\"{{title}}\"},\"sap.ui5\":{\"models\":{\"i18n\":{\"type\":\"sap.ui.model.resource.ResourceModel\",\"settings\":{\"bundleName\":\"application.o.i18n.i18n\"}},\"i18n-ui5\":{\"type\":\"sap.ui.model.resource.ResourceModel\",\"settings\":{\"bundleUrl\":\"ui5://application/o/i18n/i18n.properties\"}}}}}'␊\n+ \t\"application/o/manifest.json\":'{\"_version\":\"1.22.0\",\"sap.app\":{\"id\":\"application.o\",\"type\":\"application\",\"applicationVersion\":{\"version\":\"1.0.0\"},\"title\":\"{{title}}\",\"i18n\":{\"bundleUrl\":\"i18n/i18n.properties\",\"supportedLocales\":[\"\",\"en\",\"en_US\",\"en_US_sapprc\"]}},\"sap.ui5\":{\"models\":{\"i18n\":{\"type\":\"sap.ui.model.resource.ResourceModel\",\"settings\":{\"bundleName\":\"application.o.i18n.i18n\",\"supportedLocales\":[\"\",\"en\",\"en_US\",\"en_US_sapprc\"]}},\"i18n-ui5\":{\"type\":\"sap.ui.model.resource.ResourceModel\",\"settings\":{\"bundleUrl\":\"ui5://application/o/i18n/i18n.properties\",\"supportedLocales\":[\"\",\"en\",\"en_US\",\"en_US_sapprc\"]}}}}}'␊\n  });␊\n  //# sourceMappingURL=Component-preload.js.map␊\n  `"}
            message: Component-preload.js
            at: ExecutionContext.is (file:///home/vsts/work/1/s/node_modules/ava/lib/assert.js:309:16)
          ...
      

Check failure on line 1 in #775 tasks › bundlers › generateStandaloneAppBundle.integration › integration: build application.n standalone without enabled string bundling

See this annotation in the file changed.

@azure-pipelines azure-pipelines / SAP.ui5-builder

#775 tasks › bundlers › generateStandaloneAppBundle.integration › integration: build application.n standalone without enabled string bundling

Test failed
Raw output
          ---
            name: AssertionError
            details: {"Rejected promise returned by test. Reason:":"Error {\n  message: 'Unsupported Specification Version 4.0 defined. Your UI5 CLI installation might be outdated. For details, see https://sap.github.io/ui5-tooling/pages/Configuration/#specification-versions',\n}"}
            message: Rejected promise returned by test
            at: getSemverCompatibleVersion (file:///home/vsts/work/1/s/node_modules/@ui5/project/lib/specifications/SpecificationVersion.js:293:8)
          ...
      

Check failure on line 1 in #763 tasks › bundlers › generateLibraryPreload.integration › integration: build library.n without enabled string bundling

See this annotation in the file changed.

@azure-pipelines azure-pipelines / SAP.ui5-builder

#763 tasks › bundlers › generateLibraryPreload.integration › integration: build library.n without enabled string bundling

Test failed
Raw output
          ---
            name: AssertionError
            details: {"Rejected promise returned by test. Reason:":"Error {\n  message: 'Unsupported Specification Version 4.0 defined. Your UI5 CLI installation might be outdated. For details, see https://sap.github.io/ui5-tooling/pages/Configuration/#specification-versions',\n}"}
            message: Rejected promise returned by test
            at: getSemverCompatibleVersion (file:///home/vsts/work/1/s/node_modules/@ui5/project/lib/specifications/SpecificationVersion.js:293:8)
          ...