bugyaGTD - Yet Another Getting Things Done. - Bugs: bug #13266, no locking of todo file

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #13266: no locking of todo file

Submitted by:  Ward Vandewege <ward>
Submitted on:  Thu 26 Mar 2009 04:24:20 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: In Progress
Privacy: PublicAssigned to: MiKaël NAVARRO <klnavarro>
Open/Closed: Open

Sun 29 Mar 2009 01:51:15 PM UTC, comment #1:

I prefer the solution 'a', cleaner:
I'm studying several solutions (Guido van Rossum suggests a lock creating a directory with the same name plus a trailing underscore) to implement a simple lockfile that should work under Unix (+Mac OS X) and Windows...

MiKaël NAVARRO <klnavarro>
Project AdministratorIn charge of this item.
Thu 26 Mar 2009 04:24:20 PM UTC, original submission:

yaGTD does not appear to do any locking of the todo file. That means multiple copies can be running at the same time, and overwrite each other's changes.

yaGTD also does not appear to pick up on any external changes made to the todo file (for instance, by another copy of yagtd that's running).

Proposed solution:

a) only allow one copy of yaGTD to start up with the same todo file by using file locking.

b) test for changes to the todo file before saving, and refuse to write the todo file and save as another file if the todo file is found to be changed.

Ward Vandewege <ward>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by klnavarro (Updated the item)
  • -unavailable- added by ward (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 21 Apr 2010 09:53:19 AM UTCklnavarroStatusConfirmed=>In Progress
    Wed 08 Apr 2009 08:32:52 PM UTCklnavarroStatusNone=>Confirmed
    Sat 28 Mar 2009 02:59:16 PM UTCklnavarroAssigned toNone=>klnavarro
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup