? Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
30 Dec 2021

Pull Request for Issue # .

Summary of Changes

Add vendor/diff/js to the array of scripts that need minification

Testing Instructions

Without PR applied and after "composer install" and npm ci, check if there is a file media/vendor/diff/js/diff.min.js.
Result: No.
Apply the PR and run npm ci again and checked again for that file.
Result: The file is there.
Additional, optional test (requires Linux):

Fetch the branch of this PR into a local branch and run the build script for that current branch.

git fetch upstream pull/36493/head:test-pr-36493
git checkout test-pr-36493
php ./build/build.php --remote=HEAD --exclude-gzip --exclude-bzip2

Check the if the build/tmp/packages/Joomla_4.0.6-dev-Development-Full_Package.zip package contains files media/vendor/diff/js/diff.min.js and media/vendor/diff/js/diff.min.js.gz.
Result: It contains these files, while without the PR it doesn't.

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Documentation Changes Required

@richard67

avatar dgrammatiko dgrammatiko - open - 30 Dec 2021
avatar dgrammatiko dgrammatiko - change - 30 Dec 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Dec 2021
Category JavaScript Repository
avatar richard67 richard67 - test_item - 30 Dec 2021 - Tested successfully
avatar richard67
richard67 - comment - 30 Dec 2021

I have tested this item successfully on f70fac6

Tested as follows:

  1. Without PR applied and after "composer install" and "npm ci", check if there is a file "media/vendor/diff/js/diff.min.js" .
    Result: No.
  2. Apply the PR and run "npm ci" again and checked again for that file.
    Result: The file is there.

Additional, optional test (requires Linux):

  1. Fetch the branch of this PR into a local branch and run the build script for that current branch.
git fetch upstream pull/36493/head:test-pr-36493
git checkout test-pr-36493
php ./build/build.php --remote=HEAD --exclude-gzip --exclude-bzip2
  1. Check the if the "build/tmp/packages/Joomla_4.0.6-dev-Development-Full_Package.zip" package contains files "media/vendor/diff/js/diff.min.js" and "media/vendor/diff/js/diff.min.js.gz".
    Result: It contains these files, while without the PR it doesn't.

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36493.
avatar richard67
richard67 - comment - 30 Dec 2021

@dgrammatiko Maybe you can add the first part in the comment of my test result to your testing instructions. The 2nd, optional test is not needed, I think.

avatar dgrammatiko dgrammatiko - change - 30 Dec 2021
The description was changed
avatar dgrammatiko dgrammatiko - edited - 30 Dec 2021
avatar dgrammatiko
dgrammatiko - comment - 30 Dec 2021

@richard67 done and thanks.

@wilsonge please merge this before the next release, thanks

avatar wilsonge wilsonge - change - 30 Dec 2021
Labels Added: ?
47991e1 30 Dec 2021 avatar wilsonge Alpha
avatar wilsonge wilsonge - change - 30 Dec 2021
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-12-30 12:36:46
Closed_By wilsonge
avatar wilsonge wilsonge - close - 30 Dec 2021
avatar wilsonge wilsonge - merge - 30 Dec 2021
avatar wilsonge
wilsonge - comment - 30 Dec 2021

Thanks!

Add a Comment

Login with GitHub to post a comment