Package: devscripts
Version: 2.25.25
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

I'm trying to update a package that contains a submodule. The package:
https://salsa.debian.org/arnaudr/golang-github-oschwald-maxminddb-golang-v2/

The watch file is as such:

```
Version: 5

Mode: git
Source: https://github.com/oschwald/maxminddb-golang.git
Matching-Pattern: refs/tags/v@ANY_VERSION@
Git-Modules: all
```

When I run uscan, it downloads the latest version, as expected:

```
golang-github-oschwald-maxminddb-golang-v2_2.1.0.orig.tar.xz -> 
golang-github-oschwald-maxminddb-golang-v2-2.1.0.tar.xz
golang-github-oschwald-maxminddb-golang-v2-2.1.0.tar.xz
```

However, in the tarball, the submodule directory test-data/ is present
but empty.

Consequently, when I later import the new orig tarball with:

```
gbp import-orig ../golang-github-oschwald-maxminddb-golang-v2_2.1.0.orig.tar.xz
```

The test-data/ directory gets removed.

Am I doing something wrong, or is it a bug?

Thanks,

Arnaud

-- Package-specific info:

--- /etc/devscripts.conf ---
Empty.

--- ~/.devscripts ---
DEBRELEASE_DEBS_DIR=$HOME/$(pwd | cut -d/ -f4)/build-area
DEBRELEASE_UPLOADER=dput
DEBCHANGE_AUTO_NMU=no
DEBCHANGE_MULTIMAINT_MERGE=yes
DEBCHANGE_RELEASE_HEURISTIC=changelog  ## default already
DEBSNAP_DESTDIR=.
DEBUILD_LINTIAN_OPTS="--color always -I"
RMADISON_DEFAULT_URL=debian,new

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.17.6+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
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 devscripts depends on:
ii  dpkg-dev              1.22.21
ii  file                  1:5.46-5
ii  gpg                   2.4.8-4
ii  gpg-agent             2.4.8-4
ii  gpgv                  2.4.8-4
ii  libdpkg-perl          1.22.21
ii  libfile-dirlist-perl  0.05-3
ii  libfile-homedir-perl  1.006-2
ii  libfile-touch-perl    0.12-2
ii  libio-string-perl     1.08-4
ii  libmoo-perl           2.005005-1
ii  libwww-perl           6.81-1
ii  patchutils            0.4.3-1
ii  perl                  5.40.1-6
ii  python3               3.13.7-1
ii  sensible-utils        0.0.26
ii  wdiff                 1.2.2-9

Versions of packages devscripts recommends:
ii  apt                         3.1.11
ii  curl                        8.17.0-1
ii  dctrl-tools                 2.24-3+b1
ii  debian-keyring              2025.09.18
ii  debian-tag2upload-keyring   1.1
ii  dput                        1.2.4
ii  equivs                      2.3.2
ii  git-debpush                 13.17
ii  libdistro-info-perl         1.14
ii  libencode-locale-perl       1.05-3
ii  libgitlab-api-v4-perl       0.27-1
ii  libjson-perl                4.10000-1
ii  liblwp-protocol-https-perl  6.14-1
ii  libmetacpan-client-perl     2.033000-1
ii  libsoap-lite-perl           1.27-3
ii  libstring-shellquote-perl   1.04-3
ii  liburi-perl                 5.34-2
ii  licensecheck                3.3.9-1
ii  lintian                     2.127.0
ii  lzip                        1.25-3
ii  man-db                      2.13.1-1
ii  patch                       2.8-2
ii  pristine-tar                1.50+nmu2
ii  python3-apt                 3.0.0
ii  python3-debian              1.0.1
ii  python3-magic               2:0.4.27-3
ii  python3-requests            2.32.5+dfsg-1
ii  python3-unidiff             0.7.5-2
ii  python3-xdg                 0.28-2
ii  strace                      6.16+ds-2
ii  unzip                       6.0-29
ii  wget                        1.25.0-2
ii  xz-utils                    5.8.1-2

Versions of packages devscripts suggests:
pn  adequate                     <none>
pn  at                           <none>
ii  autopkgtest                  5.51
pn  bls-standalone               <none>
ii  build-essential              12.12
pn  check-all-the-things         <none>
ii  debhelper                    13.28
pn  diffoscope                   <none>
pn  disorderfs                   <none>
ii  docker.io                    27.5.1+dfsg4-1
ii  dose-extra                   7.0.0-6+b4
pn  duck                         <none>
pn  elpa-devscripts              <none>
pn  faketime                     <none>
ii  gnuplot                      6.0.3+dfsg1-1
ii  gnuplot-qt [gnuplot]         6.0.3+dfsg1-1
pn  how-can-i-help               <none>
ii  libauthen-sasl-perl          2.1900-1
pn  libdbd-pg-perl               <none>
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3300-2
ii  libyaml-libyaml-perl         0.904.0+ds-1
ii  mailutils [mailx]            1:3.20-2
ii  mmdebstrap                   1.5.7-3
pn  mutt                         <none>
ii  openssh-client [ssh-client]  1:10.2p1-2
pn  piuparts                     <none>
pn  postgresql-client            <none>
pn  pristine-lfs                 <none>
ii  python3-debianbts            4.1.1
pn  python3-pycurl               <none>
ii  quilt                        0.68-1
ii  ratt                         0.0~git20250829.39528ce-1
pn  reprotest                    <none>
pn  svn-buildpackage             <none>
ii  w3m                          0.5.3+git20230121-2.1

-- no debconf information

Reply via email to