Skip to content

chore(disctl): migrate charmbracelet/bubbles to v2 (charm.land/bubbles/v2) #3572

Description

@bengtfredh

Background

Renovate PR #3538 attempts to bump charmbracelet/bubbles from v0.21.1v2.1.0 in tools/disctl but fails because bubbles v2 moved its canonical module path from GitHub to a custom domain.

Problem

go mod tidy rejects the update:

module declares its path as: charm.land/bubbles/v2
        but was required as: github.com/charmbracelet/bubbles/v2

Renovate cannot perform this migration automatically. PR #3538 should be closed.

Required changes

  1. tools/disctl/go.mod — change require to charm.land/bubbles/v2
  2. tools/disctl/cmd/releases.go — update import from github.com/charmbracelet/bubbles/tablecharm.land/bubbles/v2/table
  3. API changes in releases.go:
    • table.DefaultStyles() now takes an isDark bool parameter
    • table.WithHeight / table.Model.Height replaced with getter/setter methods — check v2 API

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions