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 321760 - Test harness to show libinotify working
Test harness to show libinotify working
Status: RESOLVED FIXED
Product: libinotify
Classification: Deprecated
Component: general
CVS HEAD
Other All
: Normal minor
: ---
Assigned To: Libinotify Maintainer(s)
Libinotify Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2005-11-17 23:07 UTC by Martyn Russell
Modified: 2005-11-18 00:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adds a test tool to demonstrate libinotify (5.20 KB, patch)
2005-11-17 23:13 UTC, Martyn Russell
committed Details | Review

Description Martyn Russell 2005-11-17 23:07:25 UTC
So you can actually use the library with a test tool.

Other information:
Comment 1 Martyn Russell 2005-11-17 23:13:40 UTC
Created attachment 54894 [details] [review]
Adds a test tool to demonstrate libinotify

Hey Ryan, 

I have created this patch so you can actually check out libinotify from CVS and
run a test app to prove it works.

I have been looking at integrating libinotify with GnomeVFS since we (Imendio)
might want to work on getting it into GnomeVFS.  

I have spoken to Christian Kellner (gicmo) and he really wants to get
libinotify into GnomeVFS for inotify support.

What are your thoughts on this?
Comment 2 Allison Karlitskaya (desrt) 2005-11-18 00:02:47 UTC
Committed to CVS with a couple of minor changes:

1) Modified to support multiple commandline arguments (to monitor multiple files)
2) Modified so that if an argument is prefixed by = (ie: =/home/desrt) then the
file is opened using libinotify's "file based" mode.

Thank you very much for the patch.  Your work is appreciated.


As for GnomeVFS, I've been talking to Christian too.  He has a lot of ideas for
expanding the GnomeVFS monitoring API to allow some of the features of
libinotify to be put to better use.  I'm actually sort of waiting for him to
tell me about what he wishes to expose to the user so I can better accommodate
his needs.  Activity in this area is therefore extremely welcome (by myself,
certainly, and by Christian too, I'd imagine).