Lockfile class for using (dangling) symlinks for locking. Patch attached. (More testing would be preferred, though).
Initial problem for me was that hardlinks didn't work well over sshfs.
Side note: pylockfile code could likely use some redesign — a bit of formatting, some better expressions (although not very sure about pre-2.6 compatibility on those), and more abstract version of acquire() which uses own classmethods and doesn't have to be copied in all classes.
- lockfile-syml.patch 3.13KB
Comment #1
Posted on Nov 6, 2010 by Grumpy LionThanks. Added as rev 112. Will be in v. 0.9.2.
Comment #2
Posted on Nov 6, 2010 by Grumpy Lion(No comment was entered for this change.)
Comment #3
Posted on Nov 6, 2010 by Grumpy LionSorry, still trying to figure out how this issue tracker works.
Status: Fixed
Labels:
Type-Defect
Priority-Medium