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 158287 - Indexer doesn't handle symlinks
Indexer doesn't handle symlinks
Status: RESOLVED DUPLICATE of bug 161930
Product: muine
Classification: Other
Component: general
trunk
Other Linux
: Normal normal
: ---
Assigned To: Muine Maintainers
Muine Maintainers
: 155193 313765 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-11-14 18:16 UTC by Peter Oliver
Modified: 2006-09-29 15:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Do not index a directory more than once (1023 bytes, patch)
2004-12-30 23:43 UTC, Peter Oliver
rejected Details | Review

Description Peter Oliver 2004-11-14 18:16:46 UTC
When Muine indexes directories for audio files, it doesn't treat symlinks in a
special way.  This causes a couple of problems.

If there are symlinks from one part of the indexed directory hierarchy to
another, songs appear twice in the song list, despite only existing once on disk.

If their are recursive symliks, muine repeatedly indexes the same files.
Comment 1 Jorn Baayen 2004-11-14 18:55:44 UTC
*** Bug 155193 has been marked as a duplicate of this bug. ***
Comment 2 Peter Oliver 2004-12-30 23:43:01 UTC
Created attachment 35314 [details] [review]
Do not index a directory more than once

The attatched patch fixes half of the problem by preventing muine from
following recursive symlinks.  It keeps a list of visited directories and skips
any that it has already seen.

However, it uses Mono.Unix.UnixPath.GetRealPath, which is currently only
available with mono HEAD.
Comment 3 Jorn Baayen 2005-02-03 20:14:38 UTC
Comment on attachment 35314 [details] [review]
Do not index a directory more than once

Thanks for the patch. The plan is however to use canonicalized uris when we use
gnome-vfs support.. that should do the trick.
Comment 4 Teppo Turtiainen 2005-08-21 16:53:15 UTC
*** Bug 313765 has been marked as a duplicate of this bug. ***
Comment 5 Wouter Bolsterlee (uws) 2006-09-29 15:24:22 UTC
Any progress on this bug? Are canonical URLS being used already?
Comment 6 Wouter Bolsterlee (uws) 2006-09-29 15:30:27 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 161930 ***