jeedom / core

Software for home automation
https://www.jeedom.com
GNU General Public License v2.0
388 stars 318 forks source link

Exclude node_modules folders from backup #2692

Closed NebzHB closed 3 months ago

NebzHB commented 3 months ago

like python_venv, node_modules should be excluded from backups.

it increases the backup unnecessary. it avoid plugins to detect the dependancies should be reinstalled automatically. it forces users to restart dependancies manually instead of automatically : bad user experience.

zoic21 commented 3 months ago

Hello, It's not work like it does. It's create sometimes an empty folder and with default jeedom verification system when folder is present it's say dependance ok. After restore all dependance are ok but in reality it's just empty folder and user need to go on each plugin to relaunch dependance.

I know I have work on it to fix that in next release.

NebzHB commented 3 months ago

Hello, So it's a fix to make in some plugins, not in core... or you affect all plugins !

zoic21 commented 3 months ago

Hello, It's affect all plugin which use the jeedom standard

zoic21 commented 3 months ago

Fix here : https://github.com/jeedom/core/commit/4b969a98253439ac1c7c38fa855eaefa3ed3fe17