Package: dpkg-dev
Version: 1.18.24
Severity: wishlist

Currently git submodules are not supported in this format

/usr/share/perl5/Dpkg/Source/Package/V3/Git.pm

if (-s "$srcdir/.gitmodules") {
        error(g_('git repository %s uses submodules; this is not yet
supported'),
              $srcdir);
    }

Presumably as the 'git-bundle' command used to create the package does not have
built in support for submodules (which are really just links to seperate git
repositories).

It would be great if support for this was added, as submodules are not that
uncommon.

I'd guess that this might involved looping (recursively) over submodules found
in .gitmodules and performing git-bundles on these. These bundle would be part
of the source package. How these bundles are extracted from a package would
require again matching the bundle to modules in .gitmodules resursively and
cloning them. Probably harder to get right than creating the package.



-- System Information:
Debian Release: 9.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), 
LANGUAGE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dpkg-dev depends on:
ii  binutils      2.28-5
ii  bzip2         1.0.6-8.1
ii  libdpkg-perl  1.18.24
ii  make          4.1-9.1
ii  patch         2.7.5-1+b2
ii  perl          5.24.1-3+deb9u2
ii  tar           1.29b-1.1
ii  xz-utils      5.2.2-1.2+b1

Versions of packages dpkg-dev recommends:
ii  build-essential          12.3
ii  clang-3.8 [c-compiler]   1:3.8.1-24
ii  fakeroot                 1.21-3.1
ii  gcc [c-compiler]         4:6.3.0-4
ii  gcc-6 [c-compiler]       6.3.0-18
ii  gnupg                    2.1.18-6
ii  gnupg2                   2.1.18-6
ii  gpgv                     2.1.18-6
ii  libalgorithm-merge-perl  0.08-3

Versions of packages dpkg-dev suggests:
ii  debian-keyring  2017.05.28

-- no debconf information

Reply via email to