How to update repository access rules for Collabnet Subversion Edge via the API?

377 Views Asked by At

We are running CollabNet SubversionEdge.

I am scripting various tasks. One of the more obscure is updating our repository access rules to suit new branches I create. While there is a published REST API for SubversionEdge (http://help.collab.net/index.jsp?topic=/csvn/reference/svnedge_hookscripts_api.html) I wonder whether it possible to edit or replace the repository access rules via an API call?

(Or is that too potential insecure to expose via the API?)

1

There are 1 best solutions below

0
bahrep On

I am not sure whether SVN Edge's REST API supports repository access rules management. However you can try VisualSVN Server if your SVN server runs on Windows - it supports access rules management automation via the PowerShell Scripting and Automation feature. Consider the following PowerShell cmdlets:

Read the article KB99: Configuring remote administration with VisualSVN Server PowerShell to begin using the remote administration capabilities of the cmdlets.