openenergymonitor / EmonScripts

Emoncms Stack Installation and Update scripts
16 stars 30 forks source link

Component manager - Improve components_available.json #137

Open chaveiro opened 3 years ago

chaveiro commented 3 years ago

This file https://github.com/openenergymonitor/EmonScripts/blob/658d982aa968076071d46df87ab9174d3c9df1e7/components_available.json is used directly from Modules/admin/admin_model.php components_available() function at the follow address: https://raw.githubusercontent.com/openenergymonitor/EmonScripts/stable/components_available.json

Suggest to add :

Example:

{
  "emoncms":{
    "name":"Emoncms Core",
    "description": "Some text about this module that appear on the component module list",
    "url":"https://github.com/emoncms/emoncms.git",
    "branches_available ": {"master", "stable"},
    "install_path": "%emon_path%",
    "isModule": false
  },
  "app":{
    "name":"App",
    "url":"https://github.com/emoncms/app.git",
    "description": "Some text about this module that appear on the component module list",
    "branches_available ": {"master", "stable"},
    "install_path": "",
    "isModule": true
  }
}

https://github.com/emoncms/emoncms/pull/1732

borpin commented 1 year ago

@chaveiro - this seems to have been incorporated into the new 'Components' section of the admin interface. Can this be closed as a result of that?