On 26/03/14 01:45 PM, Nathan Froyd wrote:
----- Original Message -----
Releng (and I tend to agree with them) is very opposed to having one
config affect multiple platforms (or at least multiple buildapps). Over
time it tends to lead to messy and hard to follow configs. It also makes
it harder in the case that you *do* only want to change a single platform.

This seems like an inconsistent position, since we already have per-platform 
configs with included files for mozconfigs.  And that seems to work OK.

-Nathan

I may have misinterpreted gps' original question. I'm not opposed to having everything live in one file, but I am opposed to having config options shared across different platforms.

If the general consensus is that having something like:

mozharness_config.py:
config = {
    'linux': {
        'mochitest_options': [ ... ],
        'reftest_options': [ ... ],
         ...
    }
    'windows': {
        'mochitest_options': [ ... ],
        'reftest_options': [ ... ],
        ...
    }
    ...
}

is easier than the multi-file approach, then I'm ok with that. The downside to this is that if we port more configuration from mozharness to the tree, this file would get pretty large.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to