A few feature requests for arbtt-stats

Joachim Breitner mail at joachim-breitner.de
Sun Jan 17 16:26:39 CET 2016


Hi,

Am Samstag, den 16.01.2016, 14:15 +0100 schrieb Nikola M:
> I'm currently using arbtt 0.8.1-1 (Debian Jessie).
> I'm not sure if newer versions of arbtt-stats already have these
> features.

Likely not:
http://arbtt.nomeata.de/doc/users_guide/release-notes.html

> (1)
> I suggest an additional row with "LastRecord - FirstRecord".
> 
> General
> Information                                                          
>                                                                      
>                                             
> ===================
>                        FirstRecord | 2015-12-31 19:24:48.432324 UTC
>                         LastRecord | 2016-01-16 12:23:22.325992 UTC
>           LastRecord - FirstRecord |                   15d16h58m34s

Is that very useful?

In a way it is already there; take the Total time recorded and divide
by „Fraction of total time recorded“


> (2a)
> 
> Currently the Tag column is right-aligned.
> 
> Statistics for category "day"
> =============================
> __________Tag_|______Time_|_Percentage_
> day:Wednesday | 22h13m00s |      22.16
>  day:Saturday | 19h10m00s |      19.12
>    day:Monday | 16h02m00s |      15.99
>    day:Sunday | 12h07m00s |      12.08
>  day:Thursday | 11h40m00s |      11.64
>   day:Tuesday | 10h28m00s |      10.44
>    day:Friday |  8h36m00s |       8.58
> 
> 
> Is it possible to add a command line switch to make the Tag column
> left-aligned.

Nah; I think it should just be left-aligned, without a switch. (Nobody
needs it right aligned...)

Would you feel like filing a bug at
https://bitbucket.org/nomeata/arbtt/issues?status=new&status=open
for this?

> (2b)
> 
> If you decide to add the left-aligned option, maybe it would be
> useful to add dots every N lines to help reading long lists.
> For example, if N=3 the output would be:
> 
> Statistics for category "day"
> =============================
> __________Tag_|______Time_|_Percentage_
> day:Wednesday | 22h13m00s |      22.16
> day:Saturday  | 19h10m00s |      19.12
> day:Monday ...|.16h02m00s |......15.99
> day:Sunday    | 12h07m00s |      12.08
> day:Thursday  | 11h40m00s |      11.64
> day:Tuesday ..|.10h28m00s |......10.44
> day:Friday    |  8h36m00s |       8.58

I’m not sure about this. Does it really help? What do others on this
list think?

> (3)
> Currently the output is sorted by Time/Percentage.
> Is it possible to sort results by Tag name?

Currently not. You could write to a CSV file and then open it in your
favorite spreadsheet program, but a --sort=Tag flag seems to be
reasonable. Again, would you mind filing a bug report?


arbtt development is currently rather slow (I have more interesting
projects right now), and user demand is low. But it will likely happen
eventually, and sooner the more user demand I know about.

Also, patches welcome, if you are not afraid of Haskell :-)

Greetings,
Joachim

-- 
Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0xF0FBF51F
  Debian Developer: nomeata at debian.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.nomeata.de/pipermail/arbtt/attachments/20160117/1fc7bb10/attachment.asc>


More information about the arbtt mailing list