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
Migrate to tableprinter from go-gh #6346
Conversation
|
The new
The utils tableprinter is now deprecated. |
| @@ -86,6 +86,7 @@ func (a *App) List(ctx context.Context, opts *listOptions, exporter cmdutil.Expo | |||
| return cmdutil.NewNoResultsError("no codespaces found") | |||
| } | |||
|
|
|||
| //nolint:staticcheck // SA1019: utils.NewTablePrinter is deprecated: use internal/tableprinter | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the team create an issue to migrate these, or are you planning to tackle this as part of some other work?
cc @cmbrose (not sure who's "owning" cs CLI these days)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. Codespace team: feel free to ignore this. It's a codebase-wide deprecation and doesn't need to be immediately addressed specifically for codespaces. The deprecation is mostly to avoid new code importing the legacy utils package.
Tableprinter now lives as a go-gh package with a nicer API. This migrates to using it behind the original, legacy API.
TODO