From: Eli Zaretskii <eliz@gnu.org>
To: Yuan Fu <casouri@gmail.com>
Cc: 61223@debbugs.gnu.org, dgutov@yandex.ru
Subject: bug#61223: 29.0.60; treesit--install-language-grammar-build-recipe refers github
Date: Thu, 02 Feb 2023 11:03:05 +0200 [thread overview]
Message-ID: <83sffoxwvq.fsf@gnu.org> (raw)
In-Reply-To: <CAC52924-94F1-43E3-A8A2-ECBEB971AAAD@gmail.com> (message from Yuan Fu on Wed, 1 Feb 2023 22:17:56 -0800)
> Cc: eliz@gnu.org, dgutov@yandex.ru
> From: Yuan Fu <casouri@gmail.com>
> 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.
next prev parent reply other threads:[~2023-02-02 9:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-02 6:17 bug#61223: 29.0.60; treesit--install-language-grammar-build-recipe refers github Yuan Fu
2023-02-02 8:41 ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-02 9:03 ` Eli Zaretskii [this message]
2023-02-03 2:40 ` Yuan Fu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83sffoxwvq.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=61223@debbugs.gnu.org \
--cc=casouri@gmail.com \
--cc=dgutov@yandex.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).