Requires a working copy of the project and package before hand - the obs-update script can be used for this.