gbp import-orig --pristine-tar --uscan --no-interactive
and that works, since the watch file points to a correct github location. However, when new releases/tags are created, there's a delay between updating github (upstream) repo and the creation of .tar.gz source files (by github). This means we'd have to poll github until it's done before we can issue import-orig as above.
Since we already have all the needed files (.dsc, .orig.tar.gz and .tar.xz), the method we use is (from the folder where all branches of Salsa repo have been cloned into):
gbp import-dsc --pristine-tar <path-to-dsc-file>/golf_${PACKAGE_VERSION}-1.dsc
And then simply push all branches and tags to Salsa:
git push --all
git push --tags
This is how the latest version has been pushed to Salsa - does this look good from the perspective of how Salsa expects it to be?
If so, this method (the second one with import-dsc) will be an automatic push to Salsa from now on going forward whenever a new Golf release is available. This way, Salsa will always be in sync with upstream for official releases.
Best,
Sergio