Get tasks from a repository