summaryrefslogtreecommitdiff
path: root/samples/example-mirrors.txt
blob: cf9708e94c2d315d154bf6f4749c1063bcf790d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

# Example mirror configuration file.
#
# Add a "Mirror" command like this for every mirror that you want to list.
# Note: you need to list the main repository too.
#
# 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://updates.torproject.org/thandy/",
       contents=[ "**" ],
       weight=1)