Finish port to github adaptor