make repo config more generic