-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdater.conf
84 lines (75 loc) · 2.22 KB
/
updater.conf
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Youri::Package::Updater::RPM configuration file
# vim:ft=yaml:et:sw=4
# list of directories containing source packages
srpm_dirs:
# timeout for file downloads
timeout: 10
# user agent for file downloads
agent: youri-package-updater/VERSION
# list of rewrite rules to apply on source tag value for computing source URL
# when the source is a local file, as hashes of two regexeps
url_rewrite_rules:
-
from: http://(.*)\.(?:sourceforge|sf)\.net/?(.*)
to: http://prdownloads.sourceforge.net/$1/$2
-
from: https?://gna.org/projects/([^/]*)/(.*)'
to: http://download.gna.org/$1/$2
-
from: http://(.*)\.berlios.de/(.*)
to: http://download.berlios.de/$1/$2
-
from: https?://savannah.nongnu.org/projects/([^/]*)/(.*)
to: http://savannah.nongnu.org/download/$1/$2
-
from: https?://savannah.gnu.org/projects/([^/]*)/(.*)
to: http://savannah.gnu.org/download/$1/$2
-
from: http://search.cpan.org/dist/([^-]+)-.*
to: http://www.cpan.org/modules/by-module/$1/
# hash of lists of accepted content types when downloading archive files,
# indexed by archive extension
archive_content_types:
tar:
- application/x-tar
gz:
- application/x-tar
- application/x-gz
- application/x-gzip
tgz:
- application/x-tar
- application/x-gz
- application/x-gzip
bz2:
- application/x-tar
- application/x-bz2
- application/x-bzip
- application/x-bzip2
tbz2:
- application/x-tar
- application/x-bz2
- application/x-bzip
- application/x-bzip2
zip:
- application/x-gzip
lzma:
- application/x-tar
- application/x-lzma
_all:
- application/x-download
- application/octet-stream
- application/empty
# alternate_extensions to try when downloading source fails
alternate_extensions:
- tar.gz
- tgz
- zip
# mirrors to try when downloading files hosted on sourceforge
sourceforge_mirrors:
- ovh
- mesh
- switch
# changelog message for new version
new_version_message: New version %%VERSION
# changelog message for new release
new_release_message: Rebuild