Generate the repositories.