move margarine repo to attribute