diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-10-14 20:05:35 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-10-14 20:05:35 +0000 |
commit | b5093d82b0d9486ba724267eeaab15c4be0a6a76 (patch) | |
tree | a9863d672b5c60d537b92e55085d6910a585496a /samples/example-mirrors.txt | |
parent | fddafd73158e34300c4459d1e10154672cda81d3 (diff) |
Add a HOWTO, and clean up the example files. Right now the HOWTO only covers thandy-pk and thandy-server.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17098 55e972cd-5a19-0410-ae62-a4d7a52db4cd
Diffstat (limited to 'samples/example-mirrors.txt')
-rw-r--r-- | samples/example-mirrors.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/samples/example-mirrors.txt b/samples/example-mirrors.txt index c02583e..d511e38 100644 --- a/samples/example-mirrors.txt +++ b/samples/example-mirrors.txt @@ -1,4 +1,23 @@ +# Example mirror configuration file. +# +# Add a "Mirror" command like this for every mirror that you want to list. +# +# The "name" is a helpful name of the mirror. +# +# The "urlbase" is the top-level of this mirror's copy of the repository. +# For example, if urlbase is http://foo.bar/baz/, then Thandy will expect +# to find the keylist at http://foo.bar/baz/meta/keys.txt. +# +# The "contents" list should contain a list of file paths patterns for +# which parts of the repository can be found at this mirror. For example, +# if this list is [ "/meta/*", "/pkginfo/tor/**" ], then this mirror +# keeps up-to-date copies of all files in /meta/, and all files in any +# subdirectory of "/pkginfo/tor". +# +# The "weight" field is an INTEGER representing the relative weight with which +# we should pick this mirror. + Mirror(name="moria", urlbase="http://moria.seul.org/thandy-example/", contents=[ "**" ], |