After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 657063 - Allow to pass a command to folks-inspect
Allow to pass a command to folks-inspect
Status: RESOLVED FIXED
Product: folks
Classification: Platform
Component: folks-inspect
git master
Other Linux
: Normal enhancement
: Unset
Assigned To: folks-maint
folks-maint
Depends on: 656184
Blocks:
 
 
Reported: 2011-08-22 09:10 UTC by Guillaume Desmottes
Modified: 2012-01-08 23:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2011-08-22 09:10:29 UTC
Most of the time I don't need the interactive mode and would like to do, say, "folks-inspect individuals".
Comment 1 Philip Withnall 2011-08-22 17:45:27 UTC
Yes, that would be a great feature. It hasn't been added before because there was no way to know how long to wait until the results would be meaningful (i.e. running `individuals` immediately after opening folks-inspect generally gives an empty set because none of the backends are prepared yet). However, bug #656184 will give a solution for this problem.
Comment 2 Philip Withnall 2012-01-08 23:41:02 UTC
commit 56e69d1c2bdb2311f01b8d291f85645a356edd78
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Sun Jan 8 21:31:04 2012 +0000

    Bug 657063 — Allow to pass a command to folks-inspect
    
    Add a non-interactive mode to folks-inspect which executes the command
    given on the command line synchronously, and then exits.
    
    Closes: https://bugzilla.gnome.org/show_bug.cgi?id=657063

 tools/inspect/inspect.vala |  165 ++++++++++++++++++++++++++++++++++----------
 1 files changed, 128 insertions(+), 37 deletions(-)