? Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
11 Sep 2021

Pull Request for Issue # .

Summary of Changes

Do not exit if composer install was not executed and there is a system variable TRANSLATION_BOT with a value YES

Basically, this allows the translation bot to create the error pages by skipping the composer part

Testing Instructions

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Documentation Changes Required

@wilsonge a simple review should be enough here, it solves the issue #35379 (comment)

avatar dgrammatiko dgrammatiko - open - 11 Sep 2021
avatar dgrammatiko dgrammatiko - change - 11 Sep 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Sep 2021
Category JavaScript Repository
avatar dgrammatiko dgrammatiko - change - 11 Sep 2021
Labels Added: ?
avatar dgrammatiko dgrammatiko - change - 11 Sep 2021
The description was changed
avatar dgrammatiko dgrammatiko - edited - 11 Sep 2021
avatar dgrammatiko dgrammatiko - change - 11 Sep 2021
The description was changed
avatar dgrammatiko dgrammatiko - edited - 11 Sep 2021
avatar HLeithner
HLeithner - comment - 11 Sep 2021

looks odd can we add parameter something like --no-vendor-cleanup ? so it's more generic?

avatar dgrammatiko
dgrammatiko - comment - 11 Sep 2021

looks odd can we add parameter something like --no-vendor-cleanup ? so it's more generic?

ENV vars can be used for the same result. If we go with the --no-vendor-cleanup option in the script we have to add one more procedure in the build.js, basically the ENV way is shorter. That said if you insist I can refactor the build.js to accept --no-vendor-cleanup and do the same

avatar HLeithner
HLeithner - comment - 11 Sep 2021

ok then ENV but please change the name ;-)

avatar dgrammatiko
dgrammatiko - comment - 11 Sep 2021

ok then ENV but please change the name ;-)

Give me an alternative, I'm not good at naming things

How about SKIP_COMPOSER_CHECK?

avatar HLeithner HLeithner - change - 11 Sep 2021
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-09-11 13:56:42
Closed_By HLeithner
avatar HLeithner HLeithner - close - 11 Sep 2021
avatar HLeithner HLeithner - merge - 11 Sep 2021
avatar HLeithner
HLeithner - comment - 11 Sep 2021

Thanks

avatar dgrammatiko
dgrammatiko - comment - 11 Sep 2021

@HLeithner joomla-translation-bot#4

the value is case sensitive

Add a Comment

Login with GitHub to post a comment