From: Ricardo Martincoski Date: Thu, 6 Jul 2017 01:36:31 +0000 (-0300) Subject: pkg-stats: allow to sort by column X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f762fb620f440a72af128b3455df3897d06fba1;p=buildroot.git pkg-stats: allow to sort by column With 2000+ packages it's not trivial to identify i.e.: - all packages that don't have a hash file; - all packages that have patches; - all packages that have code style warnings; User experience can be improved by dynamically sorting the resulting table. There is an open-source solution that does that in the client-side and requires minimal changes to our script: sorttable.js. The script is MIT licensed as stated in its website. Also add a hint to the user that the table can be sorted. Signed-off-by: Ricardo Martincoski Cc: Arnout Vandecappelle Signed-off-by: Thomas Petazzoni --- diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 1956941f37..95a8afc45e 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -26,6 +26,7 @@ # echo " +