Opened 17 years ago

Closed 16 years ago

#5 closed enhancement (fixed)

only parse updated files

Reported by: Peter Johansson Owned by: Jari Häkkinen
Priority: blocker Milestone: svndigest 0.7
Component: core Version: trunk
Keywords: Cc:

Description (last modified by Peter Johansson)

Only file that have been changed since last parsing should be parsed. How do we know if a file is changed? As a suggestion we save that information in files created in a directory "root/.svnstat/". These files contain information on what revision they are based upon and also the output from the Stats object. When this output is not outdated the Stats object parse this file rather than calling the subversion repoitory.

needs #78 #79

Change History (9)

comment:1 Changed 17 years ago by Peter Johansson

Summary: only parse update filesonly parse updated files

comment:2 Changed 17 years ago by Peter Johansson

Description: modified (diff)

comment:3 Changed 17 years ago by Peter Johansson

Description: modified (diff)

comment:4 Changed 17 years ago by Peter Johansson

I each output (?) directory we create a subdirectory named .svndigest. In there the Stats of each node is saved with file name identical to the node (perhaps with a suffix c.f. svn). As the first line in the Stats is the rev number we quickly decide whether the Stats saved is up-to-date or not.

comment:5 Changed 17 years ago by Peter Johansson

Description: modified (diff)

comment:6 Changed 16 years ago by Jari Häkkinen

Version: trunk

Store chache info on the read side, i.e., in the checkout directory. An neglect cache option is needed, i.e., recreate cache.

comment:7 Changed 16 years ago by Jari Häkkinen

Priority: majorblocker

comment:8 Changed 16 years ago by Peter Johansson

I think we should only cache stats for files. Dirs get their stats info from their daughter nodes anyway, so they are cached implicitely anyway.

comment:9 Changed 16 years ago by Peter Johansson

Resolution: fixed
Status: newclosed

fixed in [482]

Note: See TracTickets for help on using tickets.