repository revision info autodetection, WIP, prymitive/upaas#16