Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace bolt dependency with bbolt #22030

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

hack3ric
Copy link

Description

There are some dependencies that still depends on the unmaintained bolt after #11720. Replace it so that we can have one less dependency, and build on newer architecture like RISC-V.

Two lines of replace are required because Go refuses to replace github.com/boltdb/bolt with go.etcd.io/bbolt when the latter is also present in the dependency tree. Replace it again with github.com/etcd-io/bbolt solves the issue.

Testing & Reproduction steps

No bugs, just replacing one unmaintained dependency with the maintained fork.

Links

We built Consul successfully on Arch Linux RISC-V: https://github.com/felixonmars/archriscv-packages/blob/8c237b29417eb927f57c42f3b30d33eb855e6e53/consul/riscv64.patch

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

There are some dependencies that still depends on the unmaintained bolt after
hashicorp#11720. Replace it so that we can have
one less dependency, and build on newer architecture like RISC-V.

Two lines of replace are required because Go refuses to replace
github.com/boltdb/bolt with go.etcd.io/bbolt when the latter is also present in
the dependency tree. Replace it again with github.com/etcd-io/bbolt solves the
issue.
@hack3ric hack3ric requested a review from a team as a code owner December 23, 2024 07:50
Copy link

hashicorp-cla-app bot commented Dec 23, 2024

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the pr/dependencies PR specifically updates dependencies of project label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/dependencies PR specifically updates dependencies of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant