infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
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
                 URL: https://issues.apache.org/jira/browse/INFRA-16469
             Project: Infrastructure
          Issue Type: Improvement
          Components: Buildbot
         Environment: https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects
            Reporter: Sebb


The Buildbot configuration files under
https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects
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
(v7.6.3#76005)

Mime
View raw message