Follow symbolic links

Bug #136174 reported by Adam Olsen
8
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Wishlist
Unassigned

Bug Description

Follow symlinks when importing library.

What about infinite loops? We could add checking, but will it take a lot of time?

This ticket was migrated from the old trac: re #737

Adam Olsen (arolsen)
Changed in exaile:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Ferrix Hovi (ferrix) wrote :

This patch also makes Exaile follow symbolic links. It adds the directories by their real names.

Revision history for this message
Ferrix Hovi (ferrix) wrote :

I just noticed that my previous patch allows exaile to get caught in an eternal loop.

This new patch keeps track of all paths while following symbolic links and never scans twice.

Revision history for this message
Ferrix Hovi (ferrix) wrote :

Ah, forgot one python specialty. Now it works more than once.

Revision history for this message
Johannes Sasongko (sjohannes) wrote :

Thanks. I've updated the patch to the code in main, and changed it to use set instead of list.

Changed in exaile:
milestone: none → 0.2.12
status: Confirmed → Fix Committed
Revision history for this message
Nizar Kerkeni (nizarus) wrote :

Hello;
In which version of exail this patch is included ? I'm using exail 0.2.11 on hardy and it can't follow symbolic links when scanning library.

Revision history for this message
Ferrix Hovi (ferrix) wrote : Re: [Bug 136174] Re: Follow symbolic links

Nizar K kirjoitti:
> Hello;
> In which version of exail this patch is included ? I'm using exail 0.2.11 on hardy and it can't follow symbolic links when scanning library.

Later than that. I have a patch for 0.2.11 available somewhere but a
recent snapshot should also do.

reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.