add repo gen