Bug#736972: libconfig-model-dpkg-perl: Exit status of 'cme check dpkg' command.

Oleg Gashev oleg at gashev.net
Tue Jan 28 20:38:31 UTC 2014


Package: libconfig-model-dpkg-perl
Version: 2.043
Severity: wishlist

Dear Maintainer,

to automate packages inspection it'd be helpful if 'cmd check dpkg' command
return proper exit status. So if successful (cme return zero warnings and
errors) the exit status should be 0, if not successful (warnings or error more
than zero) than exit status should be 1.

Now cme check dpkg command return 0.

For example, exec 'cme check dpkg' command on
libdist-zilla-plugin-test-reportprereqs-perl package:

% cme check dpkg
loading data
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Warning in 'control source Standards-Version' value '3.9.4': Current standards version is 3.9.5
Warning in 'control binary:"libdist-zilla-plugin-test-reportprereqs-perl" Synopsis' value 'module to report on prerequisite versions during automated testing': Synopsis is too long. 
checking data
check done

% echo $?
0

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

Kernel: Linux 3.12-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libconfig-model-dpkg-perl depends on:
ii  libanyevent-http-perl                   2.15-1
ii  libanyevent-perl                        7.070-1
ii  libapt-pkg-perl                         0.1.29+b1
ii  libconfig-model-perl                    2.047-1
ii  liblog-log4perl-perl                    1.41-1.1
ii  libmouse-perl                           2.1.0-1
ii  libnamespace-autoclean-perl             0.15-1
ii  libparse-recdescent-perl                1.967009+dfsg-1
ii  libsoftware-license-perl                0.103008-1
ii  libtext-autoformat-perl                 1.669004-1
ii  lintian                                 2.5.21
ii  perl                                    5.18.2-2
ii  perl-modules [libmodule-corelist-perl]  5.18.2-2

Versions of packages libconfig-model-dpkg-perl recommends:
ii  libconfig-model-tkui-perl  1.340-1

libconfig-model-dpkg-perl suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list