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

Quick fix to cleanup in case of a repository fetch failure #22

Closed Einarin closed 11 years ago

Einarin commented 12 years ago

This is a quick fix for the issue I noted on the mailing list, if a clone or fetch fails we remove the repository directory tree and start from scratch. This only occurs when the fetch call fails, and not when we kill a clone that is taking too long.

Einarin commented 12 years ago

I also changed the way we call Markdown, to use their newer option for safe_mode that lets you escape html rather than just removing it. It's useful to be able to write raw html or xml in a technical blog post.