adding and checking a repository for the next training program