forked from nemomobile/ssu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
repos.ini
93 lines (85 loc) · 3.89 KB
/
repos.ini
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
85
86
87
88
89
90
91
92
93
### Don't edit this file manually. Update it in git, if there's a good reason to do so ###
#
# Variables resolved during package build:
# %(arch) Package architecture, as in i586 or armv7hl
#
# Variables resolved through information gathered on the device:
# %(deviceFamily) A device family in adaptation, like mrst or n9xx
# %(deviceModel) A device model, like N9, N950
#
# Variables resolved by URL parameters in repository:
# %(debugSplit) Set to debug if 'debug' parameter is present, to packages otherwise
#
# Variables resolved from configuration:
# %(release) A release, which will be replaced to 'next' or 'latest' for RnD, or a release number
# %(flavour) A flavour (RnD only), which will be replaced to one of 'devel', 'testing' or 'release'
# %(adaptation) The device specific adaptation, for example 'n900' or 'n950-n9'
#
#
# Variables may contain other variables. Resolving is done recursively from the
# innermost variable.
#
# Basic variable substitution is supported:
# %(foo:+bar) -- expands to "" if foo is set, bar otherwise
# %(foo:-bar) -- expands to %(foo) if foo is set, bar otherwise
# %(%(foo):=bar?foobar|baz) -- expands to foobar if %(foo) == bar, to baz
# otherwise. %(foo) should only be alphanumeric. It must not
# contain the character '?'.
#
# Repository lookup will happen based on the 'repo' parameter in repository
# URLs. For RnD repositories order will be <flavour> -> rnd -> all, for
# release repositories release -> all.
#
# Valid url specifications in repo files for RnD repositories include:
#
# baseurl=plugin:ssu?repo=non-oss&rnd
# baseurl=plugin:ssu?repo=mer-core&rnd&debug
# baseurl=plugin:ssu?repo=non-oss&rnd&fooBar=baz
#
# Valid url specifications in repo files for release repositories include:
#
# baseurl=plugin:ssu?repo=non-oss
# baseurl=plugin:ssu?repo=non-oss&fooBar=baz
#
# Domain sections are freeform sections for the configured ssu domain,
# to override default url values. The regular algorithm for finding
# default sections is used, "-" are therefore invalid chars in domain
# section names. If a domain contains "-" replace them with ":" in this
# configuration file, ssu will automatically convert them for domains.
[all]
credentials=jolla
credentials-url=https://%(ssuRegDomain)/%(ssuRegPath)/%1/credentials.xml
register-url=https://%(ssuRegDomain)/%(ssuRegPath)/%1/register.xml
[release]
jolla=https://%(packagesDomain)/releases/%(release)/jolla/%(arch)/
jolla-bad=https://%(packagesDomain)/notused-bad/%(release)/bad/%(arch)/
mer-core=https://%(packagesDomain)/%(release)/mer/%(arch)/%(debugSplit)/
adaptation-common-main=https://%(packagesDomain)/releases/%(release)/nemo/adaptation-%(deviceFamily)-common/%(arch)/
adaptation=https://%(packagesDomain)/releases/%(release)/nemo/adaptation-%(adaptation)/%(arch)/
nemo=https://%(packagesDomain)/releases/%(release)/nemo/platform/%(arch)/
[rnd]
mer-core=https://%(packagesDomain)/mer/%(release)/builds/%(arch)/%(debugSplit)/
adaptation-common-main=https://%(packagesDomain)/nemo/%(release)/adaptation-%(adaptation)-common/%(arch)/
adaptation=https://%(packagesDomain)/nemo/%(release)/adaptation-%(deviceFamily)/%(arch)/
nemo=https://%(packagesDomain)/nemo/%(release)/platform/%(arch)/
non-oss-bad=https://%(dumpDomain)/pj:/non-oss-bad%(flavour)/%(release)_%(arch)/
non-oss=https://%(dumpDomain)/pj:/non-oss%(flavour)/%(release)_%(arch)/
oss-bad=https://%(dumpDomain)/pj:/oss-bad%(flavour)/%(release)_%(arch)/
oss=https://%(dumpDomain)/pj:/oss%(flavour)/%(release)_%(arch)/
[devel-flavour]
flavour-pattern=
[release-flavour]
flavour-pattern=:/release
[testing-flavour]
flavour-pattern=:/testing
[example-domain]
dumpDomain=dump.example.com
packagesDomain=packages.example.com
ssuRegDomain=ssu.example.com
ssuRegPath=ssu/device
# fallback if domain is not matched or not set
[default-domain]
dumpDomain=dump.testing.com
packagesDomain=packages.testing.com
ssuRegDomain=ssu.testing.com
ssuRegPath=ssu/device