开发者

Control SVN users with PHP Subversion API?

开发者 https://www.devze.com 2022-12-16 02:16 出处:网络
Is it possible to create/delete/modify SVN users with the SVN PHP API?开发者_开发问答 Thank you.As far as I am aware, you can only do \'svn-manage-users\' type commands via the command line. These fu

Is it possible to create/delete/modify SVN users with the SVN PHP API?

开发者_开发问答

Thank you.


As far as I am aware, you can only do 'svn-manage-users' type commands via the command line. These functions are not available on the PHP API.


The PECL PHP bindings (http://php.net/manual/en/book.svn.php) are, sadly, the only one I have seemed to ever unearth. In theory, the functionality is reasonable (although no user management), but in practice the API is very flaky. Authentication seems to be something of a crap-shoot. It works fairly consistently if you are comfortable with it picking up the authentication from your machine's user, who has already used SVN on the command line.

0

精彩评论

暂无评论...
验证码 换一张
取 消