Repository training