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 )
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.
Change History (9)
comment:1 Changed 17 years ago by
Summary: | only parse update files → only parse updated files |
---|
comment:2 Changed 17 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 17 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 17 years ago by
comment:5 Changed 17 years ago by
Description: | modified (diff) |
---|
comment:6 Changed 16 years ago by
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
Priority: | major → blocker |
---|
comment:8 Changed 16 years ago by
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.
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.