@staticmethod
def _update_metadata_with_repos(metadata, repos):
    """Update action metadata with information about repositories

        :param metadata: dict contains action metadata
        :param repos:  list of Repo objects
        :return:
        """
    for repo in repos:
        metadata.setdefault('repos', []).append({'type': 'deb', 'name':
            repo.name, 'uri': repo.uri, 'suite': repo.suite, 'section':
            repo.section, 'priority': repo.priority, 'meta': repo.meta})
