Re: [Tracker] tracker-store status messages and tracker-status





So I'm planning to modify tracker-status and tracker-store so that not
everything falls under the "Journal replay" section. I will keep the
"Idle" message as is, as it is widely used in functional tests to check
if the store is idle, but would like to change all the other status
messages so that we get outputs like these (not given in any special
order):

  â     Idle
  1%    Restoring backup - Journal replay
  1%    Initializing - Journal replay
  1%    Initializing - Recreating indexes
  1%    Changing locale - Recreating indexes


See libtracker-data and tracker-store change:
http://git.gnome.org/browse/tracker/commit/?h=collation-gconf-locale&id=7d22a69221f40686a28c00131d469c2f66893507


Of course we could split these two things in different fields reported
by dbus, and align the output nicely w.r.t the Miners status but that
would mean changing the specs of the dbus status reports... If we really
want the tracker-status output aligned to the Miners status, we could
just process the received tracker-store status line looking for the dash
and insert additional white-spaces before the dash when printing it, so
that we could for example have:


And tracker-status change to align stuff nicely:
http://git.gnome.org/browse/tracker/commit/?h=collation-gconf-locale&id=c2f3aada72fb7e0b5d1d74e15cefb814989d2a6a


-- 
Aleksander




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]