- pass repoId instead of interating over all the defined repos
- respect settingsPath defined in config