You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current format requires that we specify each program on a single line with additional supervisord options in between (...) parenthesis in the 'right' location. The recipe parses these lines using a regex.
There are, however, several supervisord options for program sections that accept %(...)s variable substitutions, and those substitutions have ( and ) characters in them. The regex is not sophisticated enough to handle these, so any use of variables in supervisord options breaks the format.
Rather than cram everything into a single line, the format should really accept buildout section names; e.g.
The parser would split the programs section by whitespace to then load each program configuration from buildout[sectionname] (validating that certain required keys are present).
This would make it much more flexible and powerful, the above example uses a shared section that is pulled into each program section to avoid repetition.
A short-term solution would be to at least fix the regex pattern to allow for %(\w+)s values inside the (... opts ...) section.
The text was updated successfully, but these errors were encountered:
The current format requires that we specify each program on a single line with additional supervisord options in between
(...)
parenthesis in the 'right' location. The recipe parses these lines using a regex.There are, however, several supervisord options for program sections that accept
%(...)s
variable substitutions, and those substitutions have(
and)
characters in them. The regex is not sophisticated enough to handle these, so any use of variables in supervisord options breaks the format.Rather than cram everything into a single line, the format should really accept buildout section names; e.g.
The parser would split the
programs
section by whitespace to then load each program configuration frombuildout[sectionname]
(validating that certain required keys are present).This would make it much more flexible and powerful, the above example uses a shared section that is pulled into each program section to avoid repetition.
A short-term solution would be to at least fix the regex pattern to allow for
%(\w+)s
values inside the(... opts ...)
section.The text was updated successfully, but these errors were encountered: