[git-buildpackage] Blog post review request: An explainer of the optimal git repository structure in 2025

Otto Kekäläinen otto at debian.org
Mon Jan 20 09:05:15 CET 2025


> I'd like to piggy back a question for you to this mail. I just converted box64
> to dep14 branch layout manually. You probably saw my responses to the salsa
> devscripts MR of yours. To fix the problems, I deleted my local git clone and
> created a new one with:
>
>     gbp clone --add-upstream-vcs https://salsa.debian.org/debian/box64.git
>
> Now everything works. So somehow my local git repo was borked. I tried
> importing the new upstream release but got this:
>
>    gbp:error: Import of ../box64_0.3.2+dfsg.orig.tar.xz failed: Can't find upstream vcs tag at 'v0.3.2+dfsg'
>
> How do I tell gbp that my Debian version has a +dfsg suffix which has to be
> stripped off when searching for the upstream tag?

Maybe ask on git-buildpackage at lists.sigxcpu.org?
I am not sure how uscan and git-buildpackage / gbp.conf %(version)s
interact in this situation and how Guido has designed it is supposed
to work.

PS. Final version of blog post is live now:
https://optimizedbyotto.com/post/debian-source-package-git/


More information about the git-buildpackage mailing list