build a repo