unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud
@ 2024-12-29 12:12 Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 01/18] gnu: Add go-github-com-fatih-structs Roman Scherer
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:12 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer, Sharlatan Hellseher

Hello Guix,

this patch series adds the hcloud command to Guix, a command-line interface
for the Hetzner Cloud service.

Could you please review it?

Thanks, Roman.

Roman Scherer (18):
  gnu: Add go-github-com-fatih-structs.
  gnu: Add go-github-com-guptarohit-asciigraph.
  gnu: Add go-github-com-jmattheis-goverter.
  gnu: Add go-github-com-vburenin-ifacemaker.
  gnu: Add go-github-com-jedib0t-go-pretty-list.
  gnu: Add go-github-com-jedib0t-go-pretty-progress.
  gnu: Add go-github-com-jedib0t-go-pretty-table.
  gnu: Add go-github-com-jedib0t-go-pretty-text.
  gnu: Add go-github-com-bool64-dev.
  gnu: Add go-github-com-bool64-shared.
  gnu: Add go-github-com-iancoleman-orderedmap.
  gnu: Add go-github-com-yosuke-furukawa-json5.
  gnu: Add go-github-com-sergi-go-diff-diffmatchpatch.
  gnu: Add go-github-com-yudai-golcs.
  gnu: Add go-github-com-yudai-gojsondiff.
  gnu: Add go-github-com-swaggest-assertjson.
  gnu: Add go-github-com-hetznercloud-hcloud-go.
  gnu: Add go-github-com-hetznercloud-cli.

 gnu/packages/admin.scm      |  80 ++++++++
 gnu/packages/golang-xyz.scm | 379 ++++++++++++++++++++++++++++++++++++
 2 files changed, 459 insertions(+)


base-commit: 831b94a1efcea8f793afc949b5123a6235c9bb1a
--
2.47.1




^ permalink raw reply	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 01/18] gnu: Add go-github-com-fatih-structs.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 02/18] gnu: Add go-github-com-guptarohit-asciigraph Roman Scherer
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-fatih-structs): New variable.

Change-Id: I7c2f90845754991253fcfa9699746d98ac030ff1
---
 gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index e17afa6f2a..fab7fa5403 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3101,6 +3101,29 @@ (define-public go-github-com-fatih-color
 defined output to the standard output.")
     (license license:expat)))
 
+(define-public go-github-com-fatih-structs
+  (package
+    (name "go-github-com-fatih-structs")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/fatih/structs")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1wrhb8wp8zpzggl61lapb627lw8yv281abvr6vqakmf569nswa9q"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/fatih/structs"))
+    (home-page "https://github.com/fatih/structs")
+    (synopsis "Utilities for Go structs")
+    (description "This package provides various utilitiy functions to work
+with Go structs.")
+    (license license:expat)))
+
 ;; XXX: This repository has been archived by the owner on Nov 9, 2017. It is
 ;; now read-only.
 (define-public go-github-com-flynn-archive-go-shlex
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 02/18] gnu: Add go-github-com-guptarohit-asciigraph.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 01/18] gnu: Add go-github-com-fatih-structs Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 03/18] gnu: Add go-github-com-jmattheis-goverter Roman Scherer
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-guptarohit-asciigraph): New variable.

Change-Id: I621a684ede58485940c354a049c1343fb6d2bd0b
---
 gnu/packages/golang-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index fab7fa5403..1db1c80efd 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3868,6 +3868,28 @@ (define-public go-github-com-goreleaser-fileglob
 configuration.")
     (license license:expat)))
 
+(define-public go-github-com-guptarohit-asciigraph
+  (package
+    (name "go-github-com-guptarohit-asciigraph")
+    (version "0.7.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/guptarohit/asciigraph")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1j708hj80hk1b39zbdfx6kqy75i70jhz55bml0jngqwfx698d1pv"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/guptarohit/asciigraph"))
+    (home-page "https://github.com/guptarohit/asciigraph")
+    (synopsis "ASCII line graphs for Golang")
+    (description "This package can generate ASCII line graphs in Golang.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-hashicorp-errwrap
   (package
     (name "go-github-com-hashicorp-errwrap")
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 03/18] gnu: Add go-github-com-jmattheis-goverter.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 01/18] gnu: Add go-github-com-fatih-structs Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 02/18] gnu: Add go-github-com-guptarohit-asciigraph Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 04/18] gnu: Add go-github-com-vburenin-ifacemaker Roman Scherer
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-jmattheis-goverter): New variable.

Change-Id: Ia6cb4b01bdb42fa819aff9badd7abcb532d2381c
---
 gnu/packages/golang-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 1db1c80efd..9e2273d865 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4487,6 +4487,36 @@ (define-public go-github-com-jinzhu-copier
 struct to another.")
     (license license:expat)))
 
