Package: git-buildpackage Version: 0.9.39 Followup-For: Bug #1050103 Cordell Bloor wrote:
> I've found this to be quite frustrating too, but I disagree with you > slightly on the solution. Or, at the very least, I can point out some > places where the documentation is confusing. ... > As of git-buildpackage 0.9.6, gbp import-orig --uscan --upstream-version > is actually supposed to already be calling `uscan --download-debversion` > if `uscan --download-version` fails. That feature would be sufficient to > fix the weirdness with gbp --uscan --upstream-version and a +dfsg > suffix, but there was a bug in the implementation of the feature [4][5], > and gbp import-orig actually ends up calling uscan without any version > arguments. I think I agree with what you're saying. To pull repacked older versions we could write gbp import-orig --uscan -u2.8.1+dfsg rather than gbp import-orig --uscan -u2.8.1 (reasonable for the latter to not perform repacking, if the former is available and works) I note you raised the same issue in Bug#1128260 Bug#1087647 is also related. Discussion says Bug#1087641 was supposed to deal with the problem in devscripts, but that has now been done and git-buildpackage is still not functioning correctly (as in #1128260).

