Normalizing a repository