From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.devel Subject: Re: [PROPOSAL] Builder, a build system integration for Emacs Date: Tue, 30 May 2023 15:08:44 +0000 Message-ID: <84fefa6fb3a04d2b2a54@heytings.org> References: <95980ffc-86e7-ad54-4a20-539d8c6ea5d0@mailo.com> <3f68f4bc-d426-0bcc-1329-674c12b29386@mailo.com> <76e12f7c-335f-476b-ffb3-fd8e8e4ab5d0@mailo.com> <87pm6rx4ea.fsf@yahoo.com> <87wn0ytefw.fsf@gmail.com> <83h6s0n95y.fsf@gnu.org> <83edn4myz4.fsf@gnu.org> <83a5xsmuc0.fsf@gnu.org> <3a315ddd3a25a56c8d6a@heytings.org> <871qiyotwe.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10901"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Richard Stallman , emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 30 17:09:20 2023 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 1q40yN-0002aO-Qf for ged-emacs-devel@m.gmane-mx.org; Tue, 30 May 2023 17:09:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q40xu-0007Wh-5H; Tue, 30 May 2023 11:08:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q40xs-0007WF-AL for emacs-devel@gnu.org; Tue, 30 May 2023 11:08:48 -0400 Original-Received: from heytings.org ([95.142.160.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q40xq-0004X1-QX; Tue, 30 May 2023 11:08:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1685459324; bh=9xjgRYKCsNB1L8pppc2tQHfowbRfxyzwqs+efVjmlew=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=BjF6FOSxtkaf62wrcrNrw4Zxzyr7+a6SAbayzTLLjwZcrVZL5we+t5FwhO17MRVXx Y+0NEopjbvj9T077Wp4BGYT02pNWkH07bRSj74XbSNUyimdrXkM02yBa8MtTExrq3m zFVpkNcCOTZoRV6rWFmFzqnadN3ZBtsmRQeUUzAqw4T07fzaHQ1YjoXIqorsEhWgcO rfZfJV6dnrrcDWyOeA0rsUgXzrbAngGSyV5fzyFzXlYgmT2piwwf0zW5zJoW2HE5dZ mxjL3f0zgX57/I0N7+HNPoGUCR3Wrx0MdPwz1MAmXqlhZhB6ia69pQgPStNVsg6ze4 DMVD0iaIq8WNg== In-Reply-To: <871qiyotwe.fsf@yahoo.com> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306413 Archived-At: >> There are at least two options to do that, which were already mentioned >> upthread: (1) running "cargo tree -f '{l}'", which will display the >> license of each of the dependencies of the program, recursively (that >> option works out of the box), and (2) installing a plugin for cargo, >> named "cargo deny", which is itself free software, and with which you >> can check, again recursively, whether all the dependencies of a program >> are free (more precisely: have a license that is present in the list of >> licenses you have chosen to allow). > > Since that plug in is not included in a default installation of Cargo, > Typing "cargo install cargo-deny" is all you need to install it. Designers of a language cannot force all users of that language to make their software free. They can incite them to do so, and can provide them with tools to do so. > > it is still unacceptable. > What makes you believe that you can decide what is acceptable and what is not? Richard is asking for facts, your categorical judgements are out of place here. > > And displaying each license of each package in a deep dependency tree > counts as ``studying'' in my book. > I was replying to Richard, who said "It means that any time you build a Rust program that you have not thoroughly studied, you don't know whether it will incorporate nonfree software." Displaying a list of licenses and checking that it doesn't contain any non-kosher ones is evidently not "thoroughly studying" a program. And you can even create a short shell script to simplify your task, something like: cargo tree -f '{p}: {l}' | sed 's/^[^a-z0-9]*//' | sort | uniq | grep -Ev '\(\*\)$|^build-dependencies] *$|MIT|Apache-2.0|GPL|BSD|ISC|MPL|Zlib'