prepare repo