Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397713 - sys-fs/pytagsfs should RDEPEND on dev-python/inotifyx
Summary: sys-fs/pytagsfs should RDEPEND on dev-python/inotifyx
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-05 01:23 UTC by Marc Schiffbauer
Modified: 2012-01-11 22:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schiffbauer gentoo-dev 2012-01-05 01:23:44 UTC
Hi Sebastian,

when mounting if dev-python/inotifyx is not installed, the log says:

WARNING: failed to initialize source tree monitor pytagsfs.sourcetreemon.inotifyx_.DeferredInotifyxSourceTreeMonitor: missing dependency inotifyx

-Marc
Comment 1 Sebastian Pipping gentoo-dev 2012-01-05 13:07:27 UTC
RDEPEND currently says:

  || ( dev-python/inotifyx
       ( dev-libs/libgamin[python]
         app-admin/gam-server ) )

IIRC pytags is meant to work with gamin/gam_server alone.
I agree that a repeated display of this warning is not optimal.
However, if pytags can operate without inotifyx I do not want to add it as a hard dependency.
Comment 2 Marc Schiffbauer gentoo-dev 2012-01-05 14:03:59 UTC
Ok, I did not test, if inotify support was working with only gam-server installed.

But the warning says "failed to initialize source tree monitor" so I assumed that this feature was not working at all. 

Do you really know that it is working despite this waring when inotifyx is not installed but only gam-server?
Comment 3 Sebastian Pipping gentoo-dev 2012-01-05 17:20:17 UTC
(In reply to comment #2)
> Do you really know that it is working despite this waring when inotifyx is not
> installed but only gam-server?

Just tested, looks like it does:

  # mkdir base mount

  # pytagsfs base/ mount/

  # find base/ mount/
  base/
  mount/
  mount/.log

  # cp some.mp3 base/

  # find base/ mount/
  base/
  base/some.mp3
  mount/
  mount/.log
  mount/some.mp3

  # eix inotifyx
  * dev-python/inotifyx
       Available versions:  (~)0.1.1 (~)0.2.0
       Homepage:            http://www.alittletooquiet.net/[..]
       Description:         Python bindings to the Linux in[..]


  sping@sevendust ~/Desktop $ 
  # eix gam-server
  [I] app-admin/gam-server
       Available versions:  0.1.10 {debug kernel_linux}
       Installed versions:  0.1.10(18:03:30 17.11.2010)(kern[..]
       Homepage:            http://www.gnome.org/~veillard/g[..]
       Description:         Library providing the FAM File A[..]

What do you propose?
Comment 4 Marc Schiffbauer gentoo-dev 2012-01-11 21:22:38 UTC
Ok, I also tested this again and indeed: It works quite well despite the warning.

So this could be ignored... the warning made me think that there is NO file watching without that dependency.

I think you can close this as invalid then.
Comment 5 Sebastian Pipping gentoo-dev 2012-01-11 22:23:14 UTC
Okay.