Verbatim:Interaction with SVN
Jump to navigation
Jump to search
Verbatim » Interaction with SVN (bug 444430)
From Verbatim's perspective
- A Verbatim SVN+SSH account will be setup such that commits by the user automatically use the ssh key.
- After a user changes a file and presses commit we will:
- `svn up` the local files and makes sure they are up to date.
- Set the translate:author property to the currently logged in user
- `svn commit` as usual
From the SVN Server's perspective
- Install svn:properties script and post-commit hook including configuration (bugs to come shortly)
- Get an incoming commit from the Verbatim SVN account
- The SVN post-commit hook will check if the author should be switched and if it should will switch it.
- For security the SVN hook verifies that this is from the Verbatim SVN account before it does anything - if it's not there is no further action. This prevents random people from setting translate:author and committing as other people.