'up arrows' in snap info version list are hard to read and parse
Bug #1814971 reported by
Jason Hobbs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Medium
|
Unassigned |
Bug Description
snap info <blah> output includes unicode up arrows, or carrots when unicode is disabled, to indicate a version is inherited from a more stable channel.
That's clever and it's neat to show off how snap channels work, but it's not as easy to read or parse as it could be. I'm not sure it is obvious at all what the up arrow indicates - it may require understanding how channels work.
If it would just print the version number for the channel, that would be a lot clearer and more straightforward to parse.
Maybe I'm really asking for a parseable snap info output.
summary: |
- 'up arrows' in snap info version list are unnecessarily clever, hard to - read, and parse + 'up arrows' in snap info version list are hard to read and parse |
tags: | added: cdo-qa |
tags: | added: foundations-engine |
affects: | snappy → snapd |
Changed in snapd: | |
status: | New → Triaged |
Changed in snapd: | |
importance: | Undecided → Medium |
To post a comment you must log in.
For me, parseable snap info is spelt "curl --silent --unix-socket snapd.socket a/v2/find?name=$x". I would like snap to grow a 'snap
/var/run/
query' command like lxc has but until then...
On Thu, 7 Feb 2019 at 11:45, Jason Hobbs <email address hidden> wrote:
> Public bug reported: /bugs.launchpad .net/bugs/ 1814971 /bugs.launchpad .net/snappy/ +bug/1814971/ +subscriptions
>
> snap info <blah> output includes unicode up arrows, or carrots when
> unicode is disabled, to indicate a version is inherited from a more
> stable channel.
>
> That's clever and it's neat to show off how snap channels work, but it's
> not as easy to read or parse as it could be. I'm not sure it is obvious
> at all what the up arrow indicates - it may require understanding how
> channels work.
>
> If it would just print the version number for the channel, that would be
> a lot clearer and more straightforward to parse.
>
> Maybe I'm really asking for a parseable snap info output.
>
> ** Affects: snappy
> Importance: Undecided
> Status: New
>
> ** Summary changed:
>
> - 'up arrows' in snap info version list are unnecessarily clever, hard to
> read, and parse
> + 'up arrows' in snap info version list are hard to read and parse
>
> --
> You received this bug notification because you are a member of Snappy
> Developers, which is subscribed to Snappy.
> https:/
>
> Title:
> 'up arrows' in snap info version list are hard to read and parse
>
> To manage notifications about this bug go to:
> https:/
>