← Back to team overview

pytagsfs team mailing list archive

Re: Follow symlinks option ?



On Sun, Nov 22, 2009 at 12:29:52PM -0500, Forest Bond wrote:
> On Sun, Nov 22, 2009 at 03:55:56PM +0100, Jean-Baptiste wrote:
> > Hello everybody,
> > 
> > is there a way to tell pytagsfs to follow symlink ?
> > 
> > I'd like to do the following :
> > 
> > $ mkdir musicdir
> > $ mkdir musicdir_pytagsfs
> > $ pytagsfs -o format='/%a/%f' musicdir musicdir_pytagsfs
> > $ ln -s directorywithmusic musicdir/somemusic
> > 
> > and see something in the musicdir_pytagsfs.
> > 
> > I hope i didn't miss somthing in the documentation ;)
> I'm not surprised that this doesn't work.  Can you file a bug?
> https://bugs.launchpad.net/pytagsfs/+filebug
> I'm preparing to make a release in the next week or so, mostly to fix some
> serious concurrency issues in current pytagsfs (deadlocks).  If this feature is
> reasonably simple to implement, I can try to include it.  Otherwise, it may have
> to wait until the next version.

After looking at this a little more closely, I don't think I'll include it in
the next release.  I think it's a little bit tricky to get right.  We'd have to
handle possible infinite recursion due to symlink loops, and the source tree
monitor implementations (inotify, gamin, kqueue) may handle symlinks
differently (not sure), so I would want to spend a little time making sure each
is modified appropriately.

The next release will include some important bug fixes, so I want to get it out
as soon as possible.  I'm currently thinking that it will be the 1.0 release.
The core features have been implemented for a while, and after this release I'll
have reasonably high confidence that no serious bugs remain.

Forest Bond

Attachment: signature.asc
Description: Digital signature