Allow the default project change list query to be customized
Change-Id: I84a5f701db52425ddbeac566eed45889a98a685b
This commit is contained in:
@@ -89,6 +89,7 @@ class ConfigSchema(object):
|
||||
'commentlinks': self.commentlinks,
|
||||
'dashboards': self.dashboards,
|
||||
'reviewkeys': self.reviewkeys,
|
||||
'change-list-query': str,
|
||||
})
|
||||
return schema
|
||||
|
||||
@@ -141,6 +142,8 @@ class Config(object):
|
||||
text="{url}",
|
||||
url="{url}"))])))
|
||||
|
||||
self.project_change_list_query = self.config.get('change-list-query', 'status:open')
|
||||
|
||||
self.dashboards = OrderedDict()
|
||||
for d in self.config.get('dashboards', []):
|
||||
self.dashboards[d['key']] = d
|
||||
|
||||
Reference in New Issue
Block a user