migrate repo to EG format