cloudsmith/geppetto — Issue #217: Handle variables in the settings:: namespace
Author: hlindberg
Created: 2011-10-24 08:56:29+00:00
State: open
Labels: validator

All master settings are available as variables in the settings:: namespace. This is problematic for Geppetto since it is expected that all fully qualified variables are known.

It is also not a very good idea to introduce a class or definition called "settings" as it would (probably) mask the variables available by default in this namespace.

It seems difficult to add a complete static enumeration of all possible settings variables.

A solution is to export with an asterisk - i.e. "settings::*" and let this be a signal to cross linking that the existence can not be determined until runtime. This makes it possible to enumerate well-known variables, and potentially find misspelled references.