Scan a repository