Package: golang-github-checkpoint-restore-checkpointctl / 1.3.0+ds1-3

Metadata

Package Version Patches format
golang-github-checkpoint-restore-checkpointctl 1.3.0+ds1-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Replace olekukonko tablewriter with text tabwriter.patch | (download)

README.md | 36 17 + 19 - 0 !
cmd/list.go | 14 7 + 7 - 0 !
cmd/memparse.go | 50 26 + 24 - 0 !
internal/container.go | 15 8 + 7 - 0 !
internal/utils.go | 51 51 + 0 - 0 !
test/checkpointctl.bats | 30 18 + 12 - 0 !
6 files changed, 127 insertions(+), 69 deletions(-)

 replace olekukonko/tablewriter with text/tabwriter

Drop external tablewriter dependency in favor of Go's built-in text/tabwriter
package to reduce dependencies and simplify maintenance.

Changes:
- Replace tablewriter.NewWriter() with tabwriter.NewWriter() in all table
  display functions
- Update table formatting logic to use tab-separated output with headers
  and separator lines
- Remove olekukonko/tablewriter and related dependencies from go.mod
- Update test expectations to match new table output format
- Fix test line number references after table format changes

All tests pass with the new implementation.

Assisted-by: Claude AI for dependency replacement and test updates
Signed-off-by: Adrian Reber <areber@redhat.com>
Signed-off-by: Radostin Stoyanov <rstoyano@redhat.com>