'Return a list of dictionaries defining repositories that are required by the repository
associated with self.repository_id.'

def get_repo_info_dicts(self):

    rdim = RepositoryDependencyInstallManager(self.app)
    repository = repository_util.get_repository_in_tool_shed(self.app, self.repository_id)
    repository_metadata = metadata_util.get_repository_metadata_by_changeset_revision(self.app, self.repository_id, self.changeset_revision)
    toolshed_base_url = str(web.url_for('/', qualified=True)).rstrip('/')
    rb = RelationBuilder(self.app, repository, repository_metadata, toolshed_base_url)
    rb.set_filter_dependencies_needed_for_compiling(False)
    repository_dependencies = rb.get_repository_dependencies_for_changeset_revision()
    repo = hg_util.get_repo_for_repository(self.app, repository=self.repository, repo_path=None, create=False)
    ctx = hg_util.get_changectx_for_changeset(repo, self.changeset_revision)
    repo_info_dict = {}
    repo_info_dict[str(repository.name)] = (str(self.repository.description), common_util.generate_clone_url_for_repository_in_tool_shed(self.user, self.repository), str(self.changeset_revision), str(ctx.rev()), str(self.repository.user.username), repository_dependencies, None)
    all_required_repo_info_dict = rdim.get_required_repo_info_dicts(self.tool_shed_url, [repo_info_dict])
    all_repo_info_dicts = all_required_repo_info_dict.get('all_repo_info_dicts', [])
    return all_repo_info_dicts
