GNU bug report logs - #32933
[PATCH] guix: add license prefix hackage imports

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Joe Hillenbrand <joehillen@HIDDEN>; Keywords: patch; dated Thu, 4 Oct 2018 16:19:03 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 32933 <at> debbugs.gnu.org:


Received: (at 32933) by debbugs.gnu.org; 15 Oct 2018 13:48:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 15 09:48:23 2018
Received: from localhost ([127.0.0.1]:49978 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gC3EM-0004BT-TA
	for submit <at> debbugs.gnu.org; Mon, 15 Oct 2018 09:48:23 -0400
Received: from sender-of-o51.zoho.com ([135.84.80.216]:21044)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1gC3EK-0004BK-RD
 for 32933 <at> debbugs.gnu.org; Mon, 15 Oct 2018 09:48:21 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1539611279; cv=none; d=zoho.com; s=zohoarc; 
 b=iIHSo2kj7t36ypLmLw0hYPv03Iqkd2jbJdd8NMjwLV5s+QOeEP23VQioxhWDbwkBhbeZTJPLEgxHmU498MVvHt070fOnbDDEPIIqgwmpf+KNrP+MzEsB+gphgMOKrfhL7FEXxG5GvMhNwRfQ5J74gyjpR+9jUS3y44QmxvmaFgI=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
 s=zohoarc; t=1539611279;
 h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results;
 bh=03uzI8Kcw1qa+KqfLG6d3LTq6HSHSv/xLgvwSHN/Zew=; 
 b=Li0/zp5iyweQwfyji5OYED2xHi82oNcIJBC33hNJ7BT+tbp7bRpHjj3/JjyATtr1iudz8Q7LHQkZRbbk9U8l0Iyi4GguBwxLpKtaULeA4XACteKEVQP5m6RRmEd5JEeL5w+GHTHSo/4o7ZAFYZLc5aQpg8xyCYb/wZVLRogbtc4=
ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1539611279; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 l=654; bh=03uzI8Kcw1qa+KqfLG6d3LTq6HSHSv/xLgvwSHN/Zew=;
 b=Aygk8DnVzEkBDQLB70uAIauKNUwHSVSCdVnIyQZTEfsku/DQuplDFMUxz0KsDEWf
 BOV2jmNz97EMD/+UUJbJDZ77vEmGSEVNHeY1X4NedCGrtcEjCxgsrGM+yAjVyTZwnKf
 hfrAciS15jXSG9Td1742u4kjJt6K0SZCCTjHTNrs=
Received: from localhost (141.80.247.129 [141.80.247.129]) by mx.zohomail.com
 with SMTPS id 1539611277147527.4170892656902;
 Mon, 15 Oct 2018 06:47:57 -0700 (PDT)
References: <CANJQ5C6Q_izmdftZ2xWb2SbiDiCnf3-ZdTTH_UzS=hFvbtPx9Q@HIDDEN>
 <87h8hri9sj.fsf@HIDDEN>
 <CANJQ5C5PfMfM4dduVEiqnT36x_9ZpCQKN7DZtWGr2UHYA3EWDA@HIDDEN>
 <87a7nioqk6.fsf@HIDDEN> <877eijljkf.fsf@HIDDEN>
 <87va63mthl.fsf@HIDDEN>
 <CANJQ5C6776YL+q1dZWCFwMdrEyP1t6CvqmYE0tqqWtR+0iPZ2Q@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Ricardo Wurmus <rekado@HIDDEN>
To: Joe Hillenbrand <joehillen@HIDDEN>
Subject: Re: [bug#32933] [PATCH] guix: add license prefix hackage imports
In-reply-to: <CANJQ5C6776YL+q1dZWCFwMdrEyP1t6CvqmYE0tqqWtR+0iPZ2Q@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Mon, 15 Oct 2018 15:47:48 +0200
Message-ID: <87pnwbmid7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 32933
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 32933 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Joe Hillenbrand <joehillen@HIDDEN> writes:

> On Mon, Oct 15, 2018, 02:49 Ricardo Wurmus <rekado@HIDDEN> wrote:
>
>>
>> Ludovic Court=C3=A8s <ludo@HIDDEN> writes:
>> >
>> > For the sake of consistency though, it may be best to do it for all the
>> > importers, if we were to take that route.
>>
>> Adding the same prefix to all importers sounds good to me.
>>
>
> Should I create a patch for each importer or do them all in one patch?

Either way is fine.  If you create one patch for all importers please
make sure to list all the changes to the different files explicitly in
the commit summary.

Thank you!

--
Ricardo





Information forwarded to guix-patches@HIDDEN:
bug#32933; Package guix-patches. Full text available.

Message received at 32933 <at> debbugs.gnu.org:


Received: (at 32933) by debbugs.gnu.org; 15 Oct 2018 13:42:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 15 09:42:56 2018
Received: from localhost ([127.0.0.1]:49956 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gC396-0001zD-MY
	for submit <at> debbugs.gnu.org; Mon, 15 Oct 2018 09:42:56 -0400
Received: from mail-pl1-f174.google.com ([209.85.214.174]:33213)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joehillen@HIDDEN>) id 1gC394-0001z0-EI
 for 32933 <at> debbugs.gnu.org; Mon, 15 Oct 2018 09:42:54 -0400
Received: by mail-pl1-f174.google.com with SMTP id s4-v6so9359484plp.0
 for <32933 <at> debbugs.gnu.org>; Mon, 15 Oct 2018 06:42:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=CYI++vgmynxUa80XBnCbLJoMHDhid88sEgDLrT7Gpz0=;
 b=fVfRK0hd/xgwy4NsJYoaCv69PpqQc7su4x4yzmKPNNjBTtwsgRkpMZo/c0f4AXYYzp
 xb+5ZcdoJrt0lE76QOdt7XNWQ3eZXGEsDV866NTu+pevzCKEHEyeuwJNddJw5uNPX4Wf
 K3EIsBrF/Al96qppZLmZ5iCQlcTvNsGCm1dqQaXMKR6w5J+ght6YdqSruEYBQs5F4+rx
 KvLEtR0lLcR8LKDKDNPLqYrWb4jNfNZa9uc52TWHBsEOYlY3jeucSQwkJ1ywEhPpW0Ne
 9s6Ul0qW7YfGttllsv1hcTQyey8BY46V2SuXuObi+tVMdUIfxI7yWWmmONt1CZMqVhSn
 C1dA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=CYI++vgmynxUa80XBnCbLJoMHDhid88sEgDLrT7Gpz0=;
 b=OAWkaZlZWGXdqim9Mjo/36NkqX01UKHyhhoG9vFurCpjKLil+nPTEJ1Z2T0gMeaEdO
 5QEYGNW4G0IQTnZG4cZW0C1miLG2/9+3j0/dL4h8nDsjsibMWZTDLDYU7agOxsmLpYZD
 b61s5m5yQ8yeaJbtn3Brb2H/FNfrV2lpDHSXaj7RFreJ9PnwN2HPbbYurDaEDZhcUr4M
 Y6mqVO1WEFr4Di67EboJ5RnM5WFjASpKHWx+AgXy5AAfbhe8W9Z95iOa62R8hmO9aC8k
 oKWtXvQmvF76pY6Kg2Plx7mAwUcyVufN7m6uaPpa1fbTBLNphwyBTptqLsATZ3Ot/fge
 n57A==
X-Gm-Message-State: ABuFfogT/jPkFPQ+mGv736PWaNWFMCVMju8Xt/DwcZoWtLFfE1YTt3t9
 BV3ei+B2HyTWPdPqcwS5yLoAIqMzuT+yapY/7qAx+w==
X-Google-Smtp-Source: ACcGV63Aed/INEqpk8EKRLYLHnwnsmlCshVmt33Deqd9aBdy6Z5i1Lb89fUhRVO4GkAvfe1RyGLYyCg3fevZafDCwkc=
X-Received: by 2002:a17:902:5602:: with SMTP id
 h2-v6mr17060334pli.220.1539610968506; 
 Mon, 15 Oct 2018 06:42:48 -0700 (PDT)
MIME-Version: 1.0
References: <CANJQ5C6Q_izmdftZ2xWb2SbiDiCnf3-ZdTTH_UzS=hFvbtPx9Q@HIDDEN>
 <87h8hri9sj.fsf@HIDDEN>
 <CANJQ5C5PfMfM4dduVEiqnT36x_9ZpCQKN7DZtWGr2UHYA3EWDA@HIDDEN>
 <87a7nioqk6.fsf@HIDDEN> <877eijljkf.fsf@HIDDEN>
 <87va63mthl.fsf@HIDDEN>
In-Reply-To: <87va63mthl.fsf@HIDDEN>
From: Joe Hillenbrand <joehillen@HIDDEN>
Date: Mon, 15 Oct 2018 06:42:36 -0700
Message-ID: <CANJQ5C6776YL+q1dZWCFwMdrEyP1t6CvqmYE0tqqWtR+0iPZ2Q@HIDDEN>
Subject: Re: [bug#32933] [PATCH] guix: add license prefix hackage imports
To: Ricardo Wurmus <rekado@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000dec7620578449c9a"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 32933
Cc: =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>, 32933 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000dec7620578449c9a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, Oct 15, 2018, 02:49 Ricardo Wurmus <rekado@HIDDEN> wrote:

>
> Ludovic Court=C3=A8s <ludo@HIDDEN> writes:
> >
> > For the sake of consistency though, it may be best to do it for all the
> > importers, if we were to take that route.
>
> Adding the same prefix to all importers sounds good to me.
>

Should I create a patch for each importer or do them all in one patch?

>

--000000000000dec7620578449c9a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><div class=3D"gmail_quote"><div dir=3D"ltr">On Mon, =
Oct 15, 2018, 02:49 Ricardo Wurmus &lt;<a href=3D"mailto:rekado@HIDDEN=
">rekado@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
><br>
Ludovic Court=C3=A8s &lt;<a href=3D"mailto:ludo@HIDDEN" target=3D"_blank" =
rel=3D"noreferrer">ludo@HIDDEN</a>&gt; writes:<br>
&gt;<br>
&gt; For the sake of consistency though, it may be best to do it for all th=
e<br>
&gt; importers, if we were to take that route.<br>
<br>
Adding the same prefix to all importers sounds good to me.<br></blockquote>=
</div></div><div dir=3D"auto"><br></div><div dir=3D"auto">Should I create a=
 patch for each importer or do them all in one patch?</div><div dir=3D"auto=
"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>

--000000000000dec7620578449c9a--




Information forwarded to guix-patches@HIDDEN:
bug#32933; Package guix-patches. Full text available.

Message received at 32933 <at> debbugs.gnu.org:


Received: (at 32933) by debbugs.gnu.org; 15 Oct 2018 09:49:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 15 05:49:27 2018
Received: from localhost ([127.0.0.1]:49809 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gBzV9-0006ts-JW
	for submit <at> debbugs.gnu.org; Mon, 15 Oct 2018 05:49:27 -0400
Received: from sender-of-o51.zoho.com ([135.84.80.216]:21093)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1gBzV7-0006tj-D1
 for 32933 <at> debbugs.gnu.org; Mon, 15 Oct 2018 05:49:26 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1539596861; cv=none; d=zoho.com; s=zohoarc; 
 b=Fr8+baoJ8uXsNZNKheXAl9D5tajZSF9092oroUcT3TiE6djOh07++00mhJEKG5rLtZFeclJElED4PyPCcG8jhC5UZMzBzJLKoDVzkY8eeSaSTrANJGMs4Nn/EUvIbrhswKIzrrg3dqcwPjg3GOEU1HP/bFhBKpyLVOXUzeyOScw=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
 s=zohoarc; t=1539596861;
 h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results;
 bh=rCSv12YtriFSDu/3v0UZaFSZsMSYeiMuo5+cwNh9has=; 
 b=jWBH+QH5cM+w3ztJuohPqOYGbatj1enNcWsUxk3/2+/Q6ynED4HpmJlsa0t+f0DK+AWpcnEVkzoZAeM5MxXzGWEj6WWjzJX5CUpHdUJb7EM+5uTAsGI32qY8KKoSwCdUSjNLd194GUrjXGn+LZg0BZLWBIYZARzzgoBkqKDZplk=
ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1539596861; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 l=538; bh=rCSv12YtriFSDu/3v0UZaFSZsMSYeiMuo5+cwNh9has=;
 b=I6FAE4xPCuLiD35TtMIj7FXulDGLHypzEdHd9g1uLjCOit2WrYbt7SdBqzzYG//1
 1/j3tXqLDjI0f4kq1NezZdJQhI4EaxJzzz5Kvw8GWvVTufMxqPB8ytLdxL6HyojtTZa
 I8iPZiQaVTV0MHV0dOzABQbWc2sVkQ5WpeHB89kg=
Received: from localhost (141.80.247.129 [141.80.247.129]) by mx.zohomail.com
 with SMTPS id 1539596860131982.8982654434668;
 Mon, 15 Oct 2018 02:47:40 -0700 (PDT)
References: <CANJQ5C6Q_izmdftZ2xWb2SbiDiCnf3-ZdTTH_UzS=hFvbtPx9Q@HIDDEN>
 <87h8hri9sj.fsf@HIDDEN>
 <CANJQ5C5PfMfM4dduVEiqnT36x_9ZpCQKN7DZtWGr2UHYA3EWDA@HIDDEN>
 <87a7nioqk6.fsf@HIDDEN> <877eijljkf.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Ricardo Wurmus <rekado@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: [bug#32933] [PATCH] guix: add license prefix hackage imports
In-reply-to: <877eijljkf.fsf@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Mon, 15 Oct 2018 11:47:34 +0200
Message-ID: <87va63mthl.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 32933
Cc: 32933 <at> debbugs.gnu.org, Joe Hillenbrand <joehillen@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> OTOH, the goal of =E2=80=98guix import=E2=80=99 is to provide templates a=
s close as
> possible to working package definitions.  In that sense, if adding the
> =E2=80=98license:=E2=80=99 prefix lowers the barrier a little bit (and it=
 certainly
> does, as Joe wrote), the better.
>
> For the sake of consistency though, it may be best to do it for all the
> importers, if we were to take that route.

Adding the same prefix to all importers sounds good to me.

--
Ricardo





Information forwarded to guix-patches@HIDDEN:
bug#32933; Package guix-patches. Full text available.

Message received at 32933 <at> debbugs.gnu.org:


Received: (at 32933) by debbugs.gnu.org; 15 Oct 2018 08:07:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 15 04:07:44 2018
Received: from localhost ([127.0.0.1]:49759 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gBxue-0004Nh-7H
	for submit <at> debbugs.gnu.org; Mon, 15 Oct 2018 04:07:44 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55407)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gBxub-0004NV-Vd
 for 32933 <at> debbugs.gnu.org; Mon, 15 Oct 2018 04:07:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1gBxuU-0006VI-1O
 for 32933 <at> debbugs.gnu.org; Mon, 15 Oct 2018 04:07:31 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36445)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1gBxuO-0006TA-L4; Mon, 15 Oct 2018 04:07:27 -0400
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=33902 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1gBxuE-00036b-Ul; Mon, 15 Oct 2018 04:07:22 -0400
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: Re: [bug#32933] [PATCH] guix: add license prefix hackage imports
References: <CANJQ5C6Q_izmdftZ2xWb2SbiDiCnf3-ZdTTH_UzS=hFvbtPx9Q@HIDDEN>
 <87h8hri9sj.fsf@HIDDEN>
 <CANJQ5C5PfMfM4dduVEiqnT36x_9ZpCQKN7DZtWGr2UHYA3EWDA@HIDDEN>
 <87a7nioqk6.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 24 =?utf-8?Q?Vend=C3=A9miaire?= an 227 de la
 =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Mon, 15 Oct 2018 10:07:12 +0200
In-Reply-To: <87a7nioqk6.fsf@HIDDEN> (Ricardo Wurmus's message of "Fri,
 12 Oct 2018 22:31:05 +0200")
Message-ID: <877eijljkf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 32933
Cc: 32933 <at> debbugs.gnu.org, Joe Hillenbrand <joehillen@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Hello,

Ricardo Wurmus <rekado@HIDDEN> skribis:

>> The motivation was to be consistent with the `gnu/packages/haskell.scm` =
which
>> uses the `license:` prefix. I noticed this when I imported a bunch of pa=
ckages
>> and all of them were missing the prefix, which then had to be manually a=
dded.
>>
>> On Fri, Oct 12, 2018 at 6:17 AM Ludovic Court=C3=A8s <ludo@HIDDEN> wrot=
e:
>>>
>>> No strong opinion, but apparently none of the importers currently adds
>>> the =E2=80=98license:=E2=80=99 prefix and I=E2=80=99d rather keep that =
consistent, one way or
>>> another.
>>
>> That's not entirely true. crate calls `spdx-string->license` which adds =
the
>> prefix, but it doesn't appear to actually work because it looks for the =
license
>> in the wrong part of the json output from crates.io.
>
> I have a slight preference to not adding the prefix.  It is true that
> most modules do use this prefix, but I think the importers should be
> agnostic of that.  Some modules don=E2=80=99t use this prefix (e.g. web.s=
cm) or
> no prefix at all (especially user modules that don=E2=80=99t exist yet).
>
> I=E2=80=99d rather have the importers be more flexible and do the right t=
hing
> dependent on context, but I have no good idea how to accomplish this
> considering that they are used outside of any context (unless they were
> called as part of an updater).

Right, I sort of feel along the same lines.

OTOH, the goal of =E2=80=98guix import=E2=80=99 is to provide templates as =
close as
possible to working package definitions.  In that sense, if adding the
=E2=80=98license:=E2=80=99 prefix lowers the barrier a little bit (and it c=
ertainly
does, as Joe wrote), the better.

For the sake of consistency though, it may be best to do it for all the
importers, if we were to take that route.

WDYT, Ricardo?

Thanks,
Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#32933; Package guix-patches. Full text available.

Message received at 32933 <at> debbugs.gnu.org:


Received: (at 32933) by debbugs.gnu.org; 12 Oct 2018 20:31:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 12 16:31:42 2018
Received: from localhost ([127.0.0.1]:47501 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gB462-0006eO-8I
	for submit <at> debbugs.gnu.org; Fri, 12 Oct 2018 16:31:42 -0400
Received: from sender-of-o51.zoho.com ([135.84.80.216]:21014)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1gB460-0006eF-1c
 for 32933 <at> debbugs.gnu.org; Fri, 12 Oct 2018 16:31:40 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1539376271; cv=none; d=zoho.com; s=zohoarc; 
 b=Wsjsozci4CQwwEfuk79TFKieLBigBl51y+tOJO/YMO1RNNTouxe+NlSqikZQx8QQ7SVrDEdrN36loqWJMXsxzafHtrtY1Je4QdhnViKuvV+pPbX5DK3owqHzMmgFFNlyrUiQmUYo2V/3SF/Z6j157wpIaPlpdo0XkBXV/YiHqZY=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
 s=zohoarc; t=1539376271;
 h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results;
 bh=0uBOZOJmIDdV1bHc4+F+GmzvMW7IMazFe/QP70Nujmo=; 
 b=Co52xZqNzo2coJQqwrX4f77gir2pNa4186MJstDqSksnSN7HnikNLrQue2iz7D4w/Hbfk+PhlY+MH01aCRd1OZDXEtPNQILlBQf5FxcGsZ9Er/ZAYbjwRBAL89fwwdowwOA/2HQHGSa8McRJMaZ03uB9CtCmfNYzk+duZW04yXg=
ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1539376271; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 l=1340; bh=0uBOZOJmIDdV1bHc4+F+GmzvMW7IMazFe/QP70Nujmo=;
 b=BjUFuRyGEbzit11YD3UDIdmCRz0SFbBl6JNAjwrLtZHmeoXzz9hms0+TVpmvCr79
 sZp0lfkasEBJeAx6z2jJp/7VQJaZvAVQptKxfS7EHW9kY0vzW+arlufWvujHDkmRHhn
 35bn5SAo/yzhcYC9p+VdYGR7KxXeKRWlSAq2c0ek=
Received: from localhost (port-92-200-229-246.dynamic.qsc.de [92.200.229.246])
 by mx.zohomail.com with SMTPS id 1539376269454967.582041487493;
 Fri, 12 Oct 2018 13:31:09 -0700 (PDT)
References: <CANJQ5C6Q_izmdftZ2xWb2SbiDiCnf3-ZdTTH_UzS=hFvbtPx9Q@HIDDEN>
 <87h8hri9sj.fsf@HIDDEN>
 <CANJQ5C5PfMfM4dduVEiqnT36x_9ZpCQKN7DZtWGr2UHYA3EWDA@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Ricardo Wurmus <rekado@HIDDEN>
To: Joe Hillenbrand <joehillen@HIDDEN>
Subject: Re: [bug#32933] [PATCH] guix: add license prefix hackage imports
In-reply-to: <CANJQ5C5PfMfM4dduVEiqnT36x_9ZpCQKN7DZtWGr2UHYA3EWDA@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Fri, 12 Oct 2018 22:31:05 +0200
Message-ID: <87a7nioqk6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 32933
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 32933 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Hi Joe,

> The motivation was to be consistent with the `gnu/packages/haskell.scm` w=
hich
> uses the `license:` prefix. I noticed this when I imported a bunch of pac=
kages
> and all of them were missing the prefix, which then had to be manually ad=
ded.
>
> On Fri, Oct 12, 2018 at 6:17 AM Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:
>>
>> No strong opinion, but apparently none of the importers currently adds
>> the =E2=80=98license:=E2=80=99 prefix and I=E2=80=99d rather keep that c=
onsistent, one way or
>> another.
>
> That's not entirely true. crate calls `spdx-string->license` which adds t=
he
> prefix, but it doesn't appear to actually work because it looks for the l=
icense
> in the wrong part of the json output from crates.io.

I have a slight preference to not adding the prefix.  It is true that
most modules do use this prefix, but I think the importers should be
agnostic of that.  Some modules don=E2=80=99t use this prefix (e.g. web.scm=
) or
no prefix at all (especially user modules that don=E2=80=99t exist yet).

I=E2=80=99d rather have the importers be more flexible and do the right thi=
ng
dependent on context, but I have no good idea how to accomplish this
considering that they are used outside of any context (unless they were
called as part of an updater).

--
Ricardo





Information forwarded to guix-patches@HIDDEN:
bug#32933; Package guix-patches. Full text available.

Message received at 32933 <at> debbugs.gnu.org:


Received: (at 32933) by debbugs.gnu.org; 12 Oct 2018 17:56:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 12 13:56:19 2018
Received: from localhost ([127.0.0.1]:47449 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gB1fe-00010u-Vr
	for submit <at> debbugs.gnu.org; Fri, 12 Oct 2018 13:56:19 -0400
Received: from mail-pf1-f193.google.com ([209.85.210.193]:43979)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joehillen@HIDDEN>) id 1gB1fZ-00010X-CO
 for 32933 <at> debbugs.gnu.org; Fri, 12 Oct 2018 13:56:16 -0400
Received: by mail-pf1-f193.google.com with SMTP id p24-v6so6555482pff.10
 for <32933 <at> debbugs.gnu.org>; Fri, 12 Oct 2018 10:56:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=+6DGpKPtttHBaYz/LcqJ8tY9fR9IcxqWktoTZyhJ7Ho=;
 b=nfVOf7N+aXHs6UnsroHpd7vJfwMALEfeIi/BAat7iJN2CLmDROfbSpyrwveiIkKKqd
 zMy4C5l2X4VrbfLwVBFwRLn50weq69uW0b9pTpqf4+PKdwEFUjhIs8CguXs6vSy1WSzN
 IadIL5OaaRjjQpRQnRD2Eum9+NJgPQKkfnu4mlh0MQCqDWc5OpIXlrjjFE/eMtocwCBC
 nmUnOY55MzTgs1pUtnwkU4cV1ZvM6PYUCw+RH1t24IdmSMYO6WDTHglkgdMGa/luus6s
 GcnjdX5h98pRudNbpTXtWnblim80X2mB/PJ11MFFpzp8qspXJVmfLIwl2/lj7HcOS1Wk
 jNuA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=+6DGpKPtttHBaYz/LcqJ8tY9fR9IcxqWktoTZyhJ7Ho=;
 b=osDWScizoF6kBHsR8Ll9UND/9Sh09554HlOZSmD9ENZY++QvfCxSbC6xAOqKc9pA2U
 8srachiESULTTVfdafmkG/VjLkjXArY73z49b9lD3VDfRfkds1VTMdZqiS0augUNGCwA
 ofhSANLEqrblQaclM87GHsdiY4+ZuPCXLomFdq8q75Q0zIBquWy/cd3Bbnjsw4cr4YCF
 WjD5f7PYQM8IEitSarz9x+SqstxNbnnRWi3YQqtFkvheEZedXEgZCQDEgSPBP+DrTIHh
 +PA6GesOyqp6P53SUavMYQjdaTZDwgN3pd5tbbakiyOOdplqiOY8gZDFDkSVnOFUj6mG
 +nfw==
X-Gm-Message-State: ABuFfojfvXwCLKVTFsEOti4OWuI4l/Z8pcPZEhMiusv+PsmSYn4uLYz+
 yvrVRS63YqXZ/sjLYnVEDtIVfjjZN5JWhpVpnJI=
X-Google-Smtp-Source: ACcGV615z7IWxeUZfjrHv8MgNH9cCg32dK8i3qK73kMpCfy08lO0TKRERlDPJzN9hFDZe/lru8KNGFC1Oz3LQ2EdjbE=
X-Received: by 2002:a63:ae4d:: with SMTP id
 e13-v6mr6450389pgp.315.1539366967145; 
 Fri, 12 Oct 2018 10:56:07 -0700 (PDT)
MIME-Version: 1.0
References: <CANJQ5C6Q_izmdftZ2xWb2SbiDiCnf3-ZdTTH_UzS=hFvbtPx9Q@HIDDEN>
 <87h8hri9sj.fsf@HIDDEN>
In-Reply-To: <87h8hri9sj.fsf@HIDDEN>
From: Joe Hillenbrand <joehillen@HIDDEN>
Date: Fri, 12 Oct 2018 10:55:30 -0700
Message-ID: <CANJQ5C5PfMfM4dduVEiqnT36x_9ZpCQKN7DZtWGr2UHYA3EWDA@HIDDEN>
Subject: Re: [bug#32933] [PATCH] guix: add license prefix hackage imports
To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 32933
Cc: rekado@HIDDEN, 32933 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Sorry, I meant to add justification in the commit message, but apparently I
forgot.

The motivation was to be consistent with the `gnu/packages/haskell.scm` whi=
ch
uses the `license:` prefix. I noticed this when I imported a bunch of packa=
ges
and all of them were missing the prefix, which then had to be manually adde=
d.

On Fri, Oct 12, 2018 at 6:17 AM Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:
>
> No strong opinion, but apparently none of the importers currently adds
> the =E2=80=98license:=E2=80=99 prefix and I=E2=80=99d rather keep that co=
nsistent, one way or
> another.

That's not entirely true. crate calls `spdx-string->license` which adds the
prefix, but it doesn't appear to actually work because it looks for the lic=
ense
in the wrong part of the json output from crates.io.

I'd be happy to add it to the other importers as it looks like almost all o=
f
`gnu/packages/*.scm` has the `license:` prefix. If so, should I do them all
in a new patch?

Thanks,
Joe




Information forwarded to guix-patches@HIDDEN:
bug#32933; Package guix-patches. Full text available.

Message received at 32933 <at> debbugs.gnu.org:


Received: (at 32933) by debbugs.gnu.org; 12 Oct 2018 13:17:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 12 09:17:55 2018
Received: from localhost ([127.0.0.1]:46029 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gAxKF-0002OA-ME
	for submit <at> debbugs.gnu.org; Fri, 12 Oct 2018 09:17:55 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51427)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gAxKE-0002Nw-72
 for 32933 <at> debbugs.gnu.org; Fri, 12 Oct 2018 09:17:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1gAxK8-0005nV-54
 for 32933 <at> debbugs.gnu.org; Fri, 12 Oct 2018 09:17:48 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35437)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1gAxJx-0005Xo-8l; Fri, 12 Oct 2018 09:17:38 -0400
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=58170 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1gAxJv-0001qx-Ik; Fri, 12 Oct 2018 09:17:37 -0400
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Joe Hillenbrand <joehillen@HIDDEN>
Subject: Re: [bug#32933] [PATCH] guix: add license prefix hackage imports
References: <CANJQ5C6Q_izmdftZ2xWb2SbiDiCnf3-ZdTTH_UzS=hFvbtPx9Q@HIDDEN>
Date: Fri, 12 Oct 2018 15:17:32 +0200
In-Reply-To: <CANJQ5C6Q_izmdftZ2xWb2SbiDiCnf3-ZdTTH_UzS=hFvbtPx9Q@HIDDEN>
 (Joe Hillenbrand's message of "Thu, 4 Oct 2018 09:17:23 -0700")
Message-ID: <87h8hri9sj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 32933
Cc: Ricardo Wurmus <rekado@HIDDEN>, 32933 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Hi Joe,

Joe Hillenbrand <joehillen@HIDDEN> skribis:

> ---
>  guix/import/hackage.scm | 30 ++++++++++++++++--------------
>  1 file changed, 16 insertions(+), 14 deletions(-)
>
> diff --git a/guix/import/hackage.scm b/guix/import/hackage.scm
> index 766a0b53f..8f4a46534 100644

[...]

> +   ("GPL-2" 'license:gpl2)

No strong opinion, but apparently none of the importers currently adds
the =E2=80=98license:=E2=80=99 prefix and I=E2=80=99d rather keep that cons=
istent, one way or
another.

Ricardo, WDYT?

Thanks for the patch!

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#32933; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Oct 2018 16:18:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 04 12:18:21 2018
Received: from localhost ([127.0.0.1]:36863 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g86KT-0008LH-3y
	for submit <at> debbugs.gnu.org; Thu, 04 Oct 2018 12:18:21 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36249)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joehillen@HIDDEN>) id 1g86KR-0008L2-4D
 for submit <at> debbugs.gnu.org; Thu, 04 Oct 2018 12:18:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <joehillen@HIDDEN>) id 1g86KF-0001Q8-74
 for submit <at> debbugs.gnu.org; Thu, 04 Oct 2018 12:18:13 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:53412)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <joehillen@HIDDEN>) id 1g86KF-0001Q1-1S
 for submit <at> debbugs.gnu.org; Thu, 04 Oct 2018 12:18:07 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45778)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <joehillen@HIDDEN>) id 1g86KE-0005Pt-4x
 for guix-patches@HIDDEN; Thu, 04 Oct 2018 12:18:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <joehillen@HIDDEN>) id 1g86KB-0001Nv-Vm
 for guix-patches@HIDDEN; Thu, 04 Oct 2018 12:18:06 -0400
Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]:46605)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <joehillen@HIDDEN>) id 1g86KB-0001M5-7T
 for guix-patches@HIDDEN; Thu, 04 Oct 2018 12:18:03 -0400
Received: by mail-pl1-x62d.google.com with SMTP id v5-v6so5410241plz.13
 for <guix-patches@HIDDEN>; Thu, 04 Oct 2018 09:18:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=HK81en3MKYx4CyYFmql9yC9ci9u1+AKBDYRtVDixyzo=;
 b=fSsALDIbL/Pa+nfS68vk+MKOCmLR6VLBCEymL5tJkC/856BdF6sBDo4MhM8Tv/sA9r
 qq+teACRnrVFEYmLIZemrusfLR2HBCt7Lqu4S2uHt4jUuqnbQh5LbGtYozZ5ZZd0u3mi
 OgSu2SEtpiZR6fwRFhkJfWq4oiWu2o5jPTpAbONe9jIEYmnraq9aUEF3mWreAYWfcRLx
 OTnnpK0W+XcriL+1mSAVqMqYqT/cvy5+WotFVifapKWUH07WUDuOXX3zqDUSdPKEVOpD
 Bo36V5PTBkj4XyzPwzogRKQA54fqYULT7Qto/Nfamor2hHbPVl+mDG8nkLJVuJ0Myd3x
 Ip1A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=HK81en3MKYx4CyYFmql9yC9ci9u1+AKBDYRtVDixyzo=;
 b=N9vRg/EL/FWMZAPA9qHZbSZIxBrOWlJlh127MUfaeopsMNlCGOlC3nuLAZPk77py6S
 BJ1Kn3u1dAWAww2jRYajlLWSXv9U6NlQbe3lQA09hSXeM7nVZfM0B3njPR6a04m0FxtG
 EalEg3V4zWD4XIeXdix1RxE7P+5QlDihbqk4zbaVLlgBgknhNC29Sm46TG8QPXAB7iZe
 zMoh9/xinJ68erNYuCmWDfcEGQSNYf4vyedpBX8qUwKOnaiT9p3aHNA1a1nXUeWn0loX
 WBUGuQ2L0sQi6F0cxVuHqVHiVLo4sGc5abgzxfnfz4n2AFiSCSP9AMhRwA6lnb69OL8b
 tC7w==
X-Gm-Message-State: ABuFfohO1KptSpPoKFPlZ2W9qk3Yii8MdB613Prf7AkAY0wjQGLxdy33
 r/90WON4yf4AudNn8LFoBiT9kq1xT2jdArew8YPPyg==
X-Google-Smtp-Source: ACcGV62S/VEfmsDwIlwI2Qmy/+gVdeMo69UkViO20dKzvznc2zkFyZT5ervHYsAo1QnTGctUVjgED5q2nC2zXnOBD6A=
X-Received: by 2002:a17:902:8a90:: with SMTP id
 p16-v6mr7527629plo.106.1538669881434; 
 Thu, 04 Oct 2018 09:18:01 -0700 (PDT)
MIME-Version: 1.0
From: Joe Hillenbrand <joehillen@HIDDEN>
Date: Thu, 4 Oct 2018 09:17:23 -0700
Message-ID: <CANJQ5C6Q_izmdftZ2xWb2SbiDiCnf3-ZdTTH_UzS=hFvbtPx9Q@HIDDEN>
Subject: [PATCH] guix: add license prefix hackage imports
To: guix-patches@HIDDEN
Content-Type: text/plain; charset="UTF-8"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

---
 guix/import/hackage.scm | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/guix/import/hackage.scm b/guix/import/hackage.scm
index 766a0b53f..8f4a46534 100644
--- a/guix/import/hackage.scm
+++ b/guix/import/hackage.scm
@@ -35,6 +35,7 @@
   #:use-module (guix store)
   #:use-module (gcrypt hash)
   #:use-module (guix base32)
+  #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix memoization)
   #:use-module (guix upstream)
   #:use-module (guix packages)
@@ -135,20 +136,21 @@ version."
   ;; https://www.haskell.org
   ;; /cabal/release/cabal-latest/doc/API/Cabal/Distribution-License.html.
   (match-lambda
-   ("GPL-2" 'gpl2)
-   ("GPL-3" 'gpl3)
-   ("GPL" "'gpl??")
-   ("AGPL-3" 'agpl3)
-   ("AGPL" "'agpl??")
-   ("LGPL-2.1" 'lgpl2.1)
-   ("LGPL-3" 'lgpl3)
-   ("LGPL" "'lgpl??")
-   ("BSD2" 'bsd-2)
-   ("BSD3" 'bsd-3)
-   ("MIT" 'expat)
-   ("ISC" 'isc)
-   ("MPL" 'mpl2.0)
-   ("Apache-2.0" 'asl2.0)
+   ("GPL-2" 'license:gpl2)
+   ("GPL-3" 'license:gpl3)
+   ("GPL" 'license:gpl??)
+   ("AGPL-3" 'license:agpl3)
+   ("AGPL" 'license:agpl)
+   ("LGPL-2.0" 'license:lgpl2.0)
+   ("LGPL-2.1" 'license:lgpl2.1)
+   ("LGPL-3" 'license:lgpl3)
+   ("LGPL" 'license:lgpl??)
+   ("BSD2" 'license:bsd-2)
+   ("BSD3" 'license:bsd-3)
+   ("MIT" 'license:expat)
+   ("ISC" 'license:isc)
+   ("MPL" 'license:mpl2.0)
+   ("Apache-2.0" 'license:asl2.0)
    ((x) (string->license x))
    ((lst ...) `(list ,@(map string->license lst)))
    (_ #f)))
--
2.19.0




Acknowledgement sent to Joe Hillenbrand <joehillen@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#32933; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 15 Oct 2018 14:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.