infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Created] (INFRA-16469) Naming convention to avoid Buildbot conf name clashes
Date Tue, 01 May 2018 09:27:00 GMT
Sebb created INFRA-16469:

             Summary: Naming convention to avoid Buildbot conf name clashes
                 Key: INFRA-16469
             Project: Infrastructure
          Issue Type: Improvement
          Components: Buildbot
            Reporter: Sebb

The Buildbot configuration files under
all share the same namespace.

This means that each file must use different names for its variables and functions.

One way to achieve that is to require that all names begin with a unique prefix, for example
the filename stem. These must be unique amongst *.conf files in the directory.

Some files already follow this convention, e.g. tomee.conf. It also uses procedures hide all
the local variables

It might be useful to document this approach and make it a strong requirement for new scripts.

This message was sent by Atlassian JIRA

View raw message