Bug#711467: please add .go to the files being checked for license/copyright information

Yaroslav Halchenko debian at onerussian.com
Fri Jun 7 02:27:09 UTC 2013


Package: devscripts
Version: 2.13.2
Severity: normal
File: /usr/bin/licensecheck
Tags: patch

not sure if we have any package in the archive (at least build-rdeps golang is
empty) but there are already ITPs for such projects (e.g. for lxc-docker), so
it would be nice to have a check in place.
Patch is trivial:

$> diff -Naur /usr/bin/licensecheck /tmp/licensecheck
--- /usr/bin/licensecheck   2013-05-12 23:10:27.000000000 -0400
+++ /tmp/licensecheck   2013-06-06 21:59:05.501102085 -0400
@@ -160,7 +160,7 @@
 $default_ignore_regex =~ s/^#.*$//mg;
 $default_ignore_regex =~ s/\n//sg;
 
-my $default_check_regex = '\.(c(c|pp|xx)?|h(h|pp|xx)?|f(77|90)?|p(l|m)|xs|sh|php|py(|x)|rb|java|vala|el|sc(i|e)|cs|pas|inc|dtd|xsl|mod|m|tex|mli?)$';
+my $default_check_regex = '\.(c(c|pp|xx)?|h(h|pp|xx)?|f(77|90)?|go|p(l|m)|xs|sh|php|py(|x)|rb|java|vala|el|sc(i|e)|cs|pas|inc|dtd|xsl|mod|m|tex|mli?)$';
 
 my $modified_conf_msg;
 


-- Package-specific info:

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

--- ~/.devscripts ---
DEBSIGN_KEYID=75C024C8
DEBUILD_ROOTCMD=fakeroot
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -ICVS -I.svn"
DEBUILD_LINTIAN=yes
DSCVERIFY_KEYRINGS=~/.gnupg/pubring.gpg
USCAN_SYMLINK=no
USCAN_DESTDIR=~/deb/tarballs
USCAN_SYMLINK=rename

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental'), (100, 'stable'), (100, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages devscripts depends on:
ii  dpkg-dev  1.16.10
ii  libc6     2.17-3
ii  perl      5.14.2-21
ii  python3   3.2.3-7

Versions of packages devscripts recommends:
ii  at                        3.1.13-2
ii  curl                      7.30.0-2
ii  dctrl-tools               2.23
ii  debian-keyring            2013.04.21
ii  dput                      0.9.6.3+nmu2
ii  dupload                   2.7.0
ii  equivs                    2.0.9
ii  fakeroot                  1.18.4-2
ii  gnupg                     1.4.12-7
ii  libcrypt-ssleay-perl      0.58-1
ii  libdistro-info-perl       0.10
ii  libencode-locale-perl     1.03-1
ii  libjson-perl              2.57-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.13
ii  man-db                    2.6.3-6
ii  patch                     2.6.1-3
ii  patchutils                0.3.2-1.1
pn  python3-debian            <none>
pn  python3-magic             <none>
ii  sensible-utils            0.0.7
ii  strace                    4.5.20-2.3
ii  unzip                     6.0-9
ii  wdiff                     1.1.2-1
ii  wget                      1.14-1
ii  xz-utils                  5.1.1alpha+20120614-2

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20111106cvs-1
ii  build-essential              11.6
pn  cvs-buildpackage             <none>
pn  devscripts-el                <none>
ii  gnuplot                      4.6.3-1
ii  libauthen-sasl-perl          2.1500-1
ii  libfile-desktopentry-perl    0.04-3
ii  libnet-smtp-ssl-perl         1.01-3
ii  libterm-size-perl            0.207-1
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.2p2-3
ii  svn-buildpackage             0.8.5
ii  w3m                          0.5.3-8

-- no debconf information



More information about the devscripts-devel mailing list