GNU bug report logs - #75172
[PATCH] gnu: fennel: Update to 1.5.1.

Previous Next

Package: guix-patches;

Reported by: Yovan Naumovski <yovan <at> gorski.stream>

Date: Sun, 29 Dec 2024 09:54:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75172 in the body.
You can then email your comments to 75172 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#75172; Package guix-patches. (Sun, 29 Dec 2024 09:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yovan Naumovski <yovan <at> gorski.stream>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 29 Dec 2024 09:54:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Yovan Naumovski <yovan <at> gorski.stream>
To: guix-patches <at> gnu.org
Cc: Yovan Naumovski <yovan <at> gorski.stream>
Subject: [PATCH] gnu: fennel: Update to 1.5.1.
Date: Sun, 29 Dec 2024 11:52:19 +0200
* gnu/packages/lua.scm (fennel): Update to 1.5.1.

Change-Id: I6775e34e470a957a741a2b079d5e8040c98921d2
---
 gnu/packages/lua.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index 074ab6a0aa..7d060ed3e4 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -1396,7 +1396,7 @@ (define-public emilua
 (define-public fennel
   (package
     (name "fennel")
-    (version "1.5.0")
+    (version "1.5.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1405,7 +1405,7 @@ (define-public fennel
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0d25v7swq3msxsdzv91wwxy89y3qgw4bvzq1px89qsjzbbd7ccg2"))))
+                "09m7v62qw058llfrfqja14yx8ngjzrfx10hf2h1cc5zz0nbw89bj"))))
     (build-system gnu-build-system)
     (arguments
      (list #:make-flags #~(list (string-append "PREFIX="
@@ -1416,6 +1416,11 @@ (define-public fennel
                         (delete 'configure)
                         (add-after 'build 'patch-fennel
                           (lambda* (#:key inputs #:allow-other-keys)
+                            ;; Skip IRC CI build status reporting, it's not
+                            ;; used here.
+                            (substitute* "test/irc.lua"
+                              (("local is_origin")
+                               "if remote == nil then\nreturn function() end\nend\nlocal is_origin"))
                             (substitute* "fennel"
                               (("/usr/bin/env .*lua")
                                (search-input-file inputs "/bin/lua")))))

base-commit: a34d8e2721d458e09f63b654dfe79e78589ac9a9
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#75172; Package guix-patches. (Sun, 29 Dec 2024 18:05:02 GMT) Full text and rfc822 format available.

Message #8 received at 75172 <at> debbugs.gnu.org (full text, mbox):

From: Noé Lopez <noe <at> xn--no-cja.eu>
To: control <at> debbugs.gnu.org,75172 <at> debbugs.gnu.org
Subject: QA review for 75172
Date: Sun, 29 Dec 2024 19:03:47 +0100
user guix
usertag 75172 + reviewed-looks-good
thanks

Guix QA review form submission:
Thanks for the patch, it builds and works well.

The line you added in substitute* is a bit too long, but I think you can
just replace the \n with an actual line break:

                            (substitute* "test/irc.lua"
                              (("local is_origin")
                               "if remote == nil then
return function() end\nend\nlocal is_origin"))

Have a nice day,
Noé Lopez

Items marked as checked: Package builds, Commit messages




Information forwarded to guix-patches <at> gnu.org:
bug#75172; Package guix-patches. (Mon, 30 Dec 2024 09:23:01 GMT) Full text and rfc822 format available.

Message #11 received at 75172 <at> debbugs.gnu.org (full text, mbox):

From: Yovan Naumovski <yovan <at> gorski.stream>
To: 75172 <at> debbugs.gnu.org
Cc: Yovan Naumovski <yovan <at> gorski.stream>
Subject: [PATCH] gnu: fennel: Update to 1.5.1.
Date: Mon, 30 Dec 2024 11:18:20 +0200
* gnu/packages/lua.scm (fennel): Update to 1.5.1.

Thanks Noé, I split the long line as suggested.

Change-Id: I6775e34e470a957a741a2b079d5e8040c98921d2
---
 gnu/packages/lua.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index 074ab6a0aa..24ec843cd4 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -1396,7 +1396,7 @@ (define-public emilua
 (define-public fennel
   (package
     (name "fennel")
-    (version "1.5.0")
+    (version "1.5.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1405,7 +1405,7 @@ (define-public fennel
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0d25v7swq3msxsdzv91wwxy89y3qgw4bvzq1px89qsjzbbd7ccg2"))))
+                "09m7v62qw058llfrfqja14yx8ngjzrfx10hf2h1cc5zz0nbw89bj"))))
     (build-system gnu-build-system)
     (arguments
      (list #:make-flags #~(list (string-append "PREFIX="
@@ -1416,6 +1416,12 @@ (define-public fennel
                         (delete 'configure)
                         (add-after 'build 'patch-fennel
                           (lambda* (#:key inputs #:allow-other-keys)
+                            ;; Skip IRC CI build status reporting, it's not
+                            ;; used here.
+                            (substitute* "test/irc.lua"
+                              (("local is_origin")
+                               "if remote == nil then
+return function() end\nend\nlocal is_origin"))
                             (substitute* "fennel"
                               (("/usr/bin/env .*lua")
                                (search-input-file inputs "/bin/lua")))))

base-commit: a34d8e2721d458e09f63b654dfe79e78589ac9a9
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#75172; Package guix-patches. (Mon, 30 Dec 2024 19:51:01 GMT) Full text and rfc822 format available.

Message #14 received at 75172 <at> debbugs.gnu.org (full text, mbox):

From: Ian Eure <ian <at> retrospec.tv>
To: 75172 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: fennel: Update to 1.5.1.
Date: Mon, 30 Dec 2024 11:50:31 -0800
Hi Yovan,

I think it’d be a better approach to remove test/irc.lua from the 
test suite entirely, rather than patch test/irc.lua itself.  I 
believe removing the second argument to t.run in test/init.lua 
will accomplish this.

I’d also suggest to upstream that there should be a clearer 
mechanism to enable/disable IRC reporting, perhaps via an 
environment variable.

 -- Ian




Information forwarded to guix-patches <at> gnu.org:
bug#75172; Package guix-patches. (Mon, 30 Dec 2024 21:21:01 GMT) Full text and rfc822 format available.

Message #17 received at 75172 <at> debbugs.gnu.org (full text, mbox):

From: Yovan Naumovski <yovan <at> gorski.stream>
To: 75172 <at> debbugs.gnu.org
Cc: Yovan Naumovski <yovan <at> gorski.stream>
Subject: [PATCH] gnu: fennel: Update to 1.5.1.
Date: Mon, 30 Dec 2024 23:11:46 +0200
* gnu/packages/lua.scm (fennel): Update to 1.5.1.

Hey Ian,

I took that snippet from the main branch [1] and the test phase
probably won't fail there in the next version, but I agree - removing
test/irc.lua is better as the CI build status reporting is not used by
Guix.

Thanks,
Yovan.

[1] - https://git.sr.ht/~technomancy/fennel/tree/main/item/test/irc.lua#L6

Change-Id: I6775e34e470a957a741a2b079d5e8040c98921d2
---
 gnu/packages/lua.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index 074ab6a0aa..4c65bcbf12 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -1396,7 +1396,7 @@ (define-public emilua
 (define-public fennel
   (package
     (name "fennel")
-    (version "1.5.0")
+    (version "1.5.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1405,7 +1405,7 @@ (define-public fennel
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0d25v7swq3msxsdzv91wwxy89y3qgw4bvzq1px89qsjzbbd7ccg2"))))
+                "09m7v62qw058llfrfqja14yx8ngjzrfx10hf2h1cc5zz0nbw89bj"))))
     (build-system gnu-build-system)
     (arguments
      (list #:make-flags #~(list (string-append "PREFIX="
@@ -1416,6 +1416,11 @@ (define-public fennel
                         (delete 'configure)
                         (add-after 'build 'patch-fennel
                           (lambda* (#:key inputs #:allow-other-keys)
+                            ;; Remove IRC CI build status reporting
+                            (delete-file "test/irc.lua")
+                            (substitute* "test/init.lua"
+                              ((",\\{hooks=\\{exit=dofile\\(\"test/irc.lua\"\\)\\}\\}")
+                               ""))
                             (substitute* "fennel"
                               (("/usr/bin/env .*lua")
                                (search-input-file inputs "/bin/lua")))))

base-commit: a34d8e2721d458e09f63b654dfe79e78589ac9a9
-- 
2.46.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 06 Jan 2025 15:25:02 GMT) Full text and rfc822 format available.

Notification sent to Yovan Naumovski <yovan <at> gorski.stream>:
bug acknowledged by developer. (Mon, 06 Jan 2025 15:25:02 GMT) Full text and rfc822 format available.

Message #22 received at 75172-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Yovan Naumovski <yovan <at> gorski.stream>
Cc: 75172-done <at> debbugs.gnu.org
Subject: Re: [bug#75172] [PATCH] gnu: fennel: Update to 1.5.1.
Date: Mon, 06 Jan 2025 16:24:00 +0100
Yovan Naumovski <yovan <at> gorski.stream> skribis:

> * gnu/packages/lua.scm (fennel): Update to 1.5.1.
>
> Hey Ian,
>
> I took that snippet from the main branch [1] and the test phase
> probably won't fail there in the next version, but I agree - removing
> test/irc.lua is better as the CI build status reporting is not used by
> Guix.
>
> Thanks,
> Yovan.
>
> [1] - https://git.sr.ht/~technomancy/fennel/tree/main/item/test/irc.lua#L6
>
> Change-Id: I6775e34e470a957a741a2b079d5e8040c98921d2

Applied, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 04 Feb 2025 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 2 days ago.

Previous Next


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