Bug#694123: debcommit: support $onlydebian=1 for git

Trent W. Buck trentbuck at gmail.com
Sat Nov 24 06:15:28 UTC 2012


Package: devscripts
Version: 2.12.5
Severity: wishlist
File: /usr/bin/debcommit

I just migrated my packaging (collab-maint/mg) from darcs to git.
I maintain debian/ as a separate repo, which appears to correspond to:

        } elsif (-d "debian/_darcs") {
            $onlydebian = 1;
            return "darcs";
        }

There is no equivalent for git, so debcommit complains.

I think you want:

        } elsif (-d "debian/.git") {
            $onlydebian = 1;
            return "git";
        }

I don't know if other changes are also required.

-- Package-specific info:

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

--- ~/.devscripts ---
BTS_CACHE=no
DEBCHANGE_RELEASE_HEURISTIC=changelog
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-tc -Zxz"
DEBUILD_LINTIAN_OPTS="--info --display-info --display-experimental --pedantic --show-overrides --color auto"
DEB_BUILD_HARDENING=1
DEB_BUILD_OPTIONS=parallel=$(getconf _NPROCESSORS_ONLN || echo 1)

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

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev  1.16.9
ii  libc6     2.13-33
ii  perl      5.14.2-15
ii  python    2.7.3~rc2-1

Versions of packages devscripts recommends:
ii  at                        3.1.13-2
ii  curl                      7.26.0-1
ii  dctrl-tools               2.22.2
ii  debian-keyring            2012.06.01
ii  dput                      0.9.6.3
ii  equivs                    2.0.9
ii  fakeroot                  1.18.4-2
ii  gnupg                     1.4.12-6
ii  libcrypt-ssleay-perl      0.58-1
ii  libdistro-info-perl       0.10
ii  libjson-perl              2.53-1
ii  libparse-debcontrol-perl  2.005-3
ii  libsoap-lite-perl         0.714-1
ii  liburi-perl               1.60-1
ii  libwww-perl               6.04-1
ii  lintian                   2.5.10.2
ii  man-db                    2.6.2-1
ii  patch                     2.6.1-3
ii  patchutils                0.3.2-1.1
ii  python-debian             0.1.21
ii  python-magic              5.11-2
ii  sensible-utils            0.0.7
ii  strace                    4.5.20-2.3
ii  unzip                     6.0-7
ii  wdiff                     1.1.2-1
ii  wget                      1.13.4-3
ii  xz-utils                  5.1.1alpha+20120614-1

Versions of packages devscripts suggests:
pn  bsd-mailx | mailx            <none>
ii  build-essential              11.5
pn  cvs-buildpackage             <none>
pn  devscripts-el                <none>
pn  gnuplot                      <none>
pn  libauthen-sasl-perl          <none>
pn  libfile-desktopentry-perl    <none>
pn  libnet-smtp-ssl-perl         <none>
pn  libterm-size-perl            <none>
ii  libtimedate-perl             1.2000-1
ii  libyaml-syck-perl            1.20-1
ii  mutt                         1.5.21-6.2
ii  openssh-client [ssh-client]  1:6.0p1-3
pn  svn-buildpackage             <none>
ii  w3m                          0.5.3-8

-- no debconf information



More information about the devscripts-devel mailing list