implement openqa "sync"

This implements the current openqa logic - while we have no official API
this will do as long as we keep it uptodate