There are multiple gerrit projects in case of group submissions. We need
to list all of them in the SR message.
TODO: list all commits, too
Change-Id: Icc896389920f4ccf942cdbdd7a70fed21d9ed997
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
commit = meta.get('git_commit') or meta['git_tag']
submitter = meta.get('submitter')
+ projects = '[' + ', '.join(meta['projects']) + ']'
message = ''
if submitter:
message = "Submitter: %s\n" % submitter
message += "Comments: %s \nGit project: %s\nTag: %s\nCommit: %s" \
% (comment or "submission %s" % str(name),
- meta['projects'][0],
+ projects,
meta['git_tag'],
commit)