add auto feature to reposetup, to compliment with reposync