repos.ini 3.89 KB
Newer Older
Aard's avatar
Aard committed
1 2 3 4 5
### 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
#
6
# Variables resolved through information gathered on the device:
Aard's avatar
Aard committed
7
# %(deviceFamily)  A device family in adaptation, like mrst or n9xx
8 9 10
# %(deviceModel)   A device model, like N9, N950
#
# Variables resolved by URL parameters in repository:
Aard's avatar
Aard committed
11 12 13 14 15 16 17 18
# %(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'
#
#
19 20 21 22 23 24
# 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
25 26 27
# %(%(foo):=bar?foobar|baz) -- expands to foobar if %(foo) == bar, to baz
#                otherwise. %(foo) should only be alphanumeric. It must not
#                contain the character '?'.
28
#
Aard's avatar
Aard committed
29 30 31 32 33 34 35 36
# 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
37
# baseurl=plugin:ssu?repo=non-oss&rnd&fooBar=baz
Aard's avatar
Aard committed
38 39 40 41
#
# Valid url specifications in repo files for release repositories include:
#
# baseurl=plugin:ssu?repo=non-oss
42
# baseurl=plugin:ssu?repo=non-oss&fooBar=baz
43 44 45 46 47 48
#
# 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.
Aard's avatar
Aard committed
49 50 51

[all]
credentials=jolla
52 53
credentials-url=https://%(ssuRegDomain)/%(ssuRegPath)/%1/credentials.xml
register-url=https://%(ssuRegDomain)/%(ssuRegPath)/%1/register.xml
Aard's avatar
Aard committed
54 55

[release]
56 57 58 59 60 61
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)/
Aard's avatar
Aard committed
62 63

[rnd]
64 65 66 67 68 69 70 71
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)/
Aard's avatar
Aard committed
72 73 74 75 76 77 78 79 80

[devel-flavour]
flavour-pattern=

[release-flavour]
flavour-pattern=:/release

[testing-flavour]
flavour-pattern=:/testing
81 82 83 84 85 86 87 88 89 90 91 92 93

[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