From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Show the license of package in ELPA website. Date: Sat, 07 May 2022 09:32:07 -0400 Message-ID: References: <86sfpp4xz8.fsf@163.com> <86tua2j5h0.fsf@163.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18297"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Zhu Zihao Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 07 15:33:13 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nnKYa-0004Xb-C9 for ged-emacs-devel@m.gmane-mx.org; Sat, 07 May 2022 15:33:12 +0200 Original-Received: from localhost ([::1]:45638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnKYY-00074T-Q8 for ged-emacs-devel@m.gmane-mx.org; Sat, 07 May 2022 09:33:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnKXg-0006NE-Kf for emacs-devel@gnu.org; Sat, 07 May 2022 09:32:16 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:55738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnKXd-00069v-Ie for emacs-devel@gnu.org; Sat, 07 May 2022 09:32:15 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id C77ED100280; Sat, 7 May 2022 09:32:11 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B7BC0100138; Sat, 7 May 2022 09:32:09 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1651930329; bh=st3XaGdqsI/nTgPQ8ogvTUcxJFZt+MVlau/zvMP3vPw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=juRG/EGFm1UIolwZpy8J6rDbnYA0WNtjdIH9F3dPXSBjLzKRE8igWqJ2GH6HeNC8Q yf/qKhbjwvZRgO8asnjFi1DGQ51L7V0doB6PWjTGa1fnCE4N4n/0vi3iFsfx3CKRH1 TBfZvcksd9bmQHrTZWy0SNC6PDrlSpru6LQSWGkFXc4vweV+mbnggL+XUjM4lyBB1w 6oG+ZmU22XC1sFIImiMwmMo6C7eFtWJlqDj+Ysw876mogpzHjTmTbYacR7DXbrGMdS E3N5IWsIyucJFnpYWHeQemDcFgXUE1kfh6vESBXdFUw3885sRMrdCYsoVr90Laa+xt sScHsMb4KnLag== Original-Received: from alfajor (modemcable034.207-20-96.mc.videotron.ca [96.20.207.34]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E44571202FB; Sat, 7 May 2022 09:32:08 -0400 (EDT) In-Reply-To: <86tua2j5h0.fsf@163.com> (Zhu Zihao's message of "Sat, 07 May 2022 13:01:33 +0800") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289391 Archived-At: Zhu Zihao [2022-05-07 13:01:33] wrote: > Stefan Monnier writes: >> The packages on NonGNU ELPA may use another license but only if it's >> compatible with the GPLv3+. IOW that should be distributable under the >> GPLv3+ license, and AFAIK it's the only thing users need to know. >> >> If they really want to know that the code is using a more permissive >> license, I think it's OK to leave it up to them to do the work to find >> out. Since most ELisp code will necessarily have to be linked with the >> rest of Emacs to be useful, there are very few opportunities for users >> to take advantage of a more permissive license anyway. > > I'm working on GNU Guix packaging. When I package the Elisp package on > NonGNU ELPA, it's better to respect the origin license of the package > rather than marking them all GPLv3. Providing the license of package can > help simplify the work of distribution maintainers. > > For Guix, we have a package importer which import package from other > package hosting sites like ELPA automatically. And now the package > importer for ELPA cannot grab the license of package because NonGNU ELPA > doesn't provide them. If you take them from NonGNU ELPA, you *can* label them as GPLv3+. It's simple and technically should be correct, tho admittedly not optimal. You can also opt to try and be more faithful to the upstream license, but I suspect in that case you'll find that some of those packages don't use the same license for all their files so you can't always just stick a single license over the whole package. Also, to be clear: I'm not opposing the addition of license information in the NonGNU ELPA site. It's just that currently there's no support to provide that info anywhere and I'm not interested in doing the work needed to add support for it (especially since I consider licensing ELisp code under something else than GPLv3+ to be ... misleading). But I wouldn't mind incorporating someone else's patches to add such support :-) Stefan