FreifunkMD / site-ffmd

Freifunk Magdeburg specific Gluon configuration
Creative Commons Zero v1.0 Universal
2 stars 12 forks source link

LuCI -> gluon-web #91

Closed eriu closed 5 years ago

eriu commented 7 years ago

heute kam eine Mail mit der Ankündigung von gluon-web. Daher müssten wir für das übernächste Release unsere Config entsprechend anpassen.

Hi, with the merge of https://github.com/freifunk-gluon/gluon/pull/1007 , Gluon now doesn't use LuCI for its Config Mode anymore, but our own fork "gluon-web", which is significantly smaller (as lots of features we don't need have been removed).

In a typical Gluon build (including the locales en and de), this reduces the compressed size of the root filesystem by about 140KB. The per-language overhead for all packages in the Gluon repository is less than 4KB in total (with LuCI, it was more than 20KB).

As there are significant differences from LuCI in our fork, all Config Mode Wizard / Advanced settings modules will need to be adjusted (in particular, the "luci" Lua module has been renamed to "gluon.web"). Our documentation has been updated to provide some guidelines how to develop for gluon-web, and how to migrate LuCI-based code:

http://gluon.readthedocs.io/en/latest/#gluon-web-reference

This change also requires some changes in site repositories. All "advanced settings" packages have been renamed:

gluon-luci-admin -> gluon-web-admin gluon-luci-autoupdater -> gluon-web-autoupdater gluon-luci-mesh-vpn-fastd -> gluon-web-mesh-vpn-fastd gluon-luci-node-role -> gluon-web-node-role gluon-luci-portconfig -> gluon-web-network gluon-luci-private-wifi -> gluon-web-private-wifi gluon-luci-wifi-config -> gluon-web-wifi-config

In addtion, i18n templates containing Lua code will need adjustments if the "escape" or "urlescape" functions are used; they have been dropped in favour of the "pcdata" and "urlencode" functions from LuCI (that do exactly the same thing).

-- NeoRaider

Vitapower87 commented 7 years ago

aber erst auf Basis von Lede 👍