Jim Pease's moodle Repo implementation