Ticket #103 (new enhancement)

Opened 12 months ago

Last modified 11 months ago

Automatic search in parent folders for todo database when current folder lacks one (project like todo)

Reported by: anonymous Owned by: athomas
Priority: minor Component: DevTodo
Severity: minor Keywords:
Cc:

Description

Being a git user I'm quite used to the idea of having settings at the 'project' root and the tool will be able to search for it as long as I'm inside that project folder.

Basically what happens is that anytime one would issue the command todo it would search in the current folder for a .todo and if none is found, jump to ../.todo and then ../../.todo until one is found or the root is reached.

A parameter such as 'search-parent' could toggle this behavior.

With this feature one could greatly enhance the support for project driven todo databases instead of global or folder driven.

Thanks for your time and for the great tool

Attachments

devtodo-path-recursive.patch (5.2 KB) - added by anonymous 11 months ago.
Patch implementing path recursivity on .todo location

Change History

Changed 11 months ago by anonymous

Patch implementing path recursivity on .todo location

Changed 11 months ago by anonymous

Please consider the attached patch with the optional path recursive feature

Thanks, Renato

Changed 11 months ago by anonymous

This patch works for existing .todo databases but if the option path-recursive is set by default you cannot create databases in the current folder as it will try to look for an existing database all the way till the root and then will (try to) create it there (/.todo).

Distinguishing the create and add processes would be the best way to workaround this.

Add/Change #103 (Automatic search in parent folders for todo database when current folder lacks one (project like todo))

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from athomas. Next status will be 'new'
The owner will change from athomas to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.