rcos / Observatory-retired

A Python based dashboard for the Rensselaer Center for Open Source Software
rcos.rpi.edu
ISC License
12 stars 11 forks source link

Repository fetching critically fails #15

Closed JDougherty closed 11 years ago

JDougherty commented 13 years ago

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.

JDougherty commented 13 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.

c00w commented 11 years ago

Now we only pull repositories with active projects.