switch deliverable content errors to warnings

Forcing the deliverables to match the governance repo means that
sometimes patches that do not touch deliverable files fail when the
governance repo is updated. For now, convert the errors to warnings
until we can re-evaluate a better way to deal with deliverable makeup
changes.

Change-Id: I48e7f0d120f585e81e12253f7b032e7987ae48cb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2016-06-20 13:46:31 -04:00
parent d5f7dff5eb
commit c4c607b6fd

View File

@ -338,14 +338,14 @@ def main():
(filename, final_release['version'], extra)
)
print(msg)
errors.append(msg)
warnings.append(msg)
for missing in expected_repos.difference(actual_repos):
msg = (
'%s release %s is missing %s from the governance list' %
(filename, final_release['version'], missing)
)
print(msg)
errors.append(msg)
warnings.append(msg)
if warnings:
print('\n\n%s warnings found' % len(warnings))