mozilla/configman — pull request #8 by twobraids (2011-12-12 19:05:33+00:00)
Title: fix Aggregation behavior for config files

The values of Aggregations always depend on a function on a set of Options. Therefore they should not appear in the ini and conf configuration files. Since json files can be used as a definition source, Aggregations are appropriate there, but they should never be used as a value source.

This fixes both problems by making sure that whenever the Option definition tree is walked, Aggregations are ignored at the proper time.

This patch also includes a minor bit of code rearrangement so that each of the similar code sections deal with the Options, Aggregations and Namespaces in the same order.