soundcloud-cli icon indicating copy to clipboard operation
soundcloud-cli copied to clipboard

Fix tablewriter dependency in go.mod and go.sum

Open Copilot opened this issue 9 months ago • 0 comments

This PR fixes the build workflow that was failing due to a missing entry for the github.com/olekukonko/tablewriter dependency in go.sum.

Issue

The workflow was failing when trying to update the tablewriter package to v1.x because the codebase relies on v0.0.5 API, which has significant differences from v1.x.

Changes

  • Properly specified the github.com/olekukonko/tablewriter dependency as v0.0.5 in go.mod
  • Ran go mod tidy to ensure all dependencies are correctly recorded in go.sum
  • Verified that the code builds correctly with these dependencies

Note for future updates

Updating to tablewriter v1.x would require substantial code changes in pkg/sccli/sccli.go due to API differences between v0.0.5 and v1.x. Methods such as SetHeader, SetHeaderColor, and constants like tablewriter.Bold and tablewriter.FgCyanColor are not available in v1.x.

[!WARNING]

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • soundcloud.com
    • Triggering command: /tmp/go-build3387129634/b232/soundcloud.test -test.testlogfile=/tmp/go-build3387129634/b232/testlog.txt -test.paniconexit0 -test.gocoverdir=/tmp/go-build3387129634/b232/gocoverdir -test.timeout=10m0s -test.v=true (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot avatar May 20 '25 12:05 Copilot