From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61223: 29.0.60; treesit--install-language-grammar-build-recipe refers github Date: Thu, 02 Feb 2023 11:03:05 +0200 Message-ID: <83sffoxwvq.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17155"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61223@debbugs.gnu.org, dgutov@yandex.ru To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 02 10:04:28 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pNVW8-0004FB-Lq for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Feb 2023 10:04:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNVVl-0003DA-80; Thu, 02 Feb 2023 04:04:05 -0500 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 1pNVVi-0003Cs-Vr for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2023 04:04:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pNVVi-0005HX-FC for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2023 04:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pNVVi-0004hV-3U for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2023 04:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Feb 2023 09:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61223 X-GNU-PR-Package: emacs Original-Received: via spool by 61223-submit@debbugs.gnu.org id=B61223.167532859218011 (code B ref 61223); Thu, 02 Feb 2023 09:04:02 +0000 Original-Received: (at 61223) by debbugs.gnu.org; 2 Feb 2023 09:03:12 +0000 Original-Received: from localhost ([127.0.0.1]:60809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNVUu-0004gR-9b for submit@debbugs.gnu.org; Thu, 02 Feb 2023 04:03:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNVUs-0004gD-9b for 61223@debbugs.gnu.org; Thu, 02 Feb 2023 04:03:11 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNVUm-00052a-Uy; Thu, 02 Feb 2023 04:03:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=fDR3RCZQnzi9ppkppS1zbkNPaBNC5IeTKsnJMk90+mE=; b=cW6uTNL6m6W4yIVLM2BN z93coAO8CZ3s/JbJ1VB8luS4SWLDStAdldC51uD7Pq2WNq795dziAVintFOVgW6H5WCyAUHbAmCxm HZeLhQG9GMziJ1x4L0mRSmBNkQANoAwSuh9weIaTiZoWScday6uVucXAN6wFYPKuBlC26xWtWs8nc JL4jsQo3NXUtu87q8zgYeKlxcXIYPcH5pncaWu2fhTl5HNhe5RfM8o+/1DpOQl2CqcIXfWssn3729 Pqpum4XOgUV7C+QDCXtTrgHh0QkV4rnwn1JVuOcoYJyWscOmlGtbfNa3vb4QfZvnl7jf1otCqM8BT DMTzvg2AZvtNUg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNVUl-0003Pj-VH; Thu, 02 Feb 2023 04:03:04 -0500 In-Reply-To: (message from Yuan Fu on Wed, 1 Feb 2023 22:17:56 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254639 Archived-At: > Cc: eliz@gnu.org, dgutov@yandex.ru > From: Yuan Fu > Date: Wed, 1 Feb 2023 22:17:56 -0800 > > I noticed that treesit-install-language-grammar now automatically builds > the repository url from github: > > (let ((repo-default (format "https://github.com/tree-sitter/tree-sitter-%s" lang))) > (read-string > "Enter the URL of the Git repository of the language grammar: " > (and (treesit--check-repo-url repo-default) repo-default))) > > > AFAICT GNU don’t want to promote/refer to github, that’s why I didn’t > include “official” grammar repositories in > treesit-language-source-alist. Was there a discussion that I missed? > > This is a nice feature, but I’d hate having to remove it later, after > users have noticed it and started using/depending on it, due to some GNU > policy. I don't see a problem here: it's just the default we offer when a grammar is available from the Tree-sitter site. It's a far cry from having a database full of GitHub URLs that we'd need to maintain and keep up to date.