? NPM Resource Changed Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
5 Aug 2021

Pull Request for Issue # .

Summary of Changes

  • Clean all the Joomla core media folders each time that npm install is called

Testing Instructions

Before applying the patch make a backup of your current media folder
Apply the patch
Run npm install
Compare the backup folder with the current media

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Documentation Changes Required

@wilsonge this can wait till 4.0 is released

avatar dgrammatiko dgrammatiko - open - 5 Aug 2021
avatar dgrammatiko dgrammatiko - change - 5 Aug 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Aug 2021
Category JavaScript Repository NPM Change
avatar brianteeman
brianteeman - comment - 5 Aug 2021

Considering your previous comment is it safe to remove all of vendor and should it not be vendor\xxxxx

avatar dgrammatiko
dgrammatiko - comment - 5 Aug 2021

Considering your previous comment is it safe to remove all of vendor and should it not be vendor\xxxxx

Yeah, probably I should target only the vendor folders that Joomla delivers. That said the existing code already discards the vendor folder, so I guess I need to fine-tune that part

avatar dgrammatiko dgrammatiko - change - 5 Aug 2021
Labels Added: NPM Resource Changed ?
avatar RickR2H RickR2H - test_item - 6 Aug 2021 - Tested successfully
avatar RickR2H
RickR2H - comment - 6 Aug 2021

I have tested this item successfully on a964dec


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35048.

avatar RickR2H RickR2H - test_item - 6 Aug 2021 - Tested successfully
avatar RickR2H
RickR2H - comment - 6 Aug 2021

I have tested this item successfully on a964dec

Patch works. On loding the article the description gets truncated to 160 characters.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35048.

avatar richard67
richard67 - comment - 6 Aug 2021

I have tested this item successfully on a964dec

Patch works. On loding the article the description gets truncated to 160 characters.

@RickR2H Can it be that this second test here was meant for another PR? The comment below your test result doesn't fit to this PR here.

avatar RickR2H
RickR2H - comment - 6 Aug 2021

@richard67 My browser had some hick ups. Sorry for the confusion.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35048.

avatar RickR2H RickR2H - test_item - 6 Aug 2021 - Not tested
avatar RickR2H
RickR2H - comment - 6 Aug 2021

I have not tested this item.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35048.

avatar RickR2H
RickR2H - comment - 6 Aug 2021

@dgrammatiko how can I verify that the patch works? Should there be a difference between the backed up folder and the newly generated?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35048.

avatar dgrammatiko
dgrammatiko - comment - 6 Aug 2021

how can I verify that the patch works? Should there be a difference between the backed up folder

There should be identical (assuming that the backup didn't had .gz files, if it did you need to run the npm run compress iirc)

avatar dgrammatiko
dgrammatiko - comment - 6 Aug 2021

This PR is not needed urgently so I will switch it to draft and we can check it back after the GA

avatar dgrammatiko
dgrammatiko - comment - 17 Aug 2021

@RickR2H @richard67 I've opened a new PR with the code from this one plus a replacement of a node package for the watch functionality. Please test #35198

avatar dgrammatiko dgrammatiko - change - 17 Aug 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-08-17 17:27:24
Closed_By dgrammatiko
Labels Added: ?
Removed: ?
avatar dgrammatiko dgrammatiko - close - 17 Aug 2021

Add a Comment

Login with GitHub to post a comment