The upstream of dhcpy3d accidentially tagged the 1.2.3 release as both
"v1.2.3" and "1.2.3" without "v".
My debian/gbp.conf says clearly:
[DEFAULT]
upstream-vcs-tag=v%(version)s
Nevertheless "dpt import-orig" on the 1.2.2 git checkout fails as
follows:
% dpt import-orig
Git remote 'upstream-repo'
==========================
I: Found Git remote 'upstream-repo':
* remote upstream-repo
Fetch URL: https://github.com/HenriWahl/dhcpy6d.git
Push URL: https://github.com/HenriWahl/dhcpy6d.git
HEAD branch: master
Remote branches:
1.0.x tracked
bullseye_client tracked
except-interface tracked
fix_sqlite_packaging tracked
inject_dynamic_prefix tracked
master tracked
snyk-fix-2e7d9c151fe0a1f229cfcd6b76a2c5d9 tracked
Local ref configured for 'git push':
master pushes to master (local out of date)
From https://github.com/HenriWahl/dhcpy6d
* [new tag] v1.2.3 -> v1.2.3
* [new tag] 1.2.3 -> 1.2.3
gbp pull
========
gbp:info: Fetching from default remote for each branch
gbp:info: Branch 'master' is already up to date.
gbp:info: Branch 'upstream' is already up to date.
gbp:info: Branch 'pristine-tar' is already up to date.
gbp import-orig
===============
gbp:info: Launching uscan...
Newest version of dhcpy6d on remote site is 1.2.3, local version is 1.2.2
=> Newer package available from:
=> https://github.com/HenriWahl/dhcpy6d/archive/refs/tags/1.2.3.tar.gz
Leaving ../dhcpy6d_1.2.3.orig.tar.gz where it isgbp:info: Using uscan downloaded tarball ../dhcpy6d_1.2.3.orig.tar.gz
gbp:info: Importing '../dhcpy6d_1.2.3.orig.tar.gz' to branch 'upstream' (filtering out ['.gitignore', 'debian/*', '.git/*', '.git'])...
gbp:info: Source package is dhcpy6d
gbp:info: Upstream version is 1.2.3
gbp:error: Import of ../dhcpy6d_1.2.3.orig.tar.gz failed: Can't find upstream vcs tag at '1.2.3
v1.2.3'
Note that weird line break between "'1.2.3" and "v1.2.3'".
Temporarily worked around it by running "git tag -d 1.2.3" in a second
shell in the right moment. :-)