Subject: bug#30274: closed (Re: [bug#30274] [PATCH 00/21] gnu: Add licensecheck (license checker for source files).)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 24 Feb 2018 17:24:02 +0000

Your bug report

#30274: [PATCH 00/21] gnu: Add licensecheck (license checker for source files).

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
30274: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30274
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#30274] [PATCH 00/21] gnu: Add licensecheck (license checker for source files).
From: Oleg Pykhalov <[email-masked]>
To: Marius Bakke <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Sat, 24 Feb 2018 20:23:40 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Marius Bakke <[email-masked]> writes:

> Sorry, I meant the opposite: we don't add the "v" prefix.  It would be
> nice to make the CPAN updater aware of that.

I'll close current bug report.  Should we open a new one for CPAN
updater fix purpose?

>> I see a bunch of packages packages have "v" prefix:
>> --8<---------------cut here---------------start------------->8---
>> ./gnu/packages/perl.scm:3599:    (version "v2.49.1")
>> ./gnu/packages/perl.scm:7969:    (version "v0.0.2")
>> ./gnu/packages/perl.scm:8697:  (version "v0.2.13")
>> ./gnu/packages/networking.scm:778:  (version "v0.003")
>> ./gnu/packages/mail.scm:1755:  (version "v2.9.0")
>> --8<---------------cut here---------------end--------------->8---
>
> Let's fix these :-)

I guess it's better to do after a CPAN updater fix.  WDYT?

Oleg.

Subject: [PATCH 00/21] gnu: Add licensecheck (license checker for source files).
From: Oleg Pykhalov <[email-masked]>
To: [email-masked]
Cc: Oleg Pykhalov <[email-masked]>
Date: Sun, 28 Jan 2018 21:44:37 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Guix,

Licensecheck attempts to determine the license that applies to each file
passed to it, by searching the start of the file for text belonging to various
licenses.

Some notes while I've adopted `guix import cpan` produced packages:

- perl-b-hooks-op-check, perl-bareword-filehandles, perl-multidimensional had
  a perl-gtk-perl in native-inputs.

- perl-test-roo had a perl-bareword-filehandles in native-inputs.

An example of running licensecheck
--8<---------------cut here---------------start------------->8---
natsu@magnolia ~/src/guix-wip-licensecheck$ $(./pre-inst-env guix build licensecheck)/bin/licensecheck .
./.dir-locals.el: *No copyright* UNKNOWN
./.mailmap: *No copyright* UNKNOWN
./.version: *No copyright* UNKNOWN
./0000-cover-letter.patch: *No copyright* GENERATED FILE
./0001-gnu-Add-perl-test-filename.patch: UNKNOWN
./0002-gnu-Add-perl-path-iterator-rule.patch: UNKNOWN
./0003-gnu-Add-perl-pod-constants.patch: *No copyright* UNKNOWN
./0004-gnu-Add-perl-regexp-pattern.patch: *No copyright* UNKNOWN
./0005-gnu-Add-perl-regexp-pattern-license.patch: GPL
./0006-gnu-Add-perl-number-range.patch: *No copyright* UNKNOWN
./0007-gnu-Add-perl-string-copyright.patch: UNKNOWN
./0008-gnu-Add-perl-string-escape.patch: *No copyright* UNKNOWN
./0009-gnu-Add-perl-test-failwarnings.patch: *No copyright* UNKNOWN
./0010-gnu-Add-perl-data-section.patch: *No copyright* UNKNOWN
./0011-gnu-Add-perl-software-license.patch: UNKNOWN
./0012-gnu-Add-perl-extutils-depends.patch: *No copyright* UNKNOWN
./0013-gnu-Add-perl-b-hooks-op-check.patch: *No copyright* UNKNOWN
./0014-gnu-Add-perl-bareword-filehandles.patch: *No copyright* UNKNOWN
./0015-gnu-Add-perl-indirect.patch: *No copyright* UNKNOWN
./0016-gnu-Add-perl-lexical-sealrequirehints.patch: *No copyright* UNKNOWN
./0017-gnu-Add-perl-multidimensional.patch: *No copyright* UNKNOWN
./0018-gnu-Add-perl-test-roo.patch: *No copyright* UNKNOWN
./0019-gnu-Add-perl-universal-require.patch: *No copyright* UNKNOWN
./0020-gnu-Add-perl-strictures-2.patch: *No copyright* UNKNOWN
./0021-gnu-Add-licensecheck.patch: *No copyright* UNKNOWN
./ABOUT-NLS: *No copyright* UNKNOWN
./AUTHORS: *No copyright* GENERATED FILE
./CODE-OF-CONDUCT: *No copyright* UNKNOWN
./COPYING: UNKNOWN
./ChangeLog: *No copyright* UNKNOWN
./HACKING: FSF All Permissive
./INSTALL: FSF All Permissive
./Makefile: GPL (v3 or later) GENERATED FILE
./Makefile.am: GPL (v3 or later)
./Makefile.in: GPL (v3 or later) GENERATED FILE
./NEWS: FSF All Permissive
./README: *No copyright* UNKNOWN
./ROADMAP: FSF All Permissive
./THANKS: UNKNOWN
./TODO: FSF All Permissive
./aclocal.m4: GENERATED FILE
./berlin.guixsd.org.pub: *No copyright* UNKNOWN
./bootstrap: *No copyright* UNKNOWN
./config-daemon.ac: *No copyright* UNKNOWN
./config.log: *No copyright* GENERATED FILE
./config.status: *No copyright* GENERATED FILE
./configure: FSF Unlimited GENERATED FILE
./configure.ac: *No copyright* UNKNOWN
./d3.v3.js: BSD (3 clause)
./gnu.go: UNKNOWN
./gnu.scm: GPL (v3 or later)
./graph.js: GPL (v3 or later)
./guix-daemon: UNKNOWN
./guix-register: UNKNOWN
./guix.go: *No copyright* UNKNOWN
./guix.scm: GPL (v3 or later)
./hydra.gnu.org.pub: *No copyright* UNKNOWN
./libformat.a: UNKNOWN
./libstore.a: UNKNOWN
./libutil.a: UNKNOWN
./pre-inst-env: GPL (v3 or later)
./release.nix: GPL (v3 or later)
./test-env: GPL (v3 or later)
--8<---------------cut here---------------end--------------->8---

Oleg Pykhalov (21):
  gnu: Add perl-test-filename.
  gnu: Add perl-path-iterator-rule.
  gnu: Add perl-pod-constants.
  gnu: Add perl-regexp-pattern.
  gnu: Add perl-regexp-pattern-license.
  gnu: Add perl-number-range.
  gnu: Add perl-string-copyright.
  gnu: Add perl-string-escape.
  gnu: Add perl-test-failwarnings.
  gnu: Add perl-data-section.
  gnu: Add perl-software-license.
  gnu: Add perl-extutils-depends.
  gnu: Add perl-b-hooks-op-check.
  gnu: Add perl-bareword-filehandles.
  gnu: Add perl-indirect.
  gnu: Add perl-lexical-sealrequirehints.
  gnu: Add perl-multidimensional.
  gnu: Add perl-test-roo.
  gnu: Add perl-universal-require.
  gnu: Add perl-strictures-2.
  gnu: Add licensecheck.

 gnu/local.mk                |   1 +
 gnu/packages/license.scm    | 158 ++++++++++++++++++++
 gnu/packages/perl-check.scm |  73 ++++++++++
 gnu/packages/perl.scm       | 340 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 572 insertions(+)
 create mode 100644 gnu/packages/license.scm

-- 
2.15.1