GroupRepository: join with revisions and environments