a modular framework for creating OpenWrt-based firmwares for wireless mesh nodes
Go to file
Matthias Schiffer 57adb49de2
gluon-core: add new gluon.site library for convenient access to optional values
The new gluon.site lua library will eventually replace gluon.site_config
(which is hereby deprecated, but will continue to be supported for a
while).

The new gluon.site library will wrap all values to allow traversing
non-existing tables without errors.

    site = require 'gluon.site'
    c = site.a.b.c -- doesn't fail even if a or a.b don't exist

The wrapped values must be unwrapped using call syntax:

    site_name = site.site_name()

Using the call syntax on a non-existing value will return nil. An
alternative default value may be passed instead:

    mac = site.next_node.mac('16:41:95:40:f7:dc')
2017-08-08 13:20:38 +02:00
contrib gluon-web: add package 2017-02-22 01:30:58 +01:00
docs docs/site-example: fix comment and syntax error (#1186) 2017-07-11 04:14:24 +02:00
overlay overlay/opkg.mk: add explanatory comment 2017-03-02 22:53:40 +01:00
package gluon-core: add new gluon.site library for convenient access to optional values 2017-08-08 13:20:38 +02:00
patches modules: update LEDE 2017-08-07 14:00:33 +02:00
scripts build: introduce GLUON_FEATURES 2017-07-09 02:31:38 +02:00
targets ar71xx-generic: add alias for Ubiquiti UniFi Mesh 2017-08-08 12:08:09 +02:00
.gitignore Use LEDE as base for Gluon 2017-01-18 17:21:43 +01:00
CONTRIBUTING.md Remove squashing from contribution guidelines (#865) 2016-09-02 19:16:28 +02:00
LICENSE Use LEDE as base for Gluon 2017-01-18 17:21:43 +01:00
Makefile build: make GLUON_FEATURES error handling compatible with older Make versions 2017-07-11 04:44:56 +02:00
modules modules: update Gluon packages 2017-08-08 04:31:52 +02:00
README.md README: fix typo 2017-07-10 22:58:15 +02:00

Documentation (incomplete at this time, contribute if you can!) may be found at http://gluon.readthedocs.org/.

If you're new to Gluon and ready to get your feet wet, have a look at the Getting Started Guide.

Gluon IRC channel: #gluon in hackint

Issues & Feature requests

Before opening an issue, make sure to check whether any existing issues (open or closed) match. If you're suggesting a new feature, drop by on IRC or our mailinglist to discuss it first.

We maintain a Roadmap for the future development of Gluon.

Use a release!

Please refrain from using the master branch for anything else but development purposes! Use the most recent release instead. You can list all releases by running git tag and switch to one by running git checkout v2017.1.1 && make update.

If you're using the autoupdater, do not autoupdate nodes with anything but releases. If you upgrade using random master commits the nodes will break eventually.

Mailinglist

To subscribe to the list, send a message to:

gluon+subscribe@luebeck.freifunk.net

To remove your address from the list, just send a message to the address in the List-Unsubscribe header of any list message. If you haven't changed addresses since subscribing, you can also send a message to:

gluon+unsubscribe@luebeck.freifunk.net