GNU bug report logs - #76512
[PATCH] gnu: emacs-ws-butler: Update to 1.1 from new maintainer.

Previous Next

Package: guix-patches;

Reported by: Liam Hupfer <liam <at> hpfr.net>

Date: Sun, 23 Feb 2025 19:57:02 UTC

Severity: normal

Tags: patch

Done: Ian Eure <ian <at> retrospec.tv>

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 76512 in the body.
You can then email your comments to 76512 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 andrew <at> trop.in, divya <at> subvertising.org, ian <at> retrospec.tv, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org:
bug#76512; Package guix-patches. (Sun, 23 Feb 2025 19:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Liam Hupfer <liam <at> hpfr.net>:
New bug report received and forwarded. Copy sent to andrew <at> trop.in, divya <at> subvertising.org, ian <at> retrospec.tv, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org. (Sun, 23 Feb 2025 19:57:02 GMT) Full text and rfc822 format available.

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

From: Liam Hupfer <liam <at> hpfr.net>
To: guix-patches <at> gnu.org
Cc: Liam Hupfer <liam <at> hpfr.net>
Subject: [PATCH] gnu: emacs-ws-butler: Update to 1.1 from new maintainer.
Date: Sun, 23 Feb 2025 13:55:50 -0600
The original author of ws-butler is largely inactive.  Sean Whitton has
taken over maintenance at NonGNU ELPA and applied several outstanding
patches.  ELPA tarballs do not deploy tests, so remove test support and
rely on upstream in alignment with other packages sourced from NonGNU
ELPA.

While we’re here, tidy the package docs and run guix style.

* gnu/packages/emacs-xyz.scm (emacs-ws-butler): Update to 1.1 from new
maintainer.

Link: https://github.com/lewang/ws-butler/issues/52
Link: https://github.com/lewang/ws-butler/issues/58
Change-Id: I09db3d855c4b15d2253090884106e00bc1719607
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++----------------
 1 file changed, 10 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 59c1927135..06b50cd40c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22499,27 +22499,21 @@ (define-public emacs-hercules
 (define-public emacs-ws-butler
   (package
     (name "emacs-ws-butler")
-    (version "0.7")
+    (version "1.1")
     (source
      (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/lewang/ws-butler")
-             (commit "v0.7")))
-       (file-name (git-file-name name version))
+       (method url-fetch)
+       (uri (string-append "https://elpa.nongnu.org/nongnu/ws-butler-" version
+                           ".tar"))
        (sha256
-        (base32 "17f73isx2wdwzjcxparyy7ngl4cha0g69da1d72b3yidzim1kh6h"))))
+        (base32 "1vy7g2ryg1drcz9zpn011d36zcd9a5b5yny5hwpjrllqj5dg73jx"))))
     (build-system emacs-build-system)
