⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svnperms.conf.example

📁 subversion-1.4.3-1.tar.gz 配置svn的源码
💻 EXAMPLE
字号:
## Example configuration file for svnperms.py. ### $Id: svnperms.conf.example 15920 2005-08-25 22:56:40Z niemeyer $## Multiple global [groups] sections are accepted, but be aware# that it's the same as concatenating them all in a single entry.# You can also create section specific groups, using a syntax# like [sectionname groups].#[groups]group1 = user1 user2 user3## Example repository control, showing allowed syntax.## - the latest match is what counts# - groups are prefixed by "@"# - you can use groups and users in the same definition# - all permissions may be revoked with ()# - line breaks are accepted#[example1 groups]group2 = user9 user10[example1]trunk/.* = *(add,remove,update) @group1,user4,user5(update)           user6,user7()trunk/.* = user8(add,update)tags/[^/]+/ = @group2(add)branches/[^/]+/.* = *(add,remove,update)## One of the most used repository structures, for a single project.#[example2]trunk/.* = *(add,remove,update)tags/[^/]+/ = *(add)branches/[^/]+/.* = *(add,remove,update)## Another common structure, expecting a project name inside the repository# (like trunk/myproject/ and tags/myproject/). In this example, only admins# are allowed to create projects, and there are project specific access# lists.#[example3 groups]admins = johnproject1 = user1 user2project2 = user3 user4[example3]trunk/[^/]+/ = @admins(add,remove)trunk/project1/.+ = @project1(add,remove,update)trunk/project2/.+ = @project2(add,remove,update)tags/[^/]+/ = @admins(add,remove)tags/project1/[^/]+/ = @project1(add,remove)tags/project2/[^/]+/ = @project2(add,remove)branches/[^/]+/ = @admins(add,remove)branches/project1/[^/]+/.* = @project1(add,remove,update)branches/project2/[^/]+/.* = @project2(add,remove,update)## A more complex structure, as defined in the following URL:## http://moin.conectiva.com.br/RepositorySystem#[example4 groups]admins = user1 user2updaters = user3[example4]snapshot/[^/]+/(current/(SPECS/|SOURCES/)?)? = *(add)snapshot/[^/]+/ = @admins(add,remove)snapshot/[^/]+/current/SPECS/[^/]+\.spec = *(add,remove,update)snapshot/[^/]+/current/SOURCES/[^/]+ = *(add,remove,update)snapshot/[^/]+/releases/[^/]+/([^/+]/)? = autouser(add)snapshot/[^/]+/pristine/ = autouser(add,remove)branches/[^/]+/.* = *(add,remove,update)releases/[^/]+/ = @admins(add)tags/[^/]+/ = *(add,remove)updates/[^/]+/[^/]+/(current/(SPECS/|SOURCES/)?)? = @updaters,autouser(add)updates/[^/]+/[^/]+/current/SPECS/[^/]+\.spec = @updaters,autouser(add,update)updates/[^/]+/[^/]+/current/SOURCES/[^/]+ = @updaters,autouser(add,remove,update)updates/[^/]+/[^/]+/releases/.* = autouser(add)updates/[^/]+/[^/]+/pristine/ = autouser(add,remove)## Sections can inherit settings from previously defined sections, using# the "extends" keyword in the section declaration.  In this example, # the [example5] section inherits all the settings from [example2], and # adds a new setting for a releases directory which behaves like the # tags directory.#[example5 extends example2]releases/[^/]+/ = *(add)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -