Closed JDougherty closed 11 years ago
The script right now runs: repositories = list(Repository.objects.all())
but perhaps it should get a list of all projects and call fetch on their repos. This ensures a repo without a project will never be fetched.
Now we only pull repositories with active projects.
See Issue 10 (https://github.com/rcos/Observatory/issues/10) for the same thing but with Blogs as the cause.
When a record for a repository exists that is not referenced by a project, the fetch repository scripts fail because the repository has no associated project.
In fixing this, please try to adjust the script so that if a single fetch fails, the remaining unfetched repos do not fail.