-    (arguments
-     `(#:tests? #t
-       #:test-command '("ert-runner" "tests")))
-    (native-inputs
-     (list emacs-ert-runner))
-    (home-page "https://github.com/lewang/ws-butler")
-    (synopsis "Trim spaces from end of lines")
+    (home-page "https://elpa.nongnu.org/nongnu/ws-butler.html")
+    (synopsis "Unobtrusively remove trailing whitespace")
     (description
-     "This Emacs package automatically and unobtrusively trims whitespace
-characters from end of lines.")
+     "ws-butler automatically trims trailing whitespace characters on save.
+In contrast with other whitespace cleanup solutions, only modified lines are
+trimmed.")
     (license license:gpl3+)))
 
 (define-public emacs-opencl-mode

base-commit: 23b068c036223e70bdea9d7d579850a1cffc02a7
-- 
2.48.1





Information forwarded to guix-patches <at> gnu.org:
bug#76512; Package guix-patches. (Mon, 24 Feb 2025 14:58:01 GMT) Full text and rfc822 format available.

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

From: Ian Eure <ian <at> retrospec.tv>
To: Liam Hupfer <liam <at> hpfr.net>
Cc: 76512 <at> debbugs.gnu.org
Subject: Re: [bug#76512] [PATCH] gnu: emacs-ws-butler: Update to 1.1 from
 new maintainer.
Date: Mon, 24 Feb 2025 06:57:23 -0800
Hi Liam,

Liam Hupfer <liam <at> hpfr.net> writes:

> The original author of ws-butler is largely inactive.  Sean 
> Whitton has
> taken over maintenance at NonGNU ELPA and applied several 
> outstanding
> patches.  ELPA tarballs do not deploy tests, so remove test 
> support and
> rely on upstream in alignment with other packages sourced from 
> NonGNU
> ELPA.
>
> While we’re here, tidy the package docs and run guix style.
>
> * gnu/packages/emacs-xyz.scm (emacs-ws-butler): Update to 1.1 
> from new
> maintainer.
>
> Link: https://github.com/lewang/ws-butler/issues/52
> Link: https://github.com/lewang/ws-butler/issues/58
> Change-Id: I09db3d855c4b15d2253090884106e00bc1719607
> ---
>  gnu/packages/emacs-xyz.scm | 26 ++++++++++----------------
>  1 file changed, 10 insertions(+), 16 deletions(-)
>
> diff --git a/gnu/packages/emacs-xyz.scm 
> b/gnu/packages/emacs-xyz.scm
> index 59c1927135..06b50cd40c 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -22499,27 +22499,21 @@ (define-public emacs-hercules
>  (define-public emacs-ws-butler
>    (package
>      (name "emacs-ws-butler")
> -    (version "0.7")
> +    (version "1.1")
>      (source
>       (origin
> -       (method git-fetch)
> -       (uri (git-reference
> -             (url "https://github.com/lewang/ws-butler")
> -             (commit "v0.7")))
> -       (file-name (git-file-name name version))
> +       (method url-fetch)
> +       (uri (string-append 
> "https://elpa.nongnu.org/nongnu/ws-butler-" version
> +                           ".tar"))

Is there an upstream source repo?  If it’s reasonable to do so, 
it’s preferable to use that rather than M/ELPA URLs.

Everything else looks good to me.

Thanks,
 -- Ian




Information forwarded to guix-patches <at> gnu.org:
bug#76512; Package guix-patches. (Tue, 25 Feb 2025 04:34:01 GMT) Full text and rfc822 format available.

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

From: Liam Hupfer <liam <at> hpfr.net>
To: Ian Eure <ian <at> retrospec.tv>
Cc: 76512 <at> debbugs.gnu.org
Subject: Re: [bug#76512] [PATCH] gnu: emacs-ws-butler: Update to 1.1 from
 new maintainer.
Date: Mon, 24 Feb 2025 22:33:01 -0600
[Message part 1 (text/plain, inline)]
Ian Eure <ian <at> retrospec.tv> writes:

> Is there an upstream source repo?  If it’s reasonable to do so, 
> it’s preferable to use that rather than M/ELPA URLs.

Sean seems to be maintaining it directly in the NonGNU ELPA repo:
<https://git.savannah.gnu.org/cgit/emacs/nongnu.git/?h=elpa/ws-butler>

I took a look at other packages from NonGNU ELPA in emacs-xyz and they
all seem to use the generated tarballs, so I followed suit here. I think
using the ELPA tarball means ‘guix refresh’ will work, which seems
noteworthy. I know upstream Git repos are preferable to MELPA, but I
think deploying to ELPA and NonGNU ELPA is more intentional on the
upstream maintainer’s part (focused on tagged releases).

> Everything else looks good to me.

Good to hear, thanks for reviewing!

—Liam

Information forwarded to guix-patches <at> gnu.org:
bug#76512; Package guix-patches. (Tue, 25 Feb 2025 04:55:02 GMT) Full text and rfc822 format available.

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

From: Ian Eure <ian <at> retrospec.tv>
To: Liam Hupfer <liam <at> hpfr.net>
Cc: 76512 <at> debbugs.gnu.org
Subject: Re: [bug#76512] [PATCH] gnu: emacs-ws-butler: Update to 1.1 from
 new maintainer.
Date: Mon, 24 Feb 2025 20:53:56 -0800
Hi Liam,

Liam Hupfer <liam <at> hpfr.net> writes:

> Ian Eure <ian <at> retrospec.tv> writes:
>
>> Is there an upstream source repo?  If it’s reasonable to do so, 
>> it’s preferable to use that rather than M/ELPA URLs.
>
> Sean seems to be maintaining it directly in the NonGNU ELPA 
> repo:
> <https://git.savannah.gnu.org/cgit/emacs/nongnu.git/?h=elpa/ws-butler>
>
> I took a look at other packages from NonGNU ELPA in emacs-xyz 
> and they
> all seem to use the generated tarballs, so I followed suit 
> here. I think
> using the ELPA tarball means ‘guix refresh’ will work, which 
> seems
> noteworthy. I know upstream Git repos are preferable to MELPA, 
> but I
> think deploying to ELPA and NonGNU ELPA is more intentional on 
> the
> upstream maintainer’s part (focused on tagged releases).

Okay, that sure sounds like "not reasonable to do so" to me. 
Thank you for following up, I’ll push this momentarily.

 -- Ian




bug closed, send any further explanations to 76512 <at> debbugs.gnu.org and Liam Hupfer <liam <at> hpfr.net> Request was from Ian Eure <ian <at> retrospec.tv> to control <at> debbugs.gnu.org. (Tue, 25 Feb 2025 05:40:02 GMT) Full text and rfc822 format available.

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

This bug report was last modified 84 days ago.

Previous Next


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