From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gA1qCPmVWGUpNgAAG6o9tA:P1 (envelope-from ) for ; Sat, 18 Nov 2023 11:46:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gA1qCPmVWGUpNgAAG6o9tA (envelope-from ) for ; Sat, 18 Nov 2023 11:46:17 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 564395CEB0 for ; Sat, 18 Nov 2023 11:46:16 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=lPAR4K7E; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700304377; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=QI5LFvJmZrKK8UkaOoVnAgwvZo5LsIgPHVb8FVtHrRs=; b=J8oD6l3sQHhD0xDpcmUIs8omDvKOtQej+4GIYqeEGVIuIRzR+t/w/SSvidsGAsaD6lWJoB cXYzh/63EngmG4m8VxoFzeUPTuo4GQ2XK6R5yFN6/jtLkV609cZkm7iKpgfODOhWa/inM8 QlJ1GJrwQxfIHI48zcXuBxF2hIK9jQ3ZkUCP+9KJOz4twiLWSXuf4T/WONY0OABGaQG/Tv JRyqDHFPZHFy0SmfoJVmbXRmTtZSfCtq86PL3mRLHAqQqbgInpBhLc8RpOwwL4yVwib9Wz sfRhgixBpyeJpIfPg616vVmjM/LDvDGJIh33OzFwF+pxapHKRHLHfvWZ+XapUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=lPAR4K7E; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700304377; a=rsa-sha256; cv=none; b=N/59jModprY3WrB8R8R6XHrdicMsCAP7rXjotqwlipZHWHc+X5BK2cZUfjW+JGV5I3qXeZ YU0SHy41gk5Og5AB+xaGLKoF0YGXq3FulW/MYut+5ZK15NSNSIplFSJMvtu2J+GvFimOvk 8gbLcP2YBhmSNFyaKKRy91AOBJoUsK+vISVIAl2TwBW1BJEvFbhJnAgumIiPOX766PccNg 1JXnaE9pS8yz3R6tDs3O5d+NVH19YeyVBQp41B9IJt9PHBVIbEkNy4GxcrdUq3vUdlSRNo X+RC7vbENAePjU9BT642ZEG5NNycd25JLfCVU2wprXR9Yn3/KN19gFhV4MN51Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r4Ipw-0003cC-1r; Sat, 18 Nov 2023 05:46:04 -0500 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 1r4Ipu-0003aX-6V for guix-patches@gnu.org; Sat, 18 Nov 2023 05:46:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r4Ipt-0002F9-U7 for guix-patches@gnu.org; Sat, 18 Nov 2023 05:46:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r4Ipu-0001DU-9U for guix-patches@gnu.org; Sat, 18 Nov 2023 05:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66836] [Patch] gnu: Add tree-sitter-yaml. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Nov 2023 10:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66836 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andrew Tropin Cc: Emma Turner , 66836@debbugs.gnu.org Received: via spool by 66836-submit@debbugs.gnu.org id=B66836.17003043614668 (code B ref 66836); Sat, 18 Nov 2023 10:46:02 +0000 Received: (at 66836) by debbugs.gnu.org; 18 Nov 2023 10:46:01 +0000 Received: from localhost ([127.0.0.1]:47879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4Ips-0001DE-RU for submit@debbugs.gnu.org; Sat, 18 Nov 2023 05:46:01 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:40042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4Ipq-0001D4-5q for 66836@debbugs.gnu.org; Sat, 18 Nov 2023 05:45:59 -0500 Date: Sat, 18 Nov 2023 18:45:48 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1700304148; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QI5LFvJmZrKK8UkaOoVnAgwvZo5LsIgPHVb8FVtHrRs=; b=lPAR4K7EnZaSledHsJQ2v+xfAc23Bkzb0RliawMbSIwfo1GAgJxh/fysAAbA2S+Ed4NA3o TQzpBIZh0NUrUiITaCSxwYgxpoYXcxK7GsyfSqY0232WzHfpsaouZqaN5M5HPneZmRnxWh fgqPZYYUnr3mLlO6l7sW48/WGURoSIfBXZKWLfqBJAimJYQIYEPDqh+TDunKgXD4Z9mna0 FbxVpdeZ8nCvsnGShbTec+MP+z+T3IBlCYqhHlolt1P77te4RbnAPTgPxONl86NBgJymK4 tkp+kT57icPVsXMxPwBfRCPQzW7SHe5p6oVUqOo0H4g1thGGeblcui/zzxqrFw== Message-ID: <87fs13z6eb.wl-hako@ultrarare.space> In-Reply-To: <87zfzb33tv.fsf@trop.in> References: <5Vd2H2MDjpVPQxgawXDNnlt9fABkK8GbS0UOOARnZcHtkl9IJ0iUJjC8YXeO5g4MJ8zAs5c03prTh2cH2bgifUrvfgyuHHrZEzSmHfumWHo=@emturner.co.uk> <87pm0pww8j.wl-hako@ultrarare.space> <87zfzb33tv.fsf@trop.in> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.60 X-Spam-Score: -6.60 X-Migadu-Queue-Id: 564395CEB0 X-Migadu-Scanner: mx13.migadu.com X-TUID: BsTmuEhIQt2E Hi Andrew, On Sat, 18 Nov 2023 15:42:20 +0800, Andrew Tropin wrote: > > > There seem to be formatting issue in your patch, making the last two lines > > embedded into one: "--2.41.0". You can have a look at it in [1]. > > > > I think your changes can be shipped as a patch with Guix. Maybe you can open a > > PR to upstream as well? :) > > It seems that https://github.com/ikatyang/tree-sitter-yaml is > unmaintained, that's probably why I didn't add this grammar earlier. > > So maybe forking and taking a maintainance is not a bad idea. I have found the first tree-sitter commit causing the test failures, it's 0fb864c1a0a5a53a951e3bf830fdbdc5edac385d (v0.20.4-9-g0fb864c1), there's also open issue for it[1]. And the tree-sitter-yaml repository actually has some relevant activity this July[2]. Thanks --- [1]: Regression in YAML parsing with web-tree-sitter + tree-sitter-yaml https://github.com/tree-sitter/tree-sitter/issues/2339 [2]: https://github.com/ikatyang/tree-sitter-yaml/tree/feat/error-recovery