You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Oliver Kopf <ol...@kopfweb.de> on 2006/02/17 07:30:45 UTC

Review & Test-Handling

What I want to do is to track if a software file is reviewed and
tested.
I prepared the following solution:
Add Auto-Properties ReviewDate and TestDate.
Create a pre-commit.bat which checks if the code is modified from the
last revision. If yes, the properties TestDate and ReviewDate should
be
reseted to an older, default date. If no (only properties has changed)
nothing is changed by the hook routine.
So no developer could forget to reset the "Test&Review" properties if
he changed something in a file and also and also he hasn't to do every
time by hand.
If I want to generate a release I have only to check with a script if
all files has an actual ReviewDate and TestDate than I know that all
files are reviewed and tested.

Example:
Developer1 change main.c and commit it
  (pre-commit set ReviewDate and TestDate to 2000-01-01)
Developer2 review main.c, change property ReviewDate to 2006-02-15
  (pre-Commit do nothing - no code change)
Developer3 test main.c, change property TestDate to 2006-02-17
  (pre-Commit do nothing - no code change)

1. How do you track the reviews and tests in your subversion projects
?
2. I have add svn propset KOPF:TestDate 2000-01-01 %2 and it doesn't
work ?
   First Answer from Ryan Schmidt was that this was an request for svn
1.4
   and there exists some update problems described in the svn book.
   Do you now any workarounds ?

Oliver Kopf


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org