Ticket #807 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

tiddlyweb- simplifying directory structure for file store

Reported by: mahemoff Owned by: ChrisDent
Priority: undefined Milestone:
Component: tiddlyweb Version:
Severity: undefined Keywords:
Cc:

Description (last modified by FND) (diff)

Maybe a bit late if there's already legacy out there, but I'd like to suggest simplifying the file store directory hierarchy. During development, I'm spending a lot of time navigating around, making new dirs, etc., and with Subversion this can get to be a fair amount of overhead and mental effort spent on things that mightn't need to be.

I feel we could improve the "signal-to-noise ratio" in the sense that many directories are by design mostly just containers for other directories.

Using the following conventions, I believe it is fairly straightforward to make the structure much faster to navigate around:

  • instead of bags/ and recipes/, just a single top-level dir. All sub-directories are bags, all files ending with .recipe are recipes.
  • instead of bags/people/tiddlers, just /bags/people. Each directory is a tiddler, files name "description" and "policy" are the description and policy.

With this structure, we go from:

/bags/people/tiddlers/admin/1

to

/people/admin/1

with little cost IMO.

Change History

Changed 3 years ago by mahemoff

The two rules didn't format right. The above should read:

- instead of bags/ and recipes/, just a single top-level dir. All sub-directories are bags, all files ending with .recipe are recipes.

- instead of bags/people/tiddlers, just /bags/people. Each directory is a tiddler, files name "description" and "policy" are the description and policy.

Changed 3 years ago by FND

  • type changed from defect to enhancement
  • description modified (diff)

fixed formatting

Changed 3 years ago by FND

  • status changed from new to closed
  • resolution set to fixed

Fixed in changeset:7426 (as a plugin)

Note: See TracTickets for help on using tickets.