+(define-public go-github-com-jmattheis-goverter
+  (package
+    (name "go-github-com-jmattheis-goverter")
+    (version "1.7.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jmattheis/goverter")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0ph8470wxpf8p2cdr5w3hkchlgpiyzljlsdna9jvhgw53sf2c32n"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/jmattheis/goverter"
+      #:tests? #f))
+    (propagated-inputs (list go-gopkg-in-yaml-v3 go-golang-org-x-tools
+                             go-github-com-stretchr-testify
+                             go-github-com-dave-jennifer))
+    (home-page "https://github.com/jmattheis/goverter")
+    (synopsis "Generate type-safe Go converters by defining function
+signatures")
+    (description
+     "This package can generate type-safe converters for Go.  The project is
+meant as alternative to @@url{https://github.com/jinzhu/copier,jinzhu/copier}
+that doesn't use reflection.")
+    (license license:expat)))
+
 (define-public go-github-com-johnkerl-lumin
   (package
     (name "go-github-com-johnkerl-lumin")
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 04/18] gnu: Add go-github-com-vburenin-ifacemaker.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (2 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 03/18] gnu: Add go-github-com-jmattheis-goverter Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 05/18] gnu: Add go-github-com-jedib0t-go-pretty-list Roman Scherer
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-vburenin-ifacemaker): New variable.

Change-Id: Iab364ac8a7108585009cefbe06fd0558265e806d
---
 gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 9e2273d865..0f5ffc46d2 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7776,6 +7776,35 @@ (define-public go-github-com-tkuchiki-go-timezone
 @end itemize")
     (license license:expat)))
 
+(define-public go-github-com-vburenin-ifacemaker
+  (package
+    (name "go-github-com-vburenin-ifacemaker")
+    (version "1.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/vburenin/ifacemaker")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "00031373i4xqrsaf7yv93czfmcf5qzn94mmqwamyjd6gpq37p1hl"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/vburenin/ifacemaker"))
+    (propagated-inputs (list go-golang-org-x-tools
+                             go-github-com-stretchr-testify
+                             go-github-com-jessevdk-go-flags))
+    (home-page "https://github.com/vburenin/ifacemaker")
+    (synopsis "Generate interfaces from structure methods in Golang")
+    (description
+     "This is a development helper program that generates a Golang interface
+by inspecting the structure methods of an existing @@code{.go} file.  The
+primary use case is to generate interfaces for gomock, so that gomock can
+generate mocks from those interfaces.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-vitrun-qart
   (let ((commit "bf64b92db6b05651d6c25a3dabf2d543b360c0aa")
         (revision "0"))
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 05/18] gnu: Add go-github-com-jedib0t-go-pretty-list.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (3 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 04/18] gnu: Add go-github-com-vburenin-ifacemaker Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 06/18] gnu: Add go-github-com-jedib0t-go-pretty-progress Roman Scherer
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-jedib0t-go-pretty-list): New variable.

Change-Id: I5620f3c56d1847611d3c4c91a4c429de37f32ea3
---
 gnu/packages/golang-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0f5ffc46d2..65095b5c6f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4464,6 +4464,37 @@ (define-public go-github-com-jdkato-twine
      "NLP-related string utility functions for Golang.")
     (license license:expat)))
 
+(define-public go-github-com-jedib0t-go-pretty-list
+  (package
+    (name "go-github-com-jedib0t-go-pretty-list")
+    (version "6.6.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jedib0t/go-pretty")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0sy8fia04lxi07yga7z3h3fp19y4bla5p16v1n7ldip0ymdmvjnx"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/jedib0t/go-pretty/list"
+      #:unpack-path "github.com/jedib0t/go-pretty"))
+    (propagated-inputs (list go-golang-org-x-text
+                             go-golang-org-x-term
+                             go-golang-org-x-sys
+                             go-github-com-stretchr-testify
+                             go-github-com-pkg-profile
+                             go-github-com-mattn-go-runewidth))
+    (home-page "https://github.com/jedib0t/go-pretty")
+    (synopsis "Utilities to prettify console output of lists")
+    (description
+     "This package provides utilities to prettify console output of lists
+with an emphasis on customization.")
+    (license license:expat)))
+
 (define-public go-github-com-jinzhu-copier
   (package
     (name "go-github-com-jinzhu-copier")
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 06/18] gnu: Add go-github-com-jedib0t-go-pretty-progress.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (4 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 05/18] gnu: Add go-github-com-jedib0t-go-pretty-list Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 07/18] gnu: Add go-github-com-jedib0t-go-pretty-table Roman Scherer
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-jedib0t-go-pretty-progress): New variable.

Change-Id: I6caf5704e4e8bfa74c07cd3c36d06b134c4c6610
---
 gnu/packages/golang-xyz.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 65095b5c6f..7918df44d3 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4495,6 +4495,19 @@ (define-public go-github-com-jedib0t-go-pretty-list
 with an emphasis on customization.")
     (license license:expat)))
 
+(define-public go-github-com-jedib0t-go-pretty-progress
+  (package
+    (inherit go-github-com-jedib0t-go-pretty-list)
+    (name "go-github-com-jedib0t-go-pretty-progress")
+    (arguments
+     (list
+      #:import-path "github.com/jedib0t/go-pretty/progress"
+      #:unpack-path "github.com/jedib0t/go-pretty"))
+    (synopsis "Utilities to prettify console output of progress bars")
+    (description
+     "This package provides utilities to prettify console output of progress
+bars with an emphasis on customization.")))
+
 (define-public go-github-com-jinzhu-copier
   (package
     (name "go-github-com-jinzhu-copier")
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 07/18] gnu: Add go-github-com-jedib0t-go-pretty-table.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (5 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 06/18] gnu: Add go-github-com-jedib0t-go-pretty-progress Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 08/18] gnu: Add go-github-com-jedib0t-go-pretty-text Roman Scherer
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-jedib0t-go-pretty-table): New variable.

Change-Id: I3ce01f5a1888f982e8bdc07f31a63623fa63a1fb
---
 gnu/packages/golang-xyz.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7918df44d3..73c27c9149 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4508,6 +4508,19 @@ (define-public go-github-com-jedib0t-go-pretty-progress
      "This package provides utilities to prettify console output of progress
 bars with an emphasis on customization.")))
 
+(define-public go-github-com-jedib0t-go-pretty-table
+  (package
+    (inherit go-github-com-jedib0t-go-pretty-list)
+    (name "go-github-com-jedib0t-go-pretty-table")
+    (arguments
+     (list
+      #:import-path "github.com/jedib0t/go-pretty/table"
+      #:unpack-path "github.com/jedib0t/go-pretty"))
+    (synopsis "Utilities to prettify console output of tables")
+    (description
+     "This package provides utilities to prettify console output of tables
+with an emphasis on customization.")))
+
 (define-public go-github-com-jinzhu-copier
   (package
     (name "go-github-com-jinzhu-copier")
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 08/18] gnu: Add go-github-com-jedib0t-go-pretty-text.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (6 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 07/18] gnu: Add go-github-com-jedib0t-go-pretty-table Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 09/18] gnu: Add go-github-com-bool64-dev Roman Scherer
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-jedib0t-go-pretty-text): New variable.

Change-Id: Ifcbadd0587f5a60029ab3ccc04b2267099e25323
---
 gnu/packages/golang-xyz.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 73c27c9149..b24339384b 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4521,6 +4521,18 @@ (define-public go-github-com-jedib0t-go-pretty-table
      "This package provides utilities to prettify console output of tables
 with an emphasis on customization.")))
 
+(define-public go-github-com-jedib0t-go-pretty-text
+  (package
+    (inherit go-github-com-jedib0t-go-pretty-list)
+    (name "go-github-com-jedib0t-go-pretty-text")
+    (arguments
+     (list
+      #:import-path "github.com/jedib0t/go-pretty/text"
+      #:unpack-path "github.com/jedib0t/go-pretty"))
+    (synopsis "Utilities to prettify console output of text")
+    (description "This package provides utilities to prettify console output
+of text with an emphasis on customization.")))
+
 (define-public go-github-com-jinzhu-copier
   (package
     (name "go-github-com-jinzhu-copier")
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 09/18] gnu: Add go-github-com-bool64-dev.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (7 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 08/18] gnu: Add go-github-com-jedib0t-go-pretty-text Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 10/18] gnu: Add go-github-com-bool64-shared Roman Scherer
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-bool64-dev): New variable.

Change-Id: I6fce0b2cf64735ce2719d32063a37af2184aecf3
---
 gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index b24339384b..8a1510ccdd 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1393,6 +1393,30 @@ (define-public go-github-com-boltdb-bolt
 don't require a full database server such as Postgres or MySQL.")
     (license license:expat)))
 
+(define-public go-github-com-bool64-dev
+  (package
+    (name "go-github-com-bool64-dev")
+    (version "0.2.37")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/bool64/dev")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "041ng9z0qbmbj0l7lpj55d681b7p35lrr8vcyv3iqc1m6jzqqg5q"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/bool64/dev"))
+    (home-page "https://github.com/bool64/dev")
+    (synopsis "Go development helpers")
+    (description "This package provides scripts and workflows to automate
+common routines for Golang projects via modular Makefiles and GitHub
+Actions.")
+    (license license:expat)))
+
 (define-public go-github-com-briandowns-spinner
   (package
     (name "go-github-com-briandowns-spinner")
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 10/18] gnu: Add go-github-com-bool64-shared.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (8 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 09/18] gnu: Add go-github-com-bool64-dev Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 11/18] gnu: Add go-github-com-iancoleman-orderedmap Roman Scherer
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-bool64-shared): New variable.

Change-Id: Ib6b26619e2065e3a40ccae59f821aabffa2b00a0
---
 gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 8a1510ccdd..7c9e11b6a7 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1417,6 +1417,31 @@ (define-public go-github-com-bool64-dev
 Actions.")
     (license license:expat)))
 
+(define-public go-github-com-bool64-shared
+  (package
+    (name "go-github-com-bool64-shared")
+    (version "0.1.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/bool64/shared")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "157k7vw9cq84i5yy8bab8n1dk2lc9cmz8kjjy710ic9lwridmnf8"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/bool64/shared"))
+    (propagated-inputs (list go-github-com-stretchr-testify
+                             go-github-com-bool64-dev))
+    (home-page "https://github.com/bool64/shared")
+    (synopsis "Share variables between test helpers in Golang")
+    (description "This package provides a contract to share variables between
+test helpers in Golang.")
+    (license license:expat)))
+
 (define-public go-github-com-briandowns-spinner
   (package
     (name "go-github-com-briandowns-spinner")
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 11/18] gnu: Add go-github-com-iancoleman-orderedmap.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (9 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 10/18] gnu: Add go-github-com-bool64-shared Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 12/18] gnu: Add go-github-com-yosuke-furukawa-json5 Roman Scherer
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-iancoleman-orderedmap): New variable.

Change-Id: Ifdc4e1b26beba3813dfebe64b31d882180739d47
---
 gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7c9e11b6a7..f463da900f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4364,6 +4364,30 @@ (define-public go-github-com-ianlancetaylor-demangle
 ABI}.")
     (license license:bsd-3)))
 
+(define-public go-github-com-iancoleman-orderedmap
+  (package
+    (name "go-github-com-iancoleman-orderedmap")
+    (version "0.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/iancoleman/orderedmap")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1rkahhb86ngvzjmdlrpw9rx24a0b1yshq2add1ry2ii6nkx0xbfs"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/iancoleman/orderedmap"))
+    (home-page "https://github.com/iancoleman/orderedmap")
+    (synopsis "Ordered map in Golang")
+    (description
+     "This package provides a Golang data type for ordered maps where the keys
+keep the order that they're added.  It can be de/serialized from/to JSON.")
+    (license license:expat)))
+
 (define-public go-github-com-itchyny-timefmt-go
   (package
     (name "go-github-com-itchyny-timefmt-go")
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 12/18] gnu: Add go-github-com-yosuke-furukawa-json5.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (10 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 11/18] gnu: Add go-github-com-iancoleman-orderedmap Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 13/18] gnu: Add go-github-com-sergi-go-diff-diffmatchpatch Roman Scherer
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-yosuke-furukawa-json5): New variable.

Change-Id: Icac16f1dd4c696b5c701e3208e46b83cd9804fe1
---
 gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index f463da900f..770c99bc8a 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -8233,6 +8233,29 @@ (define-public go-github-com-xlab-treeprint
      "This package provides a simple ASCII tree composing tool.")
     (license license:expat)))
 
+(define-public go-github-com-yosuke-furukawa-json5
+  (package
+    (name "go-github-com-yosuke-furukawa-json5")
+    (version "0.1.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/yosuke-furukawa/json5")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1bcghdrx66v65bxlhfq9dvhbicnps9110wxza1gd5wx9x121mbr9"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/yosuke-furukawa/json5"))
+    (home-page "https://github.com/yosuke-furukawa/json5")
+    (synopsis "JSON5 implemented in Golang")
+    (description "This package provides an implementation of JSON5 for
+Golang.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-yuin-gopher-lua
   (package
     (name "go-github-com-yuin-gopher-lua")
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 13/18] gnu: Add go-github-com-sergi-go-diff-diffmatchpatch.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (11 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 12/18] gnu: Add go-github-com-yosuke-furukawa-json5 Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 14/18] gnu: Add go-github-com-yudai-golcs Roman Scherer
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-sergi-go-diff-diffmatchpatch): New variable.

Change-Id: Id40ccd548363d917db10d403ff40cb8f031abfbf
---
 gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 770c99bc8a..dcd2483c24 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7204,6 +7204,33 @@ (define-public go-github-com-sergi-go-diff
 @end itemize")
     (license license:expat)))
 
+(define-public go-github-com-sergi-go-diff-diffmatchpatch
+  (package
+    (name "go-github-com-sergi-go-diff-diffmatchpatch")
+    (version "1.3.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sergi/go-diff")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0c7lsa3kjxbrx66r93d0pvx1408b80ignpi39fzka1qc0ylshw32"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/sergi/go-diff/diffmatchpatch"
+      #:unpack-path "github.com/sergi/go-diff"))
+    (propagated-inputs (list go-github-com-stretchr-testify))
+    (home-page "https://github.com/sergi/go-diff")
+    (synopsis "Diff, match and patch text in Golang")
+    (description
+     "This package provides algorithms to perform operations to synchronizing
+plain text, like comparing two texts and return their differences, perform
+fuzzy matching of text, and applying patches onto text.")
+    (license license:expat)))
+
 (define-public go-github-com-sevlyar-go-daemon
   (package
     (name "go-github-com-sevlyar-go-daemon")
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 14/18] gnu: Add go-github-com-yudai-golcs.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (12 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 13/18] gnu: Add go-github-com-sergi-go-diff-diffmatchpatch Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 15/18] gnu: Add go-github-com-yudai-gojsondiff Roman Scherer
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-yudai-golcs): New variable.

Change-Id: I3ce09b85717bfccf1d4faf8ddc28542508be08ba
---
 gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index dcd2483c24..ad5e86274f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -8283,6 +8283,32 @@ (define-public go-github-com-yosuke-furukawa-json5
 Golang.")
     (license license:bsd-3)))
 
+(define-public go-github-com-yudai-golcs
+  (let ((commit "ecda9a501e8220fae3b4b600c3db4b0ba22cfc68")
+        (revision "0"))
+    (package
+      (name "go-github-com-yudai-golcs")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/yudai/golcs")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0mx6wc5fz05yhvg03vvps93bc5mw4vnng98fhmixd47385qb29pq"))))
+      (build-system go-build-system)
+      (arguments
+       (list
+        #:import-path "github.com/yudai/golcs"))
+      (home-page "https://github.com/yudai/golcs")
+      (synopsis "Calculate @acronym{LCS, longest common sequence} in Golang")
+      (description
+       "This package provides functions to calculate @acronym{LCS, longest
+common sequence} values from two arbitrary arrays.")
+      (license license:expat))))
+
 (define-public go-github-com-yuin-gopher-lua
   (package
     (name "go-github-com-yuin-gopher-lua")
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 15/18] gnu: Add go-github-com-yudai-gojsondiff.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (13 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 14/18] gnu: Add go-github-com-yudai-golcs Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 16/18] gnu: Add go-github-com-swaggest-assertjson Roman Scherer
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-yudai-gojsondiff): New variable.

Change-Id: I26c56581e3d181d8657ed50f9ba43ca84225cd7e
---
 gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index ad5e86274f..3079aec868 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -8309,6 +8309,34 @@ (define-public go-github-com-yudai-golcs
 common sequence} values from two arbitrary arrays.")
       (license license:expat))))
 
+(define-public go-github-com-yudai-gojsondiff
+  (package
+    (name "go-github-com-yudai-gojsondiff")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/yudai/gojsondiff")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0qnymi0027mb8kxm24mmd22bvjrdkc56c7f4q3lbdf93x1vxbbc2"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/yudai/gojsondiff"))
+    (propagated-inputs (list go-github-com-sergi-go-diff-diffmatchpatch
+                             go-github-com-yudai-golcs
+                             go-github-com-onsi-ginkgo))
+    (home-page "https://github.com/yudai/gojsondiff")
+    (synopsis "JSON Diff and Patch for Golang")
+    (description
+     "This package implements a \"diff\" algorithm that compares two JSON
+objects and generates deltas that describe the differences between them.  The
+deltas can be applied to a JSON object to \"patch\" them.")
+    (license license:expat)))
+
 (define-public go-github-com-yuin-gopher-lua
   (package
     (name "go-github-com-yuin-gopher-lua")
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 16/18] gnu: Add go-github-com-swaggest-assertjson.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (14 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 15/18] gnu: Add go-github-com-yudai-gojsondiff Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 17/18] gnu: Add go-github-com-hetznercloud-hcloud-go Roman Scherer
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer

* gnu/packages/golang-xyz.scm (go-github-com-swaggest-assertjson): New variable.

Change-Id: Ib679c647d68c03bcd941ec6b475cc0745c6dc236
---
 gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 3079aec868..6c986cf8c7 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7536,6 +7536,35 @@ (define-public go-github-com-subosito-gotenv
      "Go library for loading environment variables from files")
     (license license:expat)))
 
+(define-public go-github-com-swaggest-assertjson
+  (package
+    (name "go-github-com-swaggest-assertjson")
+    (version "1.9.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/swaggest/assertjson")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0smxcs548dnchqqk4bys167xaawzz125qsvlvpa267fkhqrxk7f9"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:tests? #f
+      #:import-path "github.com/swaggest/assertjson"))
+    (propagated-inputs (list go-github-com-yudai-gojsondiff
+                             go-github-com-yosuke-furukawa-json5
+                             go-github-com-stretchr-testify
+                             go-github-com-iancoleman-orderedmap
+                             go-github-com-bool64-shared
+                             go-github-com-bool64-dev))
+    (home-page "https://github.com/swaggest/assertjson")
+    (synopsis "JSON equality assertions for Golang")
+    (description "This package provides JSON equality assertions for Golang.")
+    (license license:expat)))
+
 (define-public go-github-com-syndtr-goleveldb
   (package
     (name "go-github-com-syndtr-goleveldb")
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 17/18] gnu: Add go-github-com-hetznercloud-hcloud-go.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (15 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 16/18] gnu: Add go-github-com-swaggest-assertjson Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2024-12-29 12:14 ` [bug#75176] [PATCH 18/18] gnu: Add go-github-com-hetznercloud-cli Roman Scherer
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer, Sharlatan Hellseher

* gnu/packages/admin.scm (go-github-com-hetznercloud-hcloud-go): New variable.

Change-Id: I539fb9435e38e311a9456f0224be02bb99ed75d1
---
 gnu/packages/admin.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index b44f30f9bd..a5f6222e39 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -143,6 +143,7 @@ (define-module (gnu packages admin)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages golang)
   #:use-module (gnu packages golang-build)
+  #:use-module (gnu packages golang-check)
   #:use-module (gnu packages golang-compression)
   #:use-module (gnu packages golang-xyz)
   #:use-module (gnu packages groff)
@@ -176,6 +177,7 @@ (define-module (gnu packages admin)
   #:use-module (gnu packages perl-check)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages polkit)
+  #:use-module (gnu packages prometheus)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-crypto)
@@ -6150,6 +6152,36 @@ (define-public fail2ban
 mechanisms if you really want to protect services.")
     (license license:gpl2+)))
 
+(define-public go-github-com-hetznercloud-hcloud-go
+  (package
+    (name "go-github-com-hetznercloud-hcloud-go")
+    (version "2.17.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hetznercloud/hcloud-go")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0rmrp100clcymz6j741dpvx217d6ljnfqn9qfndlmy9rwi64ih8h"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/hetznercloud/hcloud-go/v2/hcloud"
+      #:unpack-path "github.com/hetznercloud/hcloud-go/v2"))
+    (propagated-inputs (list go-golang-org-x-net
+                             go-golang-org-x-crypto
+                             go-github-com-vburenin-ifacemaker
+                             go-github-com-stretchr-testify
+                             go-github-com-prometheus-client-golang
+                             go-github-com-jmattheis-goverter
+                             go-github-com-google-go-cmp))
+    (home-page "https://github.com/hetznercloud/hcloud-go")
+    (synopsis "Golang library for the Hetzner Cloud API")
+    (description "This package provides a library for the Hetzner Cloud API.")
+    (license license:expat)))
+
 (define-public restartd
   (let* ((commit "7044125ac55056f2663536f7137170edf92ebd75")
          ;; Version is 0.2.4 in the version file in the repo
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#75176] [PATCH 18/18] gnu: Add go-github-com-hetznercloud-cli.
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (16 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 17/18] gnu: Add go-github-com-hetznercloud-hcloud-go Roman Scherer
@ 2024-12-29 12:14 ` Roman Scherer
  2025-01-02 17:18 ` bug#75176: [PATCH 00/18] Add command-line interface for Hetzner Cloud Sharlatan Hellseher
       [not found] ` <handler.75176.D75176.173583833716177.notifdone@debbugs.gnu.org>
  19 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2024-12-29 12:14 UTC (permalink / raw)
  To: 75176; +Cc: Roman Scherer, Sharlatan Hellseher

* gnu/packages/admin.scm (go-github-com-hetznercloud-cli): New variable.

Change-Id: I7c7637a33d96ecb5fc4cfe6affe3f3aa469bb3e5
---
 gnu/packages/admin.scm | 48 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index a5f6222e39..c1f9ebe480 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -6182,6 +6182,54 @@ (define-public go-github-com-hetznercloud-hcloud-go
     (description "This package provides a library for the Hetzner Cloud API.")
     (license license:expat)))
 
+(define-public go-github-com-hetznercloud-cli
+  (package
+    (name "go-github-com-hetznercloud-cli")
+    (version "1.49.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hetznercloud/cli")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0mgd1rv0i18h7jbzl034ffpfxvnjirp60qwxsjpfy42jh1d8xbjm"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.22
+      #:install-source? #f
+      #:import-path "github.com/hetznercloud/cli/cmd/hcloud"
+      #:unpack-path "github.com/hetznercloud/cli"))
+    (propagated-inputs (list go-golang-org-x-term
+                             go-golang-org-x-crypto
+                             go-go-uber-org-mock
+                             go-github-com-swaggest-assertjson
+                             go-github-com-stretchr-testify
+                             go-github-com-spf13-viper
+                             go-github-com-spf13-pflag
+                             go-github-com-spf13-cobra
+                             go-github-com-spf13-cast
+                             go-github-com-jedib0t-go-pretty-list
+                             go-github-com-jedib0t-go-pretty-progress
+                             go-github-com-jedib0t-go-pretty-table
+                             go-github-com-jedib0t-go-pretty-text
+                             go-github-com-hetznercloud-hcloud-go
+                             go-github-com-guptarohit-asciigraph
+                             go-github-com-goccy-go-yaml
+                             go-github-com-fatih-structs
+                             go-github-com-fatih-color
+                             go-github-com-dustin-go-humanize
+                             go-github-com-cheggaaa-pb-v3
+                             go-github-com-burntsushi-toml))
+    (home-page "https://github.com/hetznercloud/cli")
+    (synopsis "Command-line interface for the Hetzner Cloud service")
+    (description
+     "This package provides the @@code{hcloud} binary, a command-line
+interface for interacting with the Hetzner Cloud service.")
+    (license license:expat)))
+
 (define-public restartd
   (let* ((commit "7044125ac55056f2663536f7137170edf92ebd75")
          ;; Version is 0.2.4 in the version file in the repo
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 21+ messages in thread

* bug#75176: [PATCH 00/18] Add command-line interface for Hetzner Cloud
  2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
                   ` (17 preceding siblings ...)
  2024-12-29 12:14 ` [bug#75176] [PATCH 18/18] gnu: Add go-github-com-hetznercloud-cli Roman Scherer
@ 2025-01-02 17:18 ` Sharlatan Hellseher
       [not found] ` <handler.75176.D75176.173583833716177.notifdone@debbugs.gnu.org>
  19 siblings, 0 replies; 21+ messages in thread
From: Sharlatan Hellseher @ 2025-01-02 17:18 UTC (permalink / raw)
  To: 75176-done

[-- Attachment #1: Type: text/plain, Size: 4436 bytes --]


Hi,

Thank you for the patches!

I've addjusted some of them and shifted to apropriate golang-*.scm
modules, all tests are enabled and made sure are passed, vednor
directory removed.

- patches [15/15]
  - [X] gnu: Add go-github-com-fatih-structs.
  - [X] gnu: Add go-github-com-guptarohit-asciigraph.
  - [X] gnu: Add go-github-com-jmattheis-goverter.
    - enable tests
    - remvoe examples
    - move go-github-com-stretchr-testify to native-inputs
  - [X] gnu: Add go-github-com-vburenin-ifacemaker.
    - add go-ifacemaker
  - [X] go-github-com-jedib0t-go-pretty-v6
    merge them as one package as no dedicated go.mod
    - [X] gnu: Add go-github-com-jedib0t-go-pretty-list.
    - [X] gnu: Add go-github-com-jedib0t-go-pretty-progress.
    - [X] gnu: Add go-github-com-jedib0t-go-pretty-table.
    - [X] gnu: Add go-github-com-jedib0t-go-pretty-text.
  - [X] gnu: Add go-github-com-bool64-dev.
    - place in golang-check
  - [X] gnu: Add go-github-com-bool64-shared.
    - place in golang-check
  - [X] gnu: Add go-github-com-iancoleman-orderedmap.
  - [X] gnu: Add go-github-com-yosuke-furukawa-json5.
  - [X] gnu: Add go-github-com-sergi-go-diff-diffmatchpatch.
    - skip as the same as go-github-com-sergi-go-diff
  - [X] gnu: Add go-github-com-yudai-golcs.
  - [X] gnu: Add go-github-com-yudai-gojsondiff.
  - [X] gnu: Add go-github-com-swaggest-assertjson.
    - place in golang-check
  - [X] gnu: Add go-github-com-hetznercloud-hcloud-go.
    - place in golang-web
  - [X] gnu: Add go-github-com-hetznercloud-cli.


--8<---------------cut here---------------start------------->8---
> ./pre-inst-env guix build --rounds=2 hetznercloud-cli go-github-com-hetznercloud-hcloud-go-v2
go-github-com-swaggest-assertjson go-github-com-yudai-gojsondiff go-github-com-yudai-golcs
go-github-com-yosuke-furukawa-json5 go-github-com-iancoleman-orderedmap go-github-com-bool64-shared
go-github-com-bool64-dev go-github-com-jedib0t-go-pretty-v6 go-github-com-vburenin-ifacemaker
go-github-com-jmattheis-goverter go-github-com-goverter-patherr go-github-com-guptarohit-asciigraph
go-github-com-fatih-structs

/gnu/store/b7nvzx48f0gwvq55zzsb3wb4f1kcbwzi-hetznercloud-cli-1.49.0
/gnu/store/li0pwawd32sb3yfck6yplnd6ryvwz6xg-go-github-com-hetznercloud-hcloud-go-v2-2.17.1
/gnu/store/fj5l9bg49ifpq054azcrbn1vcw8r8c23-go-github-com-swaggest-assertjson-1.9.0
/gnu/store/k27jj998ni8i379lcvxi3rj77ikn02f7-go-github-com-yudai-gojsondiff-1.0.0
/gnu/store/i4pxjnys8wnxyvv4l1l8hcaxcsks9vxi-go-github-com-yudai-golcs-0.0.0-20170316035057-ecda9a501e82
/gnu/store/yxil9ml99l6kdbkikwx0b5zx5nca7b4c-go-github-com-yosuke-furukawa-json5-0.1.1-0.cf7bb3f
/gnu/store/zqgh5p3kbf351ywzc53l4lzg7zalfgm5-go-github-com-iancoleman-orderedmap-0.3.0
/gnu/store/3vwbkp2iyd2w3hmf4v0vr82nxf9382zi-go-github-com-bool64-shared-0.1.5
/gnu/store/6p7f0b65hykd6fv2nsxsx0lygzgif2cx-go-github-com-bool64-dev-0.2.37
/gnu/store/6acjiahi4s8y8swg206hdn2i7y5f08jc-go-github-com-jedib0t-go-pretty-v6-6.6.5
/gnu/store/hfnrzj2ihw24fz26anbimiamafynj074-go-github-com-vburenin-ifacemaker-1.2.1
/gnu/store/wddp2cb5mabpz1y23w8dvqh1rbkpm02a-go-github-com-jmattheis-goverter-1.7.0
/gnu/store/bx5cyjijq0r30m33zbizqp979wakh5qg-go-github-com-goverter-patherr-1.0.0
/gnu/store/4hzjnqfwmyagx3dy2jq13akvmqrwjarj-go-github-com-guptarohit-asciigraph-0.7.3
/gnu/store/v9606i71vpagwsj2zypbacp2plj2q69g-go-github-com-fatih-structs-1.1.0
--8<---------------cut here---------------end--------------->8---

Pushed to go-team branch as:
--8<---------------cut here---------------start------------->8---
ebddd5c8cf * origin/go-team gnu: Add hetznercloud-cli.
5b1854ace8 * gnu: Add go-github-com-hetznercloud-hcloud-go-v2.
9ff3bb047b * gnu: Add go-github-com-swaggest-assertjson.
a5199f4a6c * gnu: Add go-github-com-yudai-gojsondiff.
789eed8c5a * gnu: Add go-github-com-yudai-golcs.
57d278342a * gnu: Add go-github-com-yosuke-furukawa-json5.
2c55e90dea * gnu: Add go-github-com-iancoleman-orderedmap.
fbbb38b652 * gnu: Add go-github-com-bool64-shared.
d4c264231b * gnu: Add go-github-com-bool64-dev.
c368e74208 * gnu: Add go-github-com-jedib0t-go-pretty-v6.
94e9e1b0fb * gnu: Add go-github-com-vburenin-ifacemaker.
e6109ba366 * gnu: Add go-github-com-jmattheis-goverter.
18d86c439d * gnu: Add go-github-com-goverter-patherr.
ee2d9c47fb * gnu: Add go-github-com-guptarohit-asciigraph.
a8f69d190b * gnu: Add go-github-com-fatih-structs.
--8<---------------cut here---------------end--------------->8---

--
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [bug#75176] closed ([PATCH 00/18] Add command-line interface for Hetzner Cloud)
       [not found] ` <handler.75176.D75176.173583833716177.notifdone@debbugs.gnu.org>
@ 2025-01-02 19:51   ` Roman Scherer
  0 siblings, 0 replies; 21+ messages in thread
From: Roman Scherer @ 2025-01-02 19:51 UTC (permalink / raw)
  To: 75176

[-- Attachment #1: Type: text/plain, Size: 7022 bytes --]

Thank you Oleg!

On Thu, Jan 2, 2025, 18:19 GNU bug Tracking System <help-debbugs@gnu.org>
wrote:

> Your bug report
>
> #75176: [PATCH 00/18] Add command-line interface for Hetzner Cloud
>
> which was filed against the guix-patches package, has been closed.
>
> The explanation is attached below, along with your original report.
> If you require more details, please reply to 75176@debbugs.gnu.org.
>
> --
> 75176: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75176
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems
>
>
>
> ---------- Forwarded message ----------
> From: Sharlatan Hellseher <sharlatanus@gmail.com>
> To: 75176-done@debbugs.gnu.org
> Cc:
> Bcc:
> Date: Thu, 02 Jan 2025 17:18:47 +0000
> Subject: [PATCH 00/18] Add command-line interface for Hetzner Cloud
>
> Hi,
>
> Thank you for the patches!
>
> I've addjusted some of them and shifted to apropriate golang-*.scm
> modules, all tests are enabled and made sure are passed, vednor
> directory removed.
>
> - patches [15/15]
>   - [X] gnu: Add go-github-com-fatih-structs.
>   - [X] gnu: Add go-github-com-guptarohit-asciigraph.
>   - [X] gnu: Add go-github-com-jmattheis-goverter.
>     - enable tests
>     - remvoe examples
>     - move go-github-com-stretchr-testify to native-inputs
>   - [X] gnu: Add go-github-com-vburenin-ifacemaker.
>     - add go-ifacemaker
>   - [X] go-github-com-jedib0t-go-pretty-v6
>     merge them as one package as no dedicated go.mod
>     - [X] gnu: Add go-github-com-jedib0t-go-pretty-list.
>     - [X] gnu: Add go-github-com-jedib0t-go-pretty-progress.
>     - [X] gnu: Add go-github-com-jedib0t-go-pretty-table.
>     - [X] gnu: Add go-github-com-jedib0t-go-pretty-text.
>   - [X] gnu: Add go-github-com-bool64-dev.
>     - place in golang-check
>   - [X] gnu: Add go-github-com-bool64-shared.
>     - place in golang-check
>   - [X] gnu: Add go-github-com-iancoleman-orderedmap.
>   - [X] gnu: Add go-github-com-yosuke-furukawa-json5.
>   - [X] gnu: Add go-github-com-sergi-go-diff-diffmatchpatch.
>     - skip as the same as go-github-com-sergi-go-diff
>   - [X] gnu: Add go-github-com-yudai-golcs.
>   - [X] gnu: Add go-github-com-yudai-gojsondiff.
>   - [X] gnu: Add go-github-com-swaggest-assertjson.
>     - place in golang-check
>   - [X] gnu: Add go-github-com-hetznercloud-hcloud-go.
>     - place in golang-web
>   - [X] gnu: Add go-github-com-hetznercloud-cli.
>
>
> --8<---------------cut here---------------start------------->8---
> > ./pre-inst-env guix build --rounds=2 hetznercloud-cli
> go-github-com-hetznercloud-hcloud-go-v2
> go-github-com-swaggest-assertjson go-github-com-yudai-gojsondiff
> go-github-com-yudai-golcs
> go-github-com-yosuke-furukawa-json5 go-github-com-iancoleman-orderedmap
> go-github-com-bool64-shared
> go-github-com-bool64-dev go-github-com-jedib0t-go-pretty-v6
> go-github-com-vburenin-ifacemaker
> go-github-com-jmattheis-goverter go-github-com-goverter-patherr
> go-github-com-guptarohit-asciigraph
> go-github-com-fatih-structs
>
> /gnu/store/b7nvzx48f0gwvq55zzsb3wb4f1kcbwzi-hetznercloud-cli-1.49.0
>
> /gnu/store/li0pwawd32sb3yfck6yplnd6ryvwz6xg-go-github-com-hetznercloud-hcloud-go-v2-2.17.1
>
> /gnu/store/fj5l9bg49ifpq054azcrbn1vcw8r8c23-go-github-com-swaggest-assertjson-1.9.0
>
> /gnu/store/k27jj998ni8i379lcvxi3rj77ikn02f7-go-github-com-yudai-gojsondiff-1.0.0
>
> /gnu/store/i4pxjnys8wnxyvv4l1l8hcaxcsks9vxi-go-github-com-yudai-golcs-0.0.0-20170316035057-ecda9a501e82
>
> /gnu/store/yxil9ml99l6kdbkikwx0b5zx5nca7b4c-go-github-com-yosuke-furukawa-json5-0.1.1-0.cf7bb3f
>
> /gnu/store/zqgh5p3kbf351ywzc53l4lzg7zalfgm5-go-github-com-iancoleman-orderedmap-0.3.0
>
> /gnu/store/3vwbkp2iyd2w3hmf4v0vr82nxf9382zi-go-github-com-bool64-shared-0.1.5
> /gnu/store/6p7f0b65hykd6fv2nsxsx0lygzgif2cx-go-github-com-bool64-dev-0.2.37
>
> /gnu/store/6acjiahi4s8y8swg206hdn2i7y5f08jc-go-github-com-jedib0t-go-pretty-v6-6.6.5
>
> /gnu/store/hfnrzj2ihw24fz26anbimiamafynj074-go-github-com-vburenin-ifacemaker-1.2.1
>
> /gnu/store/wddp2cb5mabpz1y23w8dvqh1rbkpm02a-go-github-com-jmattheis-goverter-1.7.0
>
> /gnu/store/bx5cyjijq0r30m33zbizqp979wakh5qg-go-github-com-goverter-patherr-1.0.0
>
> /gnu/store/4hzjnqfwmyagx3dy2jq13akvmqrwjarj-go-github-com-guptarohit-asciigraph-0.7.3
>
> /gnu/store/v9606i71vpagwsj2zypbacp2plj2q69g-go-github-com-fatih-structs-1.1.0
> --8<---------------cut here---------------end--------------->8---
>
> Pushed to go-team branch as:
> --8<---------------cut here---------------start------------->8---
> ebddd5c8cf * origin/go-team gnu: Add hetznercloud-cli.
> 5b1854ace8 * gnu: Add go-github-com-hetznercloud-hcloud-go-v2.
> 9ff3bb047b * gnu: Add go-github-com-swaggest-assertjson.
> a5199f4a6c * gnu: Add go-github-com-yudai-gojsondiff.
> 789eed8c5a * gnu: Add go-github-com-yudai-golcs.
> 57d278342a * gnu: Add go-github-com-yosuke-furukawa-json5.
> 2c55e90dea * gnu: Add go-github-com-iancoleman-orderedmap.
> fbbb38b652 * gnu: Add go-github-com-bool64-shared.
> d4c264231b * gnu: Add go-github-com-bool64-dev.
> c368e74208 * gnu: Add go-github-com-jedib0t-go-pretty-v6.
> 94e9e1b0fb * gnu: Add go-github-com-vburenin-ifacemaker.
> e6109ba366 * gnu: Add go-github-com-jmattheis-goverter.
> 18d86c439d * gnu: Add go-github-com-goverter-patherr.
> ee2d9c47fb * gnu: Add go-github-com-guptarohit-asciigraph.
> a8f69d190b * gnu: Add go-github-com-fatih-structs.
> --8<---------------cut here---------------end--------------->8---
>
> --
> Oleg
>
>
>
> ---------- Forwarded message ----------
> From: Roman Scherer <roman@burningswell.com>
> To: guix-patches@gnu.org
> Cc: Roman Scherer <roman@burningswell.com>
> Bcc:
> Date: Sun, 29 Dec 2024 13:12:28 +0100
> Subject: [PATCH 00/18] Add command-line interface for Hetzner Cloud
> Hello Guix,
>
> this patch series adds the hcloud command to Guix, a command-line interface
> for the Hetzner Cloud service.
>
> Could you please review it?
>
> Thanks, Roman.
>
> Roman Scherer (18):
>   gnu: Add go-github-com-fatih-structs.
>   gnu: Add go-github-com-guptarohit-asciigraph.
>   gnu: Add go-github-com-jmattheis-goverter.
>   gnu: Add go-github-com-vburenin-ifacemaker.
>   gnu: Add go-github-com-jedib0t-go-pretty-list.
>   gnu: Add go-github-com-jedib0t-go-pretty-progress.
>   gnu: Add go-github-com-jedib0t-go-pretty-table.
>   gnu: Add go-github-com-jedib0t-go-pretty-text.
>   gnu: Add go-github-com-bool64-dev.
>   gnu: Add go-github-com-bool64-shared.
>   gnu: Add go-github-com-iancoleman-orderedmap.
>   gnu: Add go-github-com-yosuke-furukawa-json5.
>   gnu: Add go-github-com-sergi-go-diff-diffmatchpatch.
>   gnu: Add go-github-com-yudai-golcs.
>   gnu: Add go-github-com-yudai-gojsondiff.
>   gnu: Add go-github-com-swaggest-assertjson.
>   gnu: Add go-github-com-hetznercloud-hcloud-go.
>   gnu: Add go-github-com-hetznercloud-cli.
>
>  gnu/packages/admin.scm      |  80 ++++++++
>  gnu/packages/golang-xyz.scm | 379 ++++++++++++++++++++++++++++++++++++
>  2 files changed, 459 insertions(+)
>
>
> base-commit: 831b94a1efcea8f793afc949b5123a6235c9bb1a
> --
> 2.47.1
>
>
>

[-- Attachment #2: Type: text/html, Size: 8513 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2025-01-02 19:52 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-29 12:12 [bug#75176] [PATCH 00/18] Add command-line interface for Hetzner Cloud Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 01/18] gnu: Add go-github-com-fatih-structs Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 02/18] gnu: Add go-github-com-guptarohit-asciigraph Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 03/18] gnu: Add go-github-com-jmattheis-goverter Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 04/18] gnu: Add go-github-com-vburenin-ifacemaker Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 05/18] gnu: Add go-github-com-jedib0t-go-pretty-list Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 06/18] gnu: Add go-github-com-jedib0t-go-pretty-progress Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 07/18] gnu: Add go-github-com-jedib0t-go-pretty-table Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 08/18] gnu: Add go-github-com-jedib0t-go-pretty-text Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 09/18] gnu: Add go-github-com-bool64-dev Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 10/18] gnu: Add go-github-com-bool64-shared Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 11/18] gnu: Add go-github-com-iancoleman-orderedmap Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 12/18] gnu: Add go-github-com-yosuke-furukawa-json5 Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 13/18] gnu: Add go-github-com-sergi-go-diff-diffmatchpatch Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 14/18] gnu: Add go-github-com-yudai-golcs Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 15/18] gnu: Add go-github-com-yudai-gojsondiff Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 16/18] gnu: Add go-github-com-swaggest-assertjson Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 17/18] gnu: Add go-github-com-hetznercloud-hcloud-go Roman Scherer
2024-12-29 12:14 ` [bug#75176] [PATCH 18/18] gnu: Add go-github-com-hetznercloud-cli Roman Scherer
2025-01-02 17:18 ` bug#75176: [PATCH 00/18] Add command-line interface for Hetzner Cloud Sharlatan Hellseher
     [not found] ` <handler.75176.D75176.173583833716177.notifdone@debbugs.gnu.org>
2025-01-02 19:51   ` [bug#75176] closed ([PATCH 00/18] Add command-line interface for Hetzner Cloud) Roman Scherer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).