Rollback some changes
repoList() fetches the idle time
Factorize code