The dist repo changes added an extra repoInfo hub call to determine whether a repo was a dist repo in the tryDelete method. This method gets called a lot, particularly when there are a lot of repos on disk. This change ensures that kojira has the data to begin with.
Since I was there, I updated the query code in get_active_repos() and wrote a unit test for it.
The dist repo changes added an extra repoInfo hub call to determine whether a repo was a dist repo in the tryDelete method. This method gets called a lot, particularly when there are a lot of repos on disk. This change ensures that kojira has the data to begin with.
Since I was there, I updated the query code in get_active_repos() and wrote a unit test for it.