Add per repo mirror type, and use the repo all over the place