Can I tag a feature request to this thread?
I thought it would be good to show the additional emoncms-modules installed, We have the PHP modules shown but not emoncms.
It would be easy to simply list the content of the emoncms/Modules folder, but it would be nicer to either show only the additionally installed modules or better still to highlight the additionally installed non-core modules so it can be seen which are core and which have been added…
I use a simple bash script for updating emoncms that tests for the existence of a .git sub-folder in each folder in emoncms/Modules.
#!/bin/sh EMONCMS_DIR=/var/www/html/emoncms printf "\nUpdate emoncms....\n" git -C $EMONCMS_DIR pull for M in $EMONCMS_DIR/Modules/* do if [ -d "$M/.git" ]; then printf "\nUpdate emoncms/$(basename $M)....\n" git -C $M pull fi done
I was thinking we could just see a “Modules” entry in the emoncms section below the current “Version” entry, just highlighting the additional Modules in bold would work well eg
admin . app . dashboard . device . eventp . feed . graph . input . myip . process . schedule . time . user . vis
Another approach would be to just hardcode the core modules into the function as my method of testing for a .git can be tripped up by manually added modules, in my example above “myip” incorrectly appears to be a core Module because it has no .git sub-folder, an alternative test to check for an entry in emoncms/.gitignore might also work but may also complicate things.