When we create a repository using the svnadmin create command, is it possible for us to enforce naming convention on the value of reponame. For example I want all the repository names to have information like the division for which the project is created. ie. All repository names should follow the convention.
‘division_name’_’project_name’_repo
When we create a repository using the svnadmin create command, is it possible for
Share
Since creating a repository is something you can only do with the
svnadmincommand, it isn’t something you can put hooks on.Generally, anybody that has access to
svnadminon your SVN server, should be trusted not to make a mess of things, since they can do a lot more harm than simply create a repository with a bad name!I would suggest having a checklist or something for creating a repository (maybe including a wrapper script for
svnadmin createwith checks on the name), if it is a common action which you want to make sure gets done correctly.