canonical / ubuntu-pro-client

Ubuntu Pro Client for offerings from Canonical
https://canonical-ubuntu-pro-client.readthedocs-hosted.com/en/latest/
GNU General Public License v3.0
52 stars 73 forks source link

Remove Feature: `pro security-status --format json` #3161

Open orndorffgrant opened 3 months ago

orndorffgrant commented 3 months ago

Please describe the scenario where the new feature would be useful

Almost all data currently in pro security-status --format json is covered by better API functions, so we should begin to deprecate and remove it in accordance with our deprecation policy.

Describe the solution you'd like

Deprecate and per-release-remove the --format json argument to pro security-status after all data therein is covered by API functions.

Current behavior

pro security-status --format json is not deprecated or removed.

s-makin commented 2 months ago

In addition to that, I was playing around with these commands and I noticed that calling security-status with the --esm-apps and --format yaml options returns updates for packages from esm-infra instead, which is a bit weird

image