Imagine the following situation:
- A virus infected file was commited into a Subversion repository.
- A Anti Virus scanner runs on the server and also scans the Subversion repository.
The Anti Virus scanner will delete the affected revision or move it to quarantine. The consequence is a broken repository.
If the revision file is recoverable (from quarantine), how to solve this problem?
I have some goals to achieve:
- The AV is not allowed to be disabled or excluded from the directories.
- The virus infected file must not be stored in the repository
- The repository must be consistens and usable.
What is the nicest solution for this little problem?