unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#69015] [PATCH 1/2] gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang).
  2024-02-10 16:57 [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable Troy Figiel
@ 2024-02-10 16:40 ` Troy Figiel
  2024-02-10 16:56 ` [bug#69015] [PATCH 2/2] gnu: Deprecate the go-etcd-io-bbolt variable Troy Figiel
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Troy Figiel @ 2024-02-10 16:40 UTC (permalink / raw)
  To: 69015

* gnu/packages/databases.scm (go-go-etcd-io-bbolt): Move from here ...
* gnu/packages/golang.scm: ... to here.
---
 gnu/packages/databases.scm | 28 ----------------------------
 gnu/packages/golang.scm    | 28 ++++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 903088ed4b..0345505ec1 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2946,34 +2946,6 @@ (define-public libpqxx
     (home-page "https://pqxx.org/")
     (license license:bsd-3)))
 
-(define-public go-go-etcd-io-bbolt
-  (package
-    (name "go-go-etcd-io-bbolt")
-    (version "1.3.6")
-    (source
-      (origin
-        (method git-fetch)
-        (uri (git-reference
-               (url "https://github.com/etcd-io/bbolt")
-               (commit (string-append "v" version))))
-        (file-name (git-file-name name version))
-        (sha256
-         (base32 "0pj5245d417za41j6p09fmkbv05797vykr1bi9a6rnwddh1dbs8d"))))
-    (build-system go-build-system)
-    (arguments
-     `(#:import-path "go.etcd.io/bbolt"
-       ;; Extending the test timeout to 30 minutes still times out on aarch64.
-       #:tests? ,(not target-arm?)))
-    (propagated-inputs
-     (list go-golang-org-x-sys))
-    (home-page "https://go.etcd.io/bbolt")
-    (synopsis "Embedded key/value database for Go")
-    (description "Bolt is a pure Go key/value store inspired by Howard Chu's
-LMDB project.  The goal of the project is to provide a simple, fast, and
-reliable database for projects that don't require a full database server such as
-Postgres or MySQL.")
-    (license license:expat)))
-
 (define-public python-peewee
   (package
     (name "python-peewee")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 163691a1e6..2b5a447c5d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9328,6 +9328,34 @@ (define-public go-github-com-zclconf-go-cty
 configuration languages, but other uses may be possible too.")
     (license license:expat)))
 
+(define-public go-go-etcd-io-bbolt
+  (package
+    (name "go-go-etcd-io-bbolt")
+    (version "1.3.6")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/etcd-io/bbolt")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0pj5245d417za41j6p09fmkbv05797vykr1bi9a6rnwddh1dbs8d"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "go.etcd.io/bbolt"
+       ;; Extending the test timeout to 30 minutes still times out on aarch64.
+       #:tests? ,(not target-arm?)))
+    (propagated-inputs
+     (list go-golang-org-x-sys))
+    (home-page "https://go.etcd.io/bbolt")
+    (synopsis "Embedded key/value database for Go")
+    (description "Bolt is a pure Go key/value store inspired by Howard Chu's
+LMDB project.  The goal of the project is to provide a simple, fast, and
+reliable database for projects that don't require a full database server such as
+Postgres or MySQL.")
+    (license license:expat)))
+
 (define-public go-etcd-io-bbolt
   (package
     (name "go-etcd-io-bbolt")
-- 
2.42.0





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

* [bug#69015] [PATCH 2/2] gnu: Deprecate the go-etcd-io-bbolt variable.
  2024-02-10 16:57 [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable Troy Figiel
  2024-02-10 16:40 ` [bug#69015] [PATCH 1/2] gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang) Troy Figiel
@ 2024-02-10 16:56 ` Troy Figiel
  2024-02-10 20:57 ` [bug#69015] [PATCH 0/2] " Sharlatan Hellseher
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Troy Figiel @ 2024-02-10 16:56 UTC (permalink / raw)
  To: 69015

* gnu/packages/golang.scm (go-etcd-io-bbolt): Rename to "go-go-etcd-io-bbolt".
(go-etcd-io-bbolt): Define as deprecated by "go-go-etcd-io-bbolt".
* gnu/packages/configuration-management.scm (chezmoi)[native-inputs]: Add
"go-go-etcd-io-bbolt". Remove "go-etcd-io-bbolt".
---
 gnu/packages/configuration-management.scm |  2 +-
 gnu/packages/golang.scm                   | 22 +---------------------
 2 files changed, 2 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/configuration-management.scm b/gnu/packages/configuration-management.scm
index 296f48dcd5..52c85dddeb 100644
--- a/gnu/packages/configuration-management.scm
+++ b/gnu/packages/configuration-management.scm
@@ -93,7 +93,7 @@ (define-public chezmoi
            go-github-com-yuin-goldmark
            go-github-com-zalando-go-keyring
            go-github-com-godbus-dbus
-           go-etcd-io-bbolt
+           go-go-etcd-io-bbolt
            go-golang-org-x-crypto
            go-golang-org-x-net
            go-golang-org-x-oauth2
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2b5a447c5d..019bf4dad2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9357,27 +9357,7 @@ (define-public go-go-etcd-io-bbolt
     (license license:expat)))
 
 (define-public go-etcd-io-bbolt
-  (package
-    (name "go-etcd-io-bbolt")
-    (version "1.3.6")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/etcd-io/bbolt")
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0pj5245d417za41j6p09fmkbv05797vykr1bi9a6rnwddh1dbs8d"))))
-    (build-system go-build-system)
-    (arguments
-     `(#:import-path "go.etcd.io/bbolt"))
-    (propagated-inputs
-     (list go-golang-org-x-sys))
-    (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
-    (synopsis "Low-level key/value store in Go")
-    (description "This package implements a low-level key/value store in Go.")
-    (license license:expat)))
+  (deprecated-package "go-etcd-io-bbolt" go-go-etcd-io-bbolt))
 
 (define-public go-github-com-bwesterb-go-ristretto
   (package
-- 
2.42.0





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

* [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable.
@ 2024-02-10 16:57 Troy Figiel
  2024-02-10 16:40 ` [bug#69015] [PATCH 1/2] gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang) Troy Figiel
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Troy Figiel @ 2024-02-10 16:57 UTC (permalink / raw)
  To: 69015

This patch series removes a duplicate variable. We move go-go-etcd-io-bbolt to
gnu/packages/golang.scm and deprecate go-etcd-io-bbolt. Copyright did not need
to be updated.

I decided to keep go-go-etcd-io-bbolt, because this name follows the
conventions set by the Go importer.

Troy Figiel (2):
  gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang).
  gnu: Deprecate the go-etcd-io-bbolt variable.

 gnu/packages/configuration-management.scm |  2 +-
 gnu/packages/databases.scm                | 28 -----------------
 gnu/packages/golang.scm                   | 38 ++++++++++++++---------
 3 files changed, 24 insertions(+), 44 deletions(-)


base-commit: e257de4365b24a84f39813aea2e8b4ab6259f283
-- 
2.42.0





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

* [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable.
  2024-02-10 16:57 [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable Troy Figiel
  2024-02-10 16:40 ` [bug#69015] [PATCH 1/2] gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang) Troy Figiel
  2024-02-10 16:56 ` [bug#69015] [PATCH 2/2] gnu: Deprecate the go-etcd-io-bbolt variable Troy Figiel
@ 2024-02-10 20:57 ` Sharlatan Hellseher
  2024-02-10 21:16   ` Troy Figiel
  2024-02-10 22:30   ` Troy Figiel
  2024-02-10 21:28 ` [bug#69015] [PATCH 1/3] gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang-xyz) Troy Figiel
                   ` (4 subsequent siblings)
  7 siblings, 2 replies; 11+ messages in thread
From: Sharlatan Hellseher @ 2024-02-10 20:57 UTC (permalink / raw)
  To: 69015

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

Hi Troy,

Thank you for the patch.

I'm in process of splitting monolithic golang.scm into logical
modules e.g. golang-web golang-crypto golang-xyz.

May you use one of them and try to avoid to add to golang.scm
as it eventually will remain just versions of go.

Thanks,
Oleg

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

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

* [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable.
  2024-02-10 20:57 ` [bug#69015] [PATCH 0/2] " Sharlatan Hellseher
@ 2024-02-10 21:16   ` Troy Figiel
  2024-02-10 22:30   ` Troy Figiel
  1 sibling, 0 replies; 11+ messages in thread
From: Troy Figiel @ 2024-02-10 21:16 UTC (permalink / raw)
  To: 69015


[-- Attachment #1.1.1: Type: text/plain, Size: 446 bytes --]

Hi Oleg,

I missed golang-xyz. I will move it to there.

Best wishes,

Troy

On 2024-02-10 21:57, Sharlatan Hellseher wrote:
> Hi Troy,
> 
> Thank you for the patch.
> 
> I'm in process of splitting monolithic golang.scm into logical
> modules e.g. golang-web golang-crypto golang-xyz.
> 
> May you use one of them and try to avoid to add to golang.scm
> as it eventually will remain just versions of go. 
> 
> Thanks,
> Oleg

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 6367 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* [bug#69015] [PATCH 1/3] gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang-xyz).
  2024-02-10 16:57 [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable Troy Figiel
                   ` (2 preceding siblings ...)
  2024-02-10 20:57 ` [bug#69015] [PATCH 0/2] " Sharlatan Hellseher
@ 2024-02-10 21:28 ` Troy Figiel
  2024-02-10 21:29 ` [bug#69015] [PATCH 2/3] gnu: go-etcd-io-bbolt: " Troy Figiel
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Troy Figiel @ 2024-02-10 21:28 UTC (permalink / raw)
  To: 69015

* gnu/packages/databases.scm (go-go-etcd-io-bbolt): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.
---
 gnu/packages/databases.scm  | 28 ----------------------------
 gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 903088ed4b..0345505ec1 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2946,34 +2946,6 @@ (define-public libpqxx
     (home-page "https://pqxx.org/")
     (license license:bsd-3)))
 
-(define-public go-go-etcd-io-bbolt
-  (package
-    (name "go-go-etcd-io-bbolt")
-    (version "1.3.6")
-    (source
-      (origin
-        (method git-fetch)
-        (uri (git-reference
-               (url "https://github.com/etcd-io/bbolt")
-               (commit (string-append "v" version))))
-        (file-name (git-file-name name version))
-        (sha256
-         (base32 "0pj5245d417za41j6p09fmkbv05797vykr1bi9a6rnwddh1dbs8d"))))
-    (build-system go-build-system)
-    (arguments
-     `(#:import-path "go.etcd.io/bbolt"
-       ;; Extending the test timeout to 30 minutes still times out on aarch64.
-       #:tests? ,(not target-arm?)))
-    (propagated-inputs
-     (list go-golang-org-x-sys))
-    (home-page "https://go.etcd.io/bbolt")
-    (synopsis "Embedded key/value database for Go")
-    (description "Bolt is a pure Go key/value store inspired by Howard Chu's
-LMDB project.  The goal of the project is to provide a simple, fast, and
-reliable database for projects that don't require a full database server such as
-Postgres or MySQL.")
-    (license license:expat)))
-
 (define-public python-peewee
   (package
     (name "python-peewee")
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 8823ae21c6..d52cbedd9c 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1,4 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2023 Benjamin <benjamin@uvy.fr>
 ;;; Copyright © 2023 Thomas Ieong <th.ieong@free.fr>
 ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
@@ -196,6 +197,34 @@ (define-public go-github-com-nats-io-nuid
 very fast, and tries to be entropy pool friendly.")
     (license license:asl2.0)))
 
+(define-public go-go-etcd-io-bbolt
+  (package
+    (name "go-go-etcd-io-bbolt")
+    (version "1.3.6")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/etcd-io/bbolt")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0pj5245d417za41j6p09fmkbv05797vykr1bi9a6rnwddh1dbs8d"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "go.etcd.io/bbolt"
+       ;; Extending the test timeout to 30 minutes still times out on aarch64.
+       #:tests? ,(not target-arm?)))
+    (propagated-inputs
+     (list go-golang-org-x-sys))
+    (home-page "https://go.etcd.io/bbolt")
+    (synopsis "Embedded key/value database for Go")
+    (description "Bolt is a pure Go key/value store inspired by Howard Chu's
+LMDB project.  The goal of the project is to provide a simple, fast, and
+reliable database for projects that don't require a full database server such as
+Postgres or MySQL.")
+    (license license:expat)))
+
 (define-public go-go-uber-org-automaxprocs
   (package
     (name "go-go-uber-org-automaxprocs")
-- 
2.42.0





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

* [bug#69015] [PATCH 2/3] gnu: go-etcd-io-bbolt: Move to (gnu packages golang-xyz).
  2024-02-10 16:57 [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable Troy Figiel
                   ` (3 preceding siblings ...)
  2024-02-10 21:28 ` [bug#69015] [PATCH 1/3] gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang-xyz) Troy Figiel
@ 2024-02-10 21:29 ` Troy Figiel
  2024-02-10 21:31 ` [bug#69015] [PATCH 3/3] gnu: Deprecate the go-etcd-io-bbolt variable Troy Figiel
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Troy Figiel @ 2024-02-10 21:29 UTC (permalink / raw)
  To: 69015

* gnu/packages/configuration-management.scm: Add (gnu packages golang-xyz) to used modules.
* gnu/packages/databases.scm (go-etcd-io-bbolt): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.
---
 gnu/packages/configuration-management.scm |  1 +
 gnu/packages/golang-xyz.scm               | 26 +++++++++++++++++++++++
 gnu/packages/golang.scm                   | 23 --------------------
 3 files changed, 27 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/configuration-management.scm b/gnu/packages/configuration-management.scm
index 296f48dcd5..aedf4f38e4 100644
--- a/gnu/packages/configuration-management.scm
+++ b/gnu/packages/configuration-management.scm
@@ -22,6 +22,7 @@ (define-module (gnu packages configuration-management)
   #:use-module (guix git-download)
   #:use-module (gnu packages golang)
   #:use-module (gnu packages golang-web)
+  #:use-module (gnu packages golang-xyz)
   #:use-module (gnu packages version-control)
   #:use-module (gnu packages textutils)
   #:use-module ((guix licenses) #:prefix license:)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index d52cbedd9c..fe46a87093 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1,4 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
 ;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2023 Benjamin <benjamin@uvy.fr>
 ;;; Copyright © 2023 Thomas Ieong <th.ieong@free.fr>
@@ -39,6 +42,29 @@ (define-module (gnu packages golang-xyz)
 ;;;
 ;;; Code:
 \f
+(define-public go-etcd-io-bbolt
+  (package
+    (name "go-etcd-io-bbolt")
+    (version "1.3.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/etcd-io/bbolt")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0pj5245d417za41j6p09fmkbv05797vykr1bi9a6rnwddh1dbs8d"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "go.etcd.io/bbolt"))
+    (propagated-inputs
+     (list go-golang-org-x-sys))
+    (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
+    (synopsis "Low-level key/value store in Go")
+    (description "This package implements a low-level key/value store in Go.")
+    (license license:expat)))
+
 (define-public go-github-com-djherbis-atime
   (package
     (name "go-github-com-djherbis-atime")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 163691a1e6..5d3b39d1a9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9328,29 +9328,6 @@ (define-public go-github-com-zclconf-go-cty
 configuration languages, but other uses may be possible too.")
     (license license:expat)))
 
-(define-public go-etcd-io-bbolt
-  (package
-    (name "go-etcd-io-bbolt")
-    (version "1.3.6")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/etcd-io/bbolt")
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0pj5245d417za41j6p09fmkbv05797vykr1bi9a6rnwddh1dbs8d"))))
-    (build-system go-build-system)
-    (arguments
-     `(#:import-path "go.etcd.io/bbolt"))
-    (propagated-inputs
-     (list go-golang-org-x-sys))
-    (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
-    (synopsis "Low-level key/value store in Go")
-    (description "This package implements a low-level key/value store in Go.")
-    (license license:expat)))
-
 (define-public go-github-com-bwesterb-go-ristretto
   (package
     (name "go-github-com-bwesterb-go-ristretto")
-- 
2.42.0





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

* [bug#69015] [PATCH 3/3] gnu: Deprecate the go-etcd-io-bbolt variable.
  2024-02-10 16:57 [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable Troy Figiel
                   ` (4 preceding siblings ...)
  2024-02-10 21:29 ` [bug#69015] [PATCH 2/3] gnu: go-etcd-io-bbolt: " Troy Figiel
@ 2024-02-10 21:31 ` Troy Figiel
  2024-02-10 21:55 ` [bug#69015] [PATCH v2 0/3] " Troy Figiel
  2024-02-23  8:06 ` bug#69015: [PATCH 0/2] " Sharlatan Hellseher
  7 siblings, 0 replies; 11+ messages in thread
From: Troy Figiel @ 2024-02-10 21:31 UTC (permalink / raw)
  To: 69015

* gnu/packages/configuration-management.scm (chezmoi)[native-inputs]: Add
"go-go-etcd-io-bbolt". Remove "go-etcd-io-bbolt".
* gnu/packages/golang-xyz.scm (go-etcd-io-bbolt): Rename to "go-go-etcd-io-bbolt".
(go-etcd-io-bbolt): Define as deprecated by "go-go-etcd-io-bbolt".
---
 gnu/packages/configuration-management.scm |  2 +-
 gnu/packages/golang-xyz.scm               | 26 +++--------------------
 2 files changed, 4 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/configuration-management.scm b/gnu/packages/configuration-management.scm
index aedf4f38e4..532aafd3ac 100644
--- a/gnu/packages/configuration-management.scm
+++ b/gnu/packages/configuration-management.scm
@@ -94,7 +94,7 @@ (define-public chezmoi
            go-github-com-yuin-goldmark
            go-github-com-zalando-go-keyring
            go-github-com-godbus-dbus
-           go-etcd-io-bbolt
+           go-go-etcd-io-bbolt
            go-golang-org-x-crypto
            go-golang-org-x-net
            go-golang-org-x-oauth2
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index fe46a87093..ffa9ad9024 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -42,29 +42,6 @@ (define-module (gnu packages golang-xyz)
 ;;;
 ;;; Code:
 \f
-(define-public go-etcd-io-bbolt
-  (package
-    (name "go-etcd-io-bbolt")
-    (version "1.3.6")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/etcd-io/bbolt")
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0pj5245d417za41j6p09fmkbv05797vykr1bi9a6rnwddh1dbs8d"))))
-    (build-system go-build-system)
-    (arguments
-     `(#:import-path "go.etcd.io/bbolt"))
-    (propagated-inputs
-     (list go-golang-org-x-sys))
-    (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
-    (synopsis "Low-level key/value store in Go")
-    (description "This package implements a low-level key/value store in Go.")
-    (license license:expat)))
-
 (define-public go-github-com-djherbis-atime
   (package
     (name "go-github-com-djherbis-atime")
@@ -251,6 +228,9 @@ (define-public go-go-etcd-io-bbolt
 Postgres or MySQL.")
     (license license:expat)))
 
+(define-public go-etcd-io-bbolt
+  (deprecated-package "go-etcd-io-bbolt" go-go-etcd-io-bbolt))
+
 (define-public go-go-uber-org-automaxprocs
   (package
     (name "go-go-uber-org-automaxprocs")
-- 
2.42.0





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

* [bug#69015] [PATCH v2 0/3] Deprecate the go-etcd-io-bbolt variable.
  2024-02-10 16:57 [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable Troy Figiel
                   ` (5 preceding siblings ...)
  2024-02-10 21:31 ` [bug#69015] [PATCH 3/3] gnu: Deprecate the go-etcd-io-bbolt variable Troy Figiel
@ 2024-02-10 21:55 ` Troy Figiel
  2024-02-23  8:06 ` bug#69015: [PATCH 0/2] " Sharlatan Hellseher
  7 siblings, 0 replies; 11+ messages in thread
From: Troy Figiel @ 2024-02-10 21:55 UTC (permalink / raw)
  To: 69015

Second set of patches. Oleg Pykhalov actually did not have a copyright in
golang.scm although he originally added the go-etcd-io-bbolt package. I added
his copyright to golang-xyz.scm.

Troy Figiel (3):
  gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang-xyz).
  gnu: go-etcd-io-bbolt: Move to (gnu packages golang-xyz).
  gnu: Deprecate the go-etcd-io-bbolt variable.

 gnu/packages/configuration-management.scm |  3 +-
 gnu/packages/databases.scm                | 28 ------------------
 gnu/packages/golang-xyz.scm               | 35 +++++++++++++++++++++++
 gnu/packages/golang.scm                   | 23 ---------------
 4 files changed, 37 insertions(+), 52 deletions(-)


base-commit: e257de4365b24a84f39813aea2e8b4ab6259f283
-- 
2.42.0





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

* [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable.
  2024-02-10 20:57 ` [bug#69015] [PATCH 0/2] " Sharlatan Hellseher
  2024-02-10 21:16   ` Troy Figiel
@ 2024-02-10 22:30   ` Troy Figiel
  1 sibling, 0 replies; 11+ messages in thread
From: Troy Figiel @ 2024-02-10 22:30 UTC (permalink / raw)
  To: 69015


[-- Attachment #1.1.1: Type: text/plain, Size: 313 bytes --]

Hi Oleg,

Because I am deprecating go-etcd-io-bbolt in favour of
go-go-etcd-io-bbolt, its definition has to appear after
go-go-etcd-io-bbolt. I am aware alphabetical order is preferred, but in
this case that was not possible.

And of course I forgot to add my own copyright again...

Best wishes,

Troy

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 6367 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#69015: [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable.
  2024-02-10 16:57 [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable Troy Figiel
                   ` (6 preceding siblings ...)
  2024-02-10 21:55 ` [bug#69015] [PATCH v2 0/3] " Troy Figiel
@ 2024-02-23  8:06 ` Sharlatan Hellseher
  7 siblings, 0 replies; 11+ messages in thread
From: Sharlatan Hellseher @ 2024-02-23  8:06 UTC (permalink / raw)
  To: 69015-done

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


Hi Troy,

go-team branch is initiated!


I completely removed go-etcd-io-bbolt as it was only used by Chezmoi,
and it had been broken for a while without any reports in the bug
tracker to fix it. This lack of activity gave me confidence that it was
not being used much.

2 patches are squashed and amended:
- [PATCH 3/3] gnu: Deprecate the go-etcd-io-bbolt variable.
- [PATCH 2/3] gnu: go-etcd-io-bbolt: Move to (gnu packages golang-xyz).

--8<---------------cut here---------------start------------->8---
gnu: Remove go-etcd-io-bbolt.

go-go-etcd-io-bbolt and go-etcd-io-bbolt are the same version and source
packages. This change removes go-etcd-io-bbolt and keeps
go-go-etcd-io-bbolt.

* gnu/packages/configuration-management.scm (chezmoi) [native-inputs]:
Add go-go-etcd-io-bbolt. Remove go-etcd-io-bbolt.
* gnu/packages/golang.scm (go-etcd-io-bbolt): Remove variable.
--8<---------------cut here---------------end--------------->8---

Pushed as d5d87a4e1d..b482b25d00 to go-team.

--
Oleg

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

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

end of thread, other threads:[~2024-02-23  8:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-10 16:57 [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable Troy Figiel
2024-02-10 16:40 ` [bug#69015] [PATCH 1/2] gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang) Troy Figiel
2024-02-10 16:56 ` [bug#69015] [PATCH 2/2] gnu: Deprecate the go-etcd-io-bbolt variable Troy Figiel
2024-02-10 20:57 ` [bug#69015] [PATCH 0/2] " Sharlatan Hellseher
2024-02-10 21:16   ` Troy Figiel
2024-02-10 22:30   ` Troy Figiel
2024-02-10 21:28 ` [bug#69015] [PATCH 1/3] gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang-xyz) Troy Figiel
2024-02-10 21:29 ` [bug#69015] [PATCH 2/3] gnu: go-etcd-io-bbolt: " Troy Figiel
2024-02-10 21:31 ` [bug#69015] [PATCH 3/3] gnu: Deprecate the go-etcd-io-bbolt variable Troy Figiel
2024-02-10 21:55 ` [bug#69015] [PATCH v2 0/3] " Troy Figiel
2024-02-23  8:06 ` bug#69015: [PATCH 0/2] " Sharlatan Hellseher

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).