View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005651||GNUnet||other||public||2019-03-16 18:06||2019-04-01 14:01|
|Target Version||Fixed in Version|
|Summary||0005651: CLI list output lack sorting|
|Description||Confusing me most often:|
$ gnunet-transport -in
Peer `3969': tcp tcp.0.46.188.6.64:2086
Peer `7WRD': tcp tcp.0.47.220.150.33:2086
Peer `DSTJ': tcp tcp.0.131.159.74.67:2086
Peer `Y1TA': tcp tcp.0.80.108.54.113:2086
nse # nodes in the network (estimate): 203
nse # flood messages transmitted: 12
transport # requests to create session with invalid address: 10
transport # Addresses given to ATS: 14
fs # query messages sent to other peers: 704
core # bytes of messages of type 1007 received: 104
transport # bytes transmitted via TCP: 20183531
transport # address revalidations started: 55
hostlist # valid HELLOs downloaded from hostlist servers: 18
fs # query plan entries: 972
ats # reservation requests processed: 798
transport # PONGs unicast via reliable transport: 4
nse # peers connected: 5
fs # GET requests received (from other peers): 8260
core # bytes of messages of type 137 received: 62192
Expires: sam fév 16 12:25:25 2019 udp:10:0
Expires: end of time tcp:12:0
Expires: end of time tcp:24:0
Expires: end of time http_client:34:0
Expires: end of time http_client:59:0
Expires: end of time https_client:35:0
Expires: end of time https_client:60:0
Expires: dim mar 17 05:55:35 2019 udp:10:0
Expires: dim mar 17 06:40:08 2019 udp:22:0
Expires: jeu mar 14 05:37:17 2019 udp:22:0
Expires: jeu mar 14 02:50:44 2019 udp:22:0
Expires: mer mar 13 15:12:49 2019 udp:22:0
Expires: dim mar 10 09:47:23 2019 udp:22:0
^-- this one is extra-naughty because it is un-|sort-able.
$ gnunet-config --list
The following sections are available:
Runners-up: ats, cadet, identity.
|Tags||No tags attached.|
I think these are several tickets in one.
You are asking for output which can be sorted and filtered.
You are also asking for sorted output in general.
And you are asking for it for several subsystems and binaries.
My main concern is "listings that could be reasonably expected to be sorted, should be". Indeed, it is about user experience, not binaries.
Maybe there is some order already and this is a documentation issue. I simply don't know how to approach this yet.
||I think we have to sort in 2 categories here. The output of what I call usage() function in my own applications is as far as as I remember the product of two functions: 1 is generic, shared command line functions, 2 is specific command line functions which aren't shared between applications.|
||Nevermind, this was about output of command line functions, not the output of the listing of the functions.|