GNU bug report logs - #69015
[PATCH 0/2] Deprecate the go-etcd-io-bbolt variable.

Previous Next

Package: guix-patches;

Reported by: Troy Figiel <troy <at> troyfigiel.com>

Date: Sat, 10 Feb 2024 17:29:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

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

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

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


Report forwarded to guix-patches <at> gnu.org:
bug#69015; Package guix-patches. (Sat, 10 Feb 2024 17:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Troy Figiel <troy <at> troyfigiel.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 10 Feb 2024 17:29:02 GMT) Full text and rfc822 format available.

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

From: Troy Figiel <troy <at> troyfigiel.com>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable.
Date: Sat, 10 Feb 2024 17:57:37 +0100
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





Information forwarded to guix-patches <at> gnu.org:
bug#69015; Package guix-patches. (Sat, 10 Feb 2024 17:34:02 GMT) Full text and rfc822 format available.

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

From: Troy Figiel <troy <at> troyfigiel.com>
To: 69015 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang).
Date: Sat, 10 Feb 2024 17:40:28 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#69015; Package guix-patches. (Sat, 10 Feb 2024 17:34:02 GMT) Full text and rfc822 format available.

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

From: Troy Figiel <troy <at> troyfigiel.com>
To: 69015 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: Deprecate the go-etcd-io-bbolt variable.
Date: Sat, 10 Feb 2024 17:56:02 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#69015; Package guix-patches. (Sat, 10 Feb 2024 20:58:01 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 69015 <at> debbugs.gnu.org
Subject: [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable.
Date: Sat, 10 Feb 2024 20:57:18 +0000
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#69015; Package guix-patches. (Sat, 10 Feb 2024 21:59:02 GMT) Full text and rfc822 format available.

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

From: Troy Figiel <troy <at> troyfigiel.com>
To: guix-patches <at> gnu.org
Subject: Re: [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable.
Date: Sat, 10 Feb 2024 22:16:16 +0100
[Message part 1 (text/plain, inline)]
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
[OpenPGP_0xC67C9181B3893FB0.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#69015; Package guix-patches. (Sat, 10 Feb 2024 21:59:02 GMT) Full text and rfc822 format available.

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

From: Troy Figiel <troy <at> troyfigiel.com>
To: 69015 <at> debbugs.gnu.org
Subject: [PATCH v2 0/3] Deprecate the go-etcd-io-bbolt variable.
Date: Sat, 10 Feb 2024 22:55:18 +0100
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





Information forwarded to guix-patches <at> gnu.org:
bug#69015; Package guix-patches. (Sat, 10 Feb 2024 22:00:04 GMT) Full text and rfc822 format available.

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

From: Troy Figiel <troy <at> troyfigiel.com>
To: 69015 <at> debbugs.gnu.org
Subject: [PATCH 1/3] gnu: go-go-etcd-io-bbolt: Move to (gnu packages
 golang-xyz).
Date: Sat, 10 Feb 2024 22:28:27 +0100
* 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 <at> flashner.co.il>
 ;;; Copyright © 2023 Benjamin <benjamin <at> uvy.fr>
 ;;; Copyright © 2023 Thomas Ieong <th.ieong <at> free.fr>
 ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom <at> 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





Information forwarded to guix-patches <at> gnu.org:
bug#69015; Package guix-patches. (Sat, 10 Feb 2024 22:01:03 GMT) Full text and rfc822 format available.

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

From: Troy Figiel <troy <at> troyfigiel.com>
To: 69015 <at> debbugs.gnu.org
Subject: [PATCH 2/3] gnu: go-etcd-io-bbolt: Move to (gnu packages golang-xyz).
Date: Sat, 10 Feb 2024 22:29:42 +0100
* 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 <at> gmail.com>
+;;; Copyright © 2021 Ludovic Courtès <ludo <at> gnu.org>
+;;; Copyright © 2021 Sarah Morgensen <iskarian <at> mgsn.dev>
 ;;; Copyright © 2022 Efraim Flashner <efraim <at> flashner.co.il>
 ;;; Copyright © 2023 Benjamin <benjamin <at> uvy.fr>
 ;;; Copyright © 2023 Thomas Ieong <th.ieong <at> free.fr>
@@ -39,6 +42,29 @@ (define-module (gnu packages golang-xyz)
 ;;;
 ;;; Code:
 
+(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





Information forwarded to guix-patches <at> gnu.org:
bug#69015; Package guix-patches. (Sat, 10 Feb 2024 22:19:01 GMT) Full text and rfc822 format available.

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

From: Troy Figiel <troy <at> troyfigiel.com>
To: 69015 <at> debbugs.gnu.org
Subject: [PATCH 3/3] gnu: Deprecate the go-etcd-io-bbolt variable.
Date: Sat, 10 Feb 2024 22:31:24 +0100
* 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:
 
-(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





Information forwarded to guix-patches <at> gnu.org:
bug#69015; Package guix-patches. (Sat, 10 Feb 2024 22:31:02 GMT) Full text and rfc822 format available.

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

From: Troy Figiel <troy <at> troyfigiel.com>
To: guix-patches <at> gnu.org
Subject: Re: [bug#69015] [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable.
Date: Sat, 10 Feb 2024 23:30:08 +0100
[Message part 1 (text/plain, inline)]
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
[OpenPGP_0xC67C9181B3893FB0.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]

Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Fri, 23 Feb 2024 08:09:01 GMT) Full text and rfc822 format available.

Notification sent to Troy Figiel <troy <at> troyfigiel.com>:
bug acknowledged by developer. (Fri, 23 Feb 2024 08:09:01 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 69015-done <at> debbugs.gnu.org
Subject: [PATCH 0/2] Deprecate the go-etcd-io-bbolt variable.
Date: Fri, 23 Feb 2024 08:06:32 +0000
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

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

This bug report was last modified 126 days ago.

Previous Next


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