[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Taking Issue 45

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-06-25 19:55:03 CEST

Stefan Fuhrmann wrote:

> My current plan:
> (I) Initial Design
> * use cases, requirements, big picture design
> * storage layer design
> (efficient in time & space, sufficiently generic / extensible)
> * in-memory representation design
> (efficient in time & space)
> * basic query and update design
> (check use-cases against data structure design)

Looks good.

> (II) Data Layer
> * write some code & design docs
> * write a basic CLI
> * add XML I/O
> * finish implementation and test it

Are you sure you want to use XML for this? I think it's a little bit
overkill for a cache.
Even the Subversion project dropped XML for their working copy entries
file in 1.4.x for better performance.

> (III) Query Layer
> * implement query functions
> * add CLI support for queries
> * finish implementation and test it
> * add log query API similar to SVN

Looks good.

> (IV) Repository connection
> * implement incremental update and replace
> * add connection to SVN repos layer (i.e. actually query logs through SVN)
> * extend CLI support to optionally trigger SVN queries
> * finish implementation and test it

Looks good.

> (V) Integration
> * add a log source abstraction to TortoiseProc
> * add log cache as 2nd log source
> * test and fix query layer API

Looks good.

> It may give you the impression of over-engineering. But thinking
> about it, I quickly realized that this feature is particularly helpful
> for "extreme" use cases (like all sorts of statistics, QA etc.) Therefore,
> I go for a terse, pre-processed data structure.

I actually have never seen such a detailed plan before :)
Your plan looks really good. If you can really do this, the TSVN project
would benefit greatly!


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Jun 25 19:55:21 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.