In general, project-specific config should be kept with project configs; there is no need to keep a list of projects in the service config.
Discussion in:
https://groups.google.com/a/google.com/forum/#!topic/luci-eng/zMZ3e8fnrUw
Concrete steps to take to make this change:
- Add new fields to ProjectConfig, include support for multiple repos
- Edit all existing project configs to include relevant info
- Change Tricium Gerrit poller to fetch project configs from luci-config using the "get_project_configs" API
- Change Tricium Gerrit poller to iterate through all Gerrit instances for each project (after this is done, bug 823940 should be done, we will support multiple repos per project).
- Make sure all handlers use the repo/gerrit details from the project configs, not from the service config
- Remove all project details from service configs
- Remove ProjectDetails from Tricium config proto
Comment 1 by bugdroid1@chromium.org
, Mar 23 2018