Package: git-buildpackage Version: 0.9.35 Severity: normal Tags: patch X-Debbugs-Cc: sre4e...@free.fr
Dear Maintainers, Currently gbp import-orig --uscan --upstream-version=xxx passes the version to uscan as --download-debversion as is documented. It seems to me that it would make much more sense to use uscan's --download- version, especially after it gets fixed (see #1087641), as this is usually a manual operation and the user is much more likely to try to use a version string as provided by the upstream project, e.g. "1.2.3-rc-4". With that example it is actually not possible to correctly use gbp import-orig as the final "-3" would be automatically removed by uscan expecting a debian revision there. One could pass --upstream-version=1.2.3-rc-4-0 but then the "-0" would appear in commit messages. A patch and MR to fix this will follow. Thanks and best regards, -- Julien Plissonneau Duquène -- System Information: Debian Release: trixie/sid APT prefers trixie APT policy: (500, 'trixie'), (500, 'testing'), (20, 'unstable'), (10, 'experimental'), (5, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.11.2-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages git-buildpackage depends on: ii devscripts 2.24.3+jpd1 ii git 1:2.45.2-1 ii man-db 2.13.0-1 ii python3 3.12.6-1 ii python3-dateutil 2.9.0-3 ii python3-pkg-resources 74.1.2-2 ii python3-yaml 6.0.2-1 ii sensible-utils 0.0.24 Versions of packages git-buildpackage recommends: ii cowbuilder 0.90 ii pbuilder 0.231.1 ii pristine-tar 1.50+nmu2 ii python3-requests 2.32.3+dfsg-1 Versions of packages git-buildpackage suggests: pn python3-notify2 <none> ii sudo 1.9.15p5-3+b1 ii unzip 6.0-28 -- no debconf information