For me, parseable snap info is spelt "curl --silent --unix-socket
/var/run/snapd.socket a/v2/find?name=$x". I would like snap to grow a 'snap
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:
>
> 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://bugs.launchpad.net/bugs/1814971
>
> Title:
> 'up arrows' in snap info version list are hard to read and parse
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/snappy/+bug/1814971/+subscriptions
>
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:/
>