-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
1,797 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This is a Subversion repository; use the 'svnadmin' tool to examine | ||
it. Do not add, delete, or modify files here unless you know how | ||
to avoid corrupting the repository. | ||
|
||
Visit http://subversion.tigris.org/ for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
### This file is an example authorization file for svnserve. | ||
### Its format is identical to that of mod_authz_svn authorization | ||
### files. | ||
### As shown below each section defines authorizations for the path and | ||
### (optional) repository specified by the section name. | ||
### The authorizations follow. An authorization line can refer to: | ||
### - a single user, | ||
### - a group of users defined in a special [groups] section, | ||
### - an alias defined in a special [aliases] section, | ||
### - all authenticated users, using the '$authenticated' token, | ||
### - only anonymous users, using the '$anonymous' token, | ||
### - anyone, using the '*' wildcard. | ||
### | ||
### A match can be inverted by prefixing the rule with '~'. Rules can | ||
### grant read ('r') access, read-write ('rw') access, or no access | ||
### (''). | ||
|
||
[aliases] | ||
# joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institute/CN=Joe Average | ||
|
||
[groups] | ||
# harry_and_sally = harry,sally | ||
# harry_sally_and_joe = harry,sally,&joe | ||
|
||
# [/foo/bar] | ||
# harry = rw | ||
# &joe = r | ||
# * = | ||
|
||
# [repository:/baz/fuz] | ||
# @harry_and_sally = rw | ||
# * = r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### This file is an example password file for svnserve. | ||
### Its format is similar to that of svnserve.conf. As shown in the | ||
### example below it contains one section labelled [users]. | ||
### The name and password for each user follow, one account per line. | ||
|
||
[users] | ||
# harry = harryssecret | ||
# sally = sallyssecret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
### This file controls the configuration of the svnserve daemon, if you | ||
### use it to allow access to this repository. (If you only allow | ||
### access through http: and/or file: URLs, then this file is | ||
### irrelevant.) | ||
|
||
### Visit http://subversion.tigris.org/ for more information. | ||
|
||
[general] | ||
### These options control access to the repository for unauthenticated | ||
### and authenticated users. Valid values are "write", "read", | ||
### and "none". The sample settings below are the defaults. | ||
# anon-access = read | ||
# auth-access = write | ||
### The password-db option controls the location of the password | ||
### database file. Unless you specify a path starting with a /, | ||
### the file's location is relative to the directory containing | ||
### this configuration file. | ||
### If SASL is enabled (see below), this file will NOT be used. | ||
### Uncomment the line below to use the default password file. | ||
# password-db = passwd | ||
### The authz-db option controls the location of the authorization | ||
### rules for path-based access control. Unless you specify a path | ||
### starting with a /, the file's location is relative to the the | ||
### directory containing this file. If you don't specify an | ||
### authz-db, no path-based access control is done. | ||
### Uncomment the line below to use the default authorization file. | ||
# authz-db = authz | ||
### This option specifies the authentication realm of the repository. | ||
### If two repositories have the same authentication realm, they should | ||
### have the same password database, and vice versa. The default realm | ||
### is repository's uuid. | ||
# realm = My First Repository | ||
|
||
[sasl] | ||
### This option specifies whether you want to use the Cyrus SASL | ||
### library for authentication. Default is false. | ||
### This section will be ignored if svnserve is not built with Cyrus | ||
### SASL support; to check, run 'svnserve --version' and look for a line | ||
### reading 'Cyrus SASL authentication is available.' | ||
# use-sasl = true | ||
### These options specify the desired strength of the security layer | ||
### that you want SASL to provide. 0 means no encryption, 1 means | ||
### integrity-checking only, values larger than 1 are correlated | ||
### to the effective key length for encryption (e.g. 128 means 128-bit | ||
### encryption). The values below are the defaults. | ||
# min-encryption = 0 | ||
# max-encryption = 256 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
@charset "UTF-8"; | ||
|
||
.deco_table { | ||
font-family: "Courier New", sans-serif; | ||
border-collapse:collapse; | ||
} | ||
|
||
.deco_table, | ||
.deco_row, | ||
.deco_linenum, | ||
.deco_source | ||
{ | ||
padding:0px; | ||
} | ||
|
||
.deco_row { | ||
border: none; | ||
} | ||
|
||
.deco_linenum { | ||
border: none; | ||
border-right: 4px limegreen solid; | ||
text-align: right; | ||
padding-right: 5px; | ||
color: dimgray; | ||
} | ||
|
||
.deco_source { | ||
border: none; | ||
padding-left: 5px; | ||
} | ||
|
||
.deco_const, | ||
.deco_language_construct, | ||
.deco_keyword, | ||
.deco_t_require, | ||
.deco_t_try, | ||
.deco_t_catch, | ||
.deco_t_variable, | ||
.deco_t_comment, | ||
.deco_t_doc_comment, | ||
.deco_t_constant_encapsed_string, | ||
.deco_t_open_tag, | ||
.deco_t_close_tag | ||
{ | ||
font-weight: bold; | ||
} | ||
|
||
.deco_sign { | ||
color: darkcyan; | ||
} | ||
|
||
.deco_t_open_tag, | ||
.deco_t_close_tag | ||
{ | ||
color: orangered; | ||
} | ||
|
||
.deco_const { | ||
color: brown; | ||
} | ||
|
||
.deco_language_construct { | ||
color: blueviolet; | ||
} | ||
|
||
.deco_keyword { | ||
color: sienna; | ||
} | ||
|
||
.deco_t_string { | ||
color: olive; | ||
} | ||
|
||
.deco_t_require { | ||
color: tomato; | ||
} | ||
|
||
.deco_t_variable { | ||
color: red; | ||
} | ||
|
||
.deco_t_comment, | ||
.deco_t_doc_comment | ||
{ | ||
color: green; | ||
} | ||
|
||
.deco_t_try, | ||
.deco_t_catch | ||
{ | ||
color: teal; | ||
} | ||
|
||
.deco_t_constant_encapsed_string | ||
{ | ||
color: slateblue; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
4 | ||
layout sharded 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fsfs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
### This file controls the configuration of the FSFS filesystem. | ||
|
||
[memcached-servers] | ||
### These options name memcached servers used to cache internal FSFS | ||
### data. See http://www.danga.com/memcached/ for more information on | ||
### memcached. To use memcached with FSFS, run one or more memcached | ||
### servers, and specify each of them as an option like so: | ||
# first-server = 127.0.0.1:11211 | ||
# remote-memcached = mymemcached.corp.example.com:11212 | ||
### The option name is ignored; the value is of the form HOST:PORT. | ||
### memcached servers can be shared between multiple repositories; | ||
### however, if you do this, you *must* ensure that repositories have | ||
### distinct UUIDs and paths, or else cached data from one repository | ||
### might be used by another accidentally. Note also that memcached has | ||
### no authentication for reads or writes, so you must ensure that your | ||
### memcached servers are only accessible by trusted users. | ||
|
||
[caches] | ||
### When a cache-related error occurs, normally Subversion ignores it | ||
### and continues, logging an error if the server is appropriately | ||
### configured (and ignoring it with file:// access). To make | ||
### Subversion never ignore cache errors, uncomment this line. | ||
# fail-stop = true | ||
|
||
[rep-sharing] | ||
### To conserve space, the filesystem can optionally avoid storing | ||
### duplicate representations. This comes at a slight cost in performace, | ||
### as maintaining a database of shared representations can increase | ||
### commit times. The space savings are dependent upon the size of the | ||
### repository, the number of objects it contains and the amount of | ||
### duplication between them, usually a function of the branching and | ||
### merging process. | ||
### | ||
### The following parameter enables rep-sharing in the repository. It can | ||
### be switched on and off at will, but for best space-saving results | ||
### should be enabled consistently over the life of the repository. | ||
# enable-rep-sharing = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
K 8 | ||
svn:date | ||
V 27 | ||
2011-08-30T21:29:24.625000Z | ||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
PLAIN | ||
END | ||
ENDREP | ||
id: 0.0.r0/17 | ||
type: dir | ||
count: 0 | ||
text: 0 0 4 4 2d2977d1c96f487abe4a1e202dd03b4e | ||
cpath: / | ||
|
||
|
||
17 107 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
60d228dd-e138-5548-bf34-8d4ba9880331 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/bin/sh | ||
|
||
# POST-COMMIT HOOK | ||
# | ||
# The post-commit hook is invoked after a commit. Subversion runs | ||
# this hook by invoking a program (script, executable, binary, etc.) | ||
# named 'post-commit' (for which this file is a template) with the | ||
# following ordered arguments: | ||
# | ||
# [1] REPOS-PATH (the path to this repository) | ||
# [2] REV (the number of the revision just committed) | ||
# | ||
# The default working directory for the invocation is undefined, so | ||
# the program should set one explicitly if it cares. | ||
# | ||
# Because the commit has already completed and cannot be undone, | ||
# the exit code of the hook program is ignored. The hook program | ||
# can use the 'svnlook' utility to help it examine the | ||
# newly-committed tree. | ||
# | ||
# On a Unix system, the normal procedure is to have 'post-commit' | ||
# invoke other programs to do the real work, though it may do the | ||
# work itself too. | ||
# | ||
# Note that 'post-commit' must be executable by the user(s) who will | ||
# invoke it (typically the user httpd runs as), and that user must | ||
# have filesystem-level permission to access the repository. | ||
# | ||
# On a Windows system, you should name the hook program | ||
# 'post-commit.bat' or 'post-commit.exe', | ||
# but the basic idea is the same. | ||
# | ||
# The hook program typically does not inherit the environment of | ||
# its parent process. For example, a common problem is for the | ||
# PATH environment variable to not be set to its usual value, so | ||
# that subprograms fail to launch unless invoked via absolute path. | ||
# If you're having unexpected problems with a hook program, the | ||
# culprit may be unusual (or missing) environment variables. | ||
# | ||
# Here is an example hook script, for a Unix /bin/sh interpreter. | ||
# For more examples and pre-written hooks, see those in | ||
# the Subversion repository at | ||
# http://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/ and | ||
# http://svn.apache.org/repos/asf/subversion/trunk/contrib/hook-scripts/ | ||
|
||
|
||
REPOS="$1" | ||
REV="$2" | ||
|
||
mailer.py commit "$REPOS" "$REV" /path/to/mailer.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#!/bin/sh | ||
|
||
# POST-LOCK HOOK | ||
# | ||
# The post-lock hook is run after a path is locked. Subversion runs | ||
# this hook by invoking a program (script, executable, binary, etc.) | ||
# named 'post-lock' (for which this file is a template) with the | ||
# following ordered arguments: | ||
# | ||
# [1] REPOS-PATH (the path to this repository) | ||
# [2] USER (the user who created the lock) | ||
# | ||
# The paths that were just locked are passed to the hook via STDIN (as | ||
# of Subversion 1.2, only one path is passed per invocation, but the | ||
# plan is to pass all locked paths at once, so the hook program | ||
# should be written accordingly). | ||
# | ||
# The default working directory for the invocation is undefined, so | ||
# the program should set one explicitly if it cares. | ||
# | ||
# Because the lock has already been created and cannot be undone, | ||
# the exit code of the hook program is ignored. The hook program | ||
# can use the 'svnlook' utility to help it examine the | ||
# newly-created lock. | ||
# | ||
# On a Unix system, the normal procedure is to have 'post-lock' | ||
# invoke other programs to do the real work, though it may do the | ||
# work itself too. | ||
# | ||
# Note that 'post-lock' must be executable by the user(s) who will | ||
# invoke it (typically the user httpd runs as), and that user must | ||
# have filesystem-level permission to access the repository. | ||
# | ||
# On a Windows system, you should name the hook program | ||
# 'post-lock.bat' or 'post-lock.exe', | ||
# but the basic idea is the same. | ||
# | ||
# Here is an example hook script, for a Unix /bin/sh interpreter: | ||
|
||
REPOS="$1" | ||
USER="$2" | ||
|
||
# Send email to interested parties, let them know a lock was created: | ||
mailer.py lock "$REPOS" "$USER" /path/to/mailer.conf |
Oops, something went wrong.