Subject: Re: gnu: hut: Update to 0.6.0

From: Javier Olaechea <[email-masked]>
Date: Tue, 10 Sep 2024 00:50:06 +0000

> an you see the commit style for updating
> changes and send a v2?

Sure, attached is the updated patch. I used the following commit as an
example.
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=0a62e33064630a0a383bf2e803aa0a56531901f6

Thanks for reviewing the patch quickly and let me know if you want to do
other changes

Cheers

-- 
"I object to doing things that computers can do." — Olin Shivers
From 7b30b19bb3b3d7fdc80c52066c31add491eec32d Mon Sep 17 00:00:00 2001
Message-ID: <[email-masked]>
From: Javier Olaechea <[email-masked]>
Date: Sun, 8 Sep 2024 23:38:03 -0500
Subject: [PATCH v2] gnu: hut: Update to 0.6.0

* gnu/packages/version-control.scm (hut): Update to 0.6.0
[source]: Update URL.
[arguments]: Update import path.
[inputs]: Remove golang-org-x-auth2[2] and add go-github.com-google-shlex[1].
[home-page]: Update home-page.

See [0] as reference that ~xenrox is the new upstream.

[0]: https://git.sr.ht/~emersion/hut/commit/82e6f9fd3a5eb9c4365af43a03aecb9d5ac2ea97
[1]: https://git.sr.ht/~xenrox/hut/commit/6c85e1e3726a54e10783db84d72e0eafa1428090
[2]: https://git.sr.ht/~xenrox/hut/commit/515e9299778c5a6bb2b23d0b69e427442691dfd1

Change-Id: I64d2b068aedc12a41b695048fcb3fd329d82509f
---
 gnu/packages/version-control.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 0c4cdedce8..3c671afd0f 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -4187,20 +4187,20 @@ (define-public gitlint
 (define-public hut
   (package
     (name "hut")
-    (version "0.4.0")
+    (version "0.6.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://git.sr.ht/~emersion/hut")
+             (url "https://git.sr.ht/~xenrox/hut")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0klp7qlii07j8ka9g91m5xg3ybg6cq0p5lp1ibfihq2p4kwqj57m"))))
+        (base32 "14cia976i2jdzyzw4wk9fhkh6zqgmb09ryf31ys24smmfcdfxyf1"))))
     (build-system go-build-system)
     (arguments
      (list
-      #:import-path "git.sr.ht/~emersion/hut"
+      #:import-path "git.sr.ht/~xenrox/hut"
       #:phases
       #~(modify-phases %standard-phases
           (replace 'build
@@ -4220,11 +4220,11 @@ (define-public hut
      (list go-git-sr-ht-emersion-go-scfg
            go-git-sr-ht-emersion-gqlclient
            go-github-com-dustin-go-humanize
+           go-github-com-google-shlex
            go-github-com-juju-ansiterm
            go-github-com-spf13-cobra
-           go-golang-org-x-oauth2
            go-golang-org-x-term))
-    (home-page "https://git.sr.ht/~emersion/hut")
+    (home-page "https://git.sr.ht/~xenrox/hut")
     (synopsis "CLI tool for sr.ht")
     (description "@command{hut} is a CLI tool for
 @uref{https://sr.ht/~sircmpwn/sourcehut/, sr.ht}.  It helps you interact with

base-commit: b82c8ceae14d5d0f4584452f34f5103ffd0e0f8d
-- 
2.45.2