diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-02-27 16:16:53 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-02-27 16:16:53 +0100 |
commit | af9b351438ef8bfaba7ee1145050922b90819259 (patch) | |
tree | d9cc8f9939fc398eecb0ea778eff9fa252e9a5bc /test/numptyphysics/svn_config | |
parent | f90f4a1f720f5f6e76d7115e2b818e565828ccb4 (diff) | |
download | nutyx-pakxe-af9b351438ef8bfaba7ee1145050922b90819259.tar.gz nutyx-pakxe-af9b351438ef8bfaba7ee1145050922b90819259.tar.bz2 nutyx-pakxe-af9b351438ef8bfaba7ee1145050922b90819259.tar.xz nutyx-pakxe-af9b351438ef8bfaba7ee1145050922b90819259.zip |
numptyphysics, déplacé dans test
Diffstat (limited to 'test/numptyphysics/svn_config')
-rwxr-xr-x | test/numptyphysics/svn_config/README.txt | 124 | ||||
-rwxr-xr-x | test/numptyphysics/svn_config/auth/svn.ssl.server/59ffbb8064591299582e5251f3a8e4db | 13 | ||||
-rwxr-xr-x | test/numptyphysics/svn_config/config | 140 | ||||
-rwxr-xr-x | test/numptyphysics/svn_config/servers | 158 |
4 files changed, 435 insertions, 0 deletions
diff --git a/test/numptyphysics/svn_config/README.txt b/test/numptyphysics/svn_config/README.txt new file mode 100755 index 000000000..7b78e5ecf --- /dev/null +++ b/test/numptyphysics/svn_config/README.txt @@ -0,0 +1,124 @@ +This directory holds run-time configuration information for Subversion +clients. The configuration files all share the same syntax, but you +should examine a particular file to learn what configuration +directives are valid for that file. + +The syntax is standard INI format: + + - Empty lines, and lines starting with '#', are ignored. + The first significant line in a file must be a section header. + + - A section starts with a section header, which must start in + the first column: + + [section-name] + + - An option, which must always appear within a section, is a pair + (name, value). There are two valid forms for defining an + option, both of which must start in the first column: + + name: value + name = value + + Whitespace around the separator (:, =) is optional. + + - Section and option names are case-insensitive, but case is + preserved. + + - An option's value may be broken into several lines. The value + continuation lines must start with at least one whitespace. + Trailing whitespace in the previous line, the newline character + and the leading whitespace in the continuation line is compressed + into a single space character. + + - All leading and trailing whitespace around a value is trimmed, + but the whitespace within a value is preserved, with the + exception of whitespace around line continuations, as + described above. + + - When a value is a boolean, any of the following strings are + recognised as truth values (case does not matter): + + true false + yes no + on off + 1 0 + + - When a value is a list, it is comma-separated. Again, the + whitespace around each element of the list is trimmed. + + - Option values may be expanded within a value by enclosing the + option name in parentheses, preceded by a percent sign and + followed by an 's': + + %(name)s + + The expansion is performed recursively and on demand, during + svn_option_get. The name is first searched for in the same + section, then in the special [DEFAULT] section. If the name + is not found, the whole '%(name)s' placeholder is left + unchanged. + + Any modifications to the configuration data invalidate all + previously expanded values, so that the next svn_option_get + will take the modifications into account. + +The syntax of the configuration files is a subset of the one used by +Python's ConfigParser module; see + + http://www.python.org/doc/current/lib/module-ConfigParser.html + +Configuration data in the Windows registry +========================================== + +On Windows, configuration data may also be stored in the registry. The +functions svn_config_read and svn_config_merge will read from the +registry when passed file names of the form: + + REGISTRY:<hive>/path/to/config-key + +The REGISTRY: prefix must be in upper case. The <hive> part must be +one of: + + HKLM for HKEY_LOCAL_MACHINE + HKCU for HKEY_CURRENT_USER + +The values in config-key represent the options in the [DEFAULT] section. +The keys below config-key represent other sections, and their values +represent the options. Only values of type REG_SZ whose name doesn't +start with a '#' will be used; other values, as well as the keys' +default values, will be ignored. + + +File locations +============== + +Typically, Subversion uses two config directories, one for site-wide +configuration, + + Unix: + /etc/subversion/servers + /etc/subversion/config + /etc/subversion/hairstyles + Windows: + %ALLUSERSPROFILE%\Application Data\Subversion\servers + %ALLUSERSPROFILE%\Application Data\Subversion\config + %ALLUSERSPROFILE%\Application Data\Subversion\hairstyles + REGISTRY:HKLM\Software\Tigris.org\Subversion\Servers + REGISTRY:HKLM\Software\Tigris.org\Subversion\Config + REGISTRY:HKLM\Software\Tigris.org\Subversion\Hairstyles + +and one for per-user configuration: + + Unix: + ~/.subversion/servers + ~/.subversion/config + ~/.subversion/hairstyles + Windows: + %APPDATA%\Subversion\servers + %APPDATA%\Subversion\config + %APPDATA%\Subversion\hairstyles + REGISTRY:HKCU\Software\Tigris.org\Subversion\Servers + REGISTRY:HKCU\Software\Tigris.org\Subversion\Config + REGISTRY:HKCU\Software\Tigris.org\Subversion\Hairstyles + diff --git a/test/numptyphysics/svn_config/auth/svn.ssl.server/59ffbb8064591299582e5251f3a8e4db b/test/numptyphysics/svn_config/auth/svn.ssl.server/59ffbb8064591299582e5251f3a8e4db new file mode 100755 index 000000000..4f3b77b2a --- /dev/null +++ b/test/numptyphysics/svn_config/auth/svn.ssl.server/59ffbb8064591299582e5251f3a8e4db @@ -0,0 +1,13 @@ +K 10 +ascii_cert +V 1400 +MIIEFDCCA32gAwIBAgIQJtMT72bCQgXG8ADZSLuJ/jANBgkqhkiG9w0BAQUFADCBujEfMB0GA1UEChMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazEXMBUGA1UECxMOVmVyaVNpZ24sIEluYy4xMzAxBgNVBAsTKlZlcmlTaWduIEludGVybmF0aW9uYWwgU2VydmVyIENBIC0gQ2xhc3MgMzFJMEcGA1UECxNAd3d3LnZlcmlzaWduLmNvbS9DUFMgSW5jb3JwLmJ5IFJlZi4gTElBQklMSVRZIExURC4oYyk5NyBWZXJpU2lnbjAeFw0wOTAzMTEwMDAwMDBaFw0xMDA0MjMyMzU5NTlaMFgxCzAJBgNVBAYTAkZJMQ4wDAYDVQQIEwVFc3BvbzEOMAwGA1UEBxQFRXNwb28xDjAMBgNVBAoUBU5va2lhMRkwFwYDVQQDFBBnYXJhZ2UubWFlbW8ub3JnMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCzfA213Uy/roharU25m8KgljbHXQmyrv7drmj00e3aKu3uCF2QlnjacJtqCCCuhJAROcccWqNzc1DSr98lKFNGTZpucoiFcT7D5dPrgemeNeiShOib8fCnhQpKETxYr4smAc0RR7Ng47j0YMJLvIUihLC6doayOp2tbRheZbSP0wIDAQABo4IBejCCAXYwCQYDVR0TBAIwADALBgNVHQ8EBAMCBaAwRgYDVR0fBD8wPTA7oDmgN4Y1aHR0cDovL2NybC52ZXJpc2lnbi5jb20vQ2xhc3MzSW50ZXJuYXRpb25hbFNlcnZlci5jcmwwRAYDVR0gBD0wOzA5BgtghkgBhvhFAQcXAzAqMCgGCCsGAQUFBwIBFhxodHRwczovL3d3dy52ZXJpc2lnbi5jb20vcnBhMCgGA1UdJQQhMB8GCWCGSAGG+EIEAQYIKwYBBQUHAwEGCCsGAQUFBwMCMDQGCCsGAQUFBwEBBCgwJjAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AudmVyaXNpZ24uY29tMG4GCCsGAQUFBwEMBGIwYKFeoFwwWjBYMFYWCWltYWdlL2dpZjAhMB8wBwYFKw4DAhoEFEtruSiWBgy70FI4mymsSweLIQUYMCYWJGh0dHA6Ly9sb2dvLnZlcmlzaWduLmNvbS92c2xvZ28xLmdpZjANBgkqhkiG9w0BAQUFAAOBgQASb/PlTXxOw0P3KbJDp6dUzdtpEQqOlhGa5cJfnFnujByWqj9JYq134rL+uPAD8traC+p+PIovwiwSruU22YLnpMQBE0qjlMdeJWGAbVBDBVRn2aU2+yASZ16N40uLURsIu/x2V71nvD+znminqNzyniVkd/U7/gy7bJ36gBp+qw== +K 8 +failures +V 1 +8 +K 15 +svn:realmstring +V 28 +https://garage.maemo.org:443 +END diff --git a/test/numptyphysics/svn_config/config b/test/numptyphysics/svn_config/config new file mode 100755 index 000000000..0523c4426 --- /dev/null +++ b/test/numptyphysics/svn_config/config @@ -0,0 +1,140 @@ +### This file configures various client-side behaviors. +### +### The commented-out examples below are intended to demonstrate +### how to use this file. + +### Section for authentication and authorization customizations. +[auth] +### Set password stores used by Subversion. They should be +### delimited by spaces or commas. The order of values determines +### the order in which password stores are used. +### Valid password stores: +### gnome-keyring (Unix-like systems) +### kwallet (Unix-like systems) +### keychain (Mac OS X) +### windows-cryptoapi (Windows) +# password-stores = gnome-keyring,kwallet +### +### The rest of this section in this file has been deprecated. +### Both 'store-passwords' and 'store-auth-creds' can now be +### specified in the 'servers' file in your config directory. +### Anything specified in this section is overridden by settings +### specified in the 'servers' file. +### +### Set store-passwords to 'no' to avoid storing passwords in the +### auth/ area of your config directory. It defaults to 'yes', +### but Subversion will never save your password to disk in +### plaintext unless you tell it to (see the 'servers' file). +### Note that this option only prevents saving of *new* passwords; +### it doesn't invalidate existing passwords. (To do that, remove +### the cache files by hand as described in the Subversion book.) +# store-passwords = no +### Set store-auth-creds to 'no' to avoid storing any subversion +### credentials in the auth/ area of your config directory. +### It defaults to 'yes'. Note that this option only prevents +### saving of *new* credentials; it doesn't invalidate existing +### caches. (To do that, remove the cache files by hand.) +# store-auth-creds = no + +### Section for configuring external helper applications. +[helpers] +### Set editor-cmd to the command used to invoke your text editor. +### This will override the environment variables that Subversion +### examines by default to find this information ($EDITOR, +### et al). +# editor-cmd = editor (vi, emacs, notepad, etc.) +### Set diff-cmd to the absolute path of your 'diff' program. +### This will override the compile-time default, which is to use +### Subversion's internal diff implementation. +# diff-cmd = diff_program (diff, gdiff, etc.) +### Set diff3-cmd to the absolute path of your 'diff3' program. +### This will override the compile-time default, which is to use +### Subversion's internal diff3 implementation. +# diff3-cmd = diff3_program (diff3, gdiff3, etc.) +### Set diff3-has-program-arg to 'yes' if your 'diff3' program +### accepts the '--diff-program' option. +# diff3-has-program-arg = [yes | no] +### Set merge-tool-cmd to the command used to invoke your external +### merging tool of choice. Subversion will pass 4 arguments to +### the specified command: base theirs mine merged +# merge-tool-cmd = merge_command + +### Section for configuring tunnel agents. +[tunnels] +### Configure svn protocol tunnel schemes here. By default, only +### the 'ssh' scheme is defined. You can define other schemes to +### be used with 'svn+scheme://hostname/path' URLs. A scheme +### definition is simply a command, optionally prefixed by an +### environment variable name which can override the command if it +### is defined. The command (or environment variable) may contain +### arguments, using standard shell quoting for arguments with +### spaces. The command will be invoked as: +### <command> <hostname> svnserve -t +### (If the URL includes a username, then the hostname will be +### passed to the tunnel agent as <user>@<hostname>.) If the +### built-in ssh scheme were not predefined, it could be defined +### as: +# ssh = $SVN_SSH ssh +### If you wanted to define a new 'rsh' scheme, to be used with +### 'svn+rsh:' URLs, you could do so as follows: +# rsh = rsh +### Or, if you wanted to specify a full path and arguments: +# rsh = /path/to/rsh -l myusername +### On Windows, if you are specifying a full path to a command, +### use a forward slash (/) or a paired backslash (\\) as the +### path separator. A single backslash will be treated as an +### escape for the following character. + +### Section for configuring miscelleneous Subversion options. +[miscellany] +### Set global-ignores to a set of whitespace-delimited globs +### which Subversion will ignore in its 'status' output, and +### while importing or adding files and directories. +### '*' matches leading dots, e.g. '*.rej' matches '.foo.rej'. +# global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo +# *.rej *~ #*# .#* .*.swp .DS_Store +### Set log-encoding to the default encoding for log messages +# log-encoding = latin1 +### Set use-commit-times to make checkout/update/switch/revert +### put last-committed timestamps on every file touched. +# use-commit-times = yes +### Set no-unlock to prevent 'svn commit' from automatically +### releasing locks on files. +# no-unlock = yes +### Set mime-types-file to a MIME type registry file, used to +### provide hints to Subversion's MIME type auto-detection +### algorithm. +# mime-types-file = /path/to/mime.types +### Set preserved-conflict-file-exts to a whitespace-delimited +### list of patterns matching file extensions which should be +### preserved in generated conflict file names. By default, +### conflict files use custom extensions. +# preserved-conflict-file-exts = doc ppt xls od? +### Set enable-auto-props to 'yes' to enable automatic properties +### for 'svn add' and 'svn import', it defaults to 'no'. +### Automatic properties are defined in the section 'auto-props'. +# enable-auto-props = yes +### Set interactive-conflicts to 'no' to disable interactive +### conflict resolution prompting. It defaults to 'yes'. +# interactive-conflicts = no + +### Section for configuring automatic properties. +[auto-props] +### The format of the entries is: +### file-name-pattern = propname[=value][;propname[=value]...] +### The file-name-pattern can contain wildcards (such as '*' and +### '?'). All entries which match (case-insensitively) will be +### applied to the file. Note that auto-props functionality +### must be enabled, which is typically done by setting the +### 'enable-auto-props' option. +# *.c = svn:eol-style=native +# *.cpp = svn:eol-style=native +# *.h = svn:eol-style=native +# *.dsp = svn:eol-style=CRLF +# *.dsw = svn:eol-style=CRLF +# *.sh = svn:eol-style=native;svn:executable +# *.txt = svn:eol-style=native +# *.png = svn:mime-type=image/png +# *.jpg = svn:mime-type=image/jpeg +# Makefile = svn:eol-style=native + diff --git a/test/numptyphysics/svn_config/servers b/test/numptyphysics/svn_config/servers new file mode 100755 index 000000000..c87999b01 --- /dev/null +++ b/test/numptyphysics/svn_config/servers @@ -0,0 +1,158 @@ +### This file specifies server-specific parameters, +### including HTTP proxy information, HTTP timeout settings, +### and authentication settings. +### +### The currently defined server options are: +### http-proxy-host Proxy host for HTTP connection +### http-proxy-port Port number of proxy host service +### http-proxy-username Username for auth to proxy service +### http-proxy-password Password for auth to proxy service +### http-proxy-exceptions List of sites that do not use proxy +### http-timeout Timeout for HTTP requests in seconds +### http-compression Whether to compress HTTP requests +### neon-debug-mask Debug mask for Neon HTTP library +### http-auth-types Auth types to use for HTTP library +### ssl-authority-files List of files, each of a trusted CA +### ssl-trust-default-ca Trust the system 'default' CAs +### ssl-client-cert-file PKCS#12 format client certificate file +### ssl-client-cert-password Client Key password, if needed. +### ssl-pkcs11-provider Name of PKCS#11 provider to use. +### http-library Which library to use for http/https +### connections (neon or serf) +### store-passwords Specifies whether passwords used +### to authenticate against a +### Subversion server may be cached +### to disk in any way. +### store-plaintext-passwords Specifies whether passwords may +### be cached on disk unencrypted. +### store-ssl-client-cert-pp Specifies whether passphrase used +### to authenticate against a client +### certificate may be cached to disk +### in any way +### store-ssl-client-cert-pp-plaintext +### Specifies whether client cert +### passphrases may be cached on disk +### unencrypted (i.e., as plaintext). +### store-auth-creds Specifies whether any auth info +### (passwords as well as server certs) +### may be cached to disk. +### username Specifies the default username. +### +### Set store-passwords to 'no' to avoid storing passwords in the +### auth/ area of your config directory. It defaults to 'yes', +### but Subversion will never save your password to disk in +### plaintext unless you tell it to. +### Note that this option only prevents saving of *new* passwords; +### it doesn't invalidate existing passwords. (To do that, remove +### the cache files by hand as described in the Subversion book.) +### +### Set store-plaintext-passwords to 'no' to avoid storing +### passwords in unencrypted form in the auth/ area of your config +### directory. Set it to 'yes' to allow Subversion to store +### unencrypted passwords in the auth/ area. The default is +### 'ask', which means that Subversion will ask you before +### saving a password to disk in unencrypted form. Note that +### this option has no effect if either 'store-passwords' or +### 'store-auth-creds' is set to 'no'. +### +### Set store-ssl-client-cert-pp to 'no' to avoid storing ssl +### client certificate passphrases in the auth/ area of your +### config directory. It defaults to 'yes', but Subversion will +### never save your passphrase to disk in plaintext unless you tell +### it to via 'store-ssl-client-cert-pp-plaintext' (see below). +### +### Note store-ssl-client-cert-pp only prevents the saving of *new* +### passphrases; it doesn't invalidate existing passphrases. To do +### that, remove the cache files by hand as described in the +### Subversion book at http://svnbook.red-bean.com/nightly/en/\ +### svn.serverconfig.netmodel.html\ +### #svn.serverconfig.netmodel.credcache +### +### Set store-ssl-client-cert-pp-plaintext to 'no' to avoid storing +### passphrases in unencrypted form in the auth/ area of your +### config directory. Set it to 'yes' to allow Subversion to +### store unencrypted passphrases in the auth/ area. The default +### is 'ask', which means that Subversion will prompt before +### saving a passphrase to disk in unencrypted form. Note that +### this option has no effect if either 'store-auth-creds' or +### 'store-ssl-client-cert-pp' is set to 'no'. +### +### Set store-auth-creds to 'no' to avoid storing any Subversion +### credentials in the auth/ area of your config directory. +### Note that this includes SSL server certificates. +### It defaults to 'yes'. Note that this option only prevents +### saving of *new* credentials; it doesn't invalidate existing +### caches. (To do that, remove the cache files by hand.) +### +### HTTP timeouts, if given, are specified in seconds. A timeout +### of 0, i.e. zero, causes a builtin default to be used. +### +### The commented-out examples below are intended only to +### demonstrate how to use this file; any resemblance to actual +### servers, living or dead, is entirely coincidental. + +### In the 'groups' section, the URL of the repository you're +### trying to access is matched against the patterns on the right. +### If a match is found, the server options are taken from the +### section with the corresponding name on the left. + +[groups] +# group1 = *.collab.net +# othergroup = repository.blarggitywhoomph.com +# thirdgroup = *.example.com + +### Information for the first group: +# [group1] +# http-proxy-host = proxy1.some-domain-name.com +# http-proxy-port = 80 +# http-proxy-username = blah +# http-proxy-password = doubleblah +# http-timeout = 60 +# http-auth-types = basic;digest;negotiate +# neon-debug-mask = 130 +# store-plaintext-passwords = no +# username = harry + +### Information for the second group: +# [othergroup] +# http-proxy-host = proxy2.some-domain-name.com +# http-proxy-port = 9000 +# No username and password for the proxy, so use the defaults below. + +### You can set default parameters in the 'global' section. +### These parameters apply if no corresponding parameter is set in +### a specifically matched group as shown above. Thus, if you go +### through the same proxy server to reach every site on the +### Internet, you probably just want to put that server's +### information in the 'global' section and not bother with +### 'groups' or any other sections. +### +### Most people might want to configure password caching +### parameters here, but you can also configure them per server +### group (per-group settings override global settings). +### +### If you go through a proxy for all but a few sites, you can +### list those exceptions under 'http-proxy-exceptions'. This only +### overrides defaults, not explicitly matched server names. +### +### 'ssl-authority-files' is a semicolon-delimited list of files, +### each pointing to a PEM-encoded Certificate Authority (CA) +### SSL certificate. See details above for overriding security +### due to SSL. +[global] +# http-proxy-exceptions = *.exception.com, www.internal-site.org +# http-proxy-host = defaultproxy.whatever.com +# http-proxy-port = 7000 +# http-proxy-username = defaultusername +# http-proxy-password = defaultpassword +# http-compression = no +# http-auth-types = basic;digest;negotiate +# No http-timeout, so just use the builtin default. +# No neon-debug-mask, so neon debugging is disabled. +# ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pem +# +# Password / passphrase caching parameters: +# store-passwords = no +# store-plaintext-passwords = no +# store-ssl-client-cert-pp = no +# store-ssl-client-cert-pp-plaintext = no |