Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upqvm-ls --raw-data: also remove the []{}=> chars #2444
Comments
rootkovska
added
C: core
enhancement
P: minor
labels
Nov 20, 2016
rootkovska
added this to the Release 3.2 updates milestone
Nov 20, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jpouellet
Nov 22, 2016
Contributor
I am currently relying on this in one of my scripts, and using --raw-list where plain names are desired. I'm more than happy to change my parsing as I think it would actually simplify things anyway, but one question I even had at the time was what Qubes interfaces should be considered stable? This would be nice to have an actual documented policy on.
As for the specifics of this case, I can easily change it to check ip back != n/a instead of {}, and type = Tpl instead of [].
That leaves only =>. What do you suggest is the best way to expose that? Additional field hidden from default view?
|
I am currently relying on this in one of my scripts, and using As for the specifics of this case, I can easily change it to check That leaves only |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
FWIW, core3 looks like the stable interface I actually want. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Nov 22, 2016
Member
That leaves only =>. What do you suggest is the best way to expose that? Additional field hidden from default view?
See qubes-prefs.
FWIW, core3 looks like the stable interface I actually want.
The ugliness of the current interface (and the code behind it) is one of the reason for core3...
@rootkovska does --raw-list solve your case? Otherwise I think we may introduce new field like raw_name to not break compatibility.
See
The ugliness of the current interface (and the code behind it) is one of the reason for core3... @rootkovska does |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
There is also |
rootkovska commentedNov 20, 2016
•
edited
Edited 1 time
-
rootkovska
edited Nov 20, 2016 (most recent)
Just make it easier to write bash scripts, avoid piping through additional tr -d :)