'Iterate through repositories in storage
This helper is useful for building an initial database for
your search index.  Yields dictionaries:
{\'name\': name, \'description\': description}'

def _walk_storage(self, store):

    try:
        namespace_paths = list(store.list_directory(path=store.repositories))
    except exceptions.FileNotFoundError:
        namespace_paths = []
    for namespace_path in namespace_paths:
        namespace = namespace_path.rsplit('/', 1)[(-1)]
        try:
            repository_paths = list(store.list_directory(path=namespace_path))
        except exceptions.FileNotFoundError:
            repository_paths = []
        for path in repository_paths:
            repository = path.rsplit('/', 1)[(-1)]
            name = '{0}/{1}'.format(namespace, repository)
            description = None
            (yield {'name': name, 'description': description})
