GNU bug report logs - #64905
[PATCH 00/10] Update tree-sitter{, -{c{, pp, -sharp}, go, java, {java, type}script, python}},

Previous Next

Package: guix-patches;

Reported by: Hilton Chain <hako <at> ultrarare.space>

Date: Thu, 27 Jul 2023 16:50:01 UTC

Severity: normal

Tags: patch

Done: Andrew Tropin <andrew <at> trop.in>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Christopher Baines <mail <at> cbaines.net>
To: Hilton Chain <hako <at> ultrarare.space>
Cc: 64905 <at> debbugs.gnu.org
Subject: [bug#64905] [PATCH v4 02/11] gnu: tree-sitter: Update to 0.20.10.
Date: Wed, 27 Sep 2023 11:40:15 +0100
[Message part 1 (text/plain, inline)]
Hilton Chain via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/tree-sitter.scm (tree-sitter): Update to 0.20.10.
> (tree-sitter-cli)[arguments]<#:cargo-test-flags>: Skip github_issue_test.
> <#:cargo-inputs>: Add rust-path-slash-0.2.
> ---
>  gnu/packages/tree-sitter.scm | 12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
> index 117c2acb0c..ffed09d945 100644
> --- a/gnu/packages/tree-sitter.scm
> +++ b/gnu/packages/tree-sitter.scm
> @@ -94,18 +94,20 @@ (define-public python-tree-sitter
>      (license license:expat)))
>  
>  (define-public tree-sitter
> +  ;; Untagged
> +  (let ((commit "0e4ff0bb27edf37b76fc7d35aa768b02cf4392ad"))
>    (package
>      (name "tree-sitter")
> -    (version "0.20.8")
> +    (version "0.20.10")
>      (source (origin
>                (method git-fetch)
>                (uri (git-reference
>                      (url "https://github.com/tree-sitter/tree-sitter")
> -                    (commit (string-append "v" version))))
> +                    (commit commit)))

If this is just a case of upstream "releasing", but not tagging the
commit, I'd just put the commit in on this line. You don't need the (let
((commit ... pattern unless you're incorporating the commit in to the
version.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 1 year and 271 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.