liquid_feedback_frontend

diff env/lf4rcs/get_config.lua @ 1219:30523f31b186

Added lf4rcs module and example configuration
author bsw
date Mon Nov 30 19:40:38 2015 +0100 (2015-11-30)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/env/lf4rcs/get_config.lua	Mon Nov 30 19:40:38 2015 +0100
     1.3 @@ -0,0 +1,8 @@
     1.4 +function lf4rcs.get_config(unit)
     1.5 +  if not unit.external_reference then
     1.6 +    error("Unit is not configured for lf4rcs")
     1.7 +  end
     1.8 +  local repository, path, url = string.match(unit.external_reference, "([^ ]+) ([^ ]+) (.*)")
     1.9 +  return repository, path, url
    1.10 +end
    1.11 +

Impressum / About Us