def get_chacra_repo(shaman_url):
    """
    From a Shaman URL, get the chacra url for a repository, read the
    contents that point to the repo and return it as a string.
    """
    shaman_response = get_request(shaman_url)
    chacra_url = shaman_response.geturl()
    chacra_response = get_request(chacra_url)

    return chacra_response.read()