<pre style='margin:0'>
Lawrence Velázquez (larryv) pushed a commit to branch master
in repository macports-infrastructure.
</pre>
<p><a href="https://github.com/macports/macports-infrastructure/commit/ff0f3fc41603c1f74b7ea274d48edce8182f45ac">https://github.com/macports/macports-infrastructure/commit/ff0f3fc41603c1f74b7ea274d48edce8182f45ac</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new ff0f3fc buildbot: Specify db URL in its own config setting
</span>ff0f3fc is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ff0f3fc41603c1f74b7ea274d48edce8182f45ac
</span>Author: Lawrence Velázquez <larryv@macports.org>
AuthorDate: Wed Nov 2 11:11:01 2016 -0400
<span style='display:block; white-space:pre;color:#404040;'> buildbot: Specify db URL in its own config setting
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> In general, try to avoid using collections as config values because
</span><span style='display:block; white-space:pre;color:#404040;'> overriding it requires specifying a full replacement (they don't merge).
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> In this case, we're unlikely to use c['db']['db_poll_interval'] and can
</span><span style='display:block; white-space:pre;color:#404040;'> add a separate config setting later if necessary.
</span>---
buildbot/master.cfg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/buildbot/master.cfg b/buildbot/master.cfg
</span><span style='display:block; white-space:pre;color:#808080;'>index 179ac27..0ad1549 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/buildbot/master.cfg
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/buildbot/master.cfg
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -83,7 +83,7 @@ config = {
</span>
# Database
# (http://docs.buildbot.net/0.8.12/manual/cfg-global.html#database-specification)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 'db': {'db_url': 'sqlite:///state.sqlite'},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'db_url': 'sqlite:///state.sqlite',
</span>
# Data lifetime
# (http://docs.buildbot.net/0.8.12/manual/cfg-global.html#data-lifetime)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -872,7 +872,7 @@ c['buildbotURL'] = config['buildboturl']
</span>
# This specifies what database buildbot uses to store its state. You can
# leave this at its default for all but the largest installations.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-c['db'] = config['db']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+c['db'] = {'db_url': config['db_url']}
</span>
####### DATA LIFETIME #######
</pre><pre style='margin:0'>
</pre>