Control: tags -1 - moreinfo unreproducible

On Fri, 21 Nov 2025 15:29:22 +0700 Arnaud Rebillout wrote:

> Background: initially this repository was created with the idea of
> keeping upstream git history, so it was a git clone of upstream, however
> the git submodule was NOT included. Later on I found out that the
> submodule was needed for the tests. So I edited d/watch to switch to git
> mode, and I imported a new upstream version. As a result, gbp/uscan
> imported the content of this git submodule, however it came in under the
> form of this extra commit that sits between the upstream branch and the
> debian packaging branch. It's this commit:
> 11b4dcb8fb045b8a31f32f26b5a5e5ca8f55e2d7.
> [...]
> I tried to find a way out of this situation, but surprisingly it's very
> hard, didn't even manage after an hour, I'm giving up for now.
>
> I hope that sheds some light on the issue. If you have any
> recommendation, I'm happy to hear it.

I have spent a lot of time investigating this issue and had the same problem, even with my own packages.

The solution is to use a Git clone of the upstream repository as the starting point for creating Debian packaging.

Otto Kekäläinen has a written a guide that works well, even with submodules. [1]

Note that when calling `git clone`, you need to add `--recurse-submodules` to the command line too.

I did a quick test using Otto's instructions on your repository. The result is at [2] and work as expected with uscan.

Let me know how you go.

Hugh

[1] https://optimizedbyotto.com/post/debian-packaging-from-git/

[2] https://salsa.debian.org/hmc/golang-github-oschwald-maxminddb-golang-v2

Reply via email to