-
Notifications
You must be signed in to change notification settings - Fork 0
/
gUpdaterConfig_TEMPLATE.yml
50 lines (50 loc) · 2.02 KB
/
gUpdaterConfig_TEMPLATE.yml
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
#
# update configuration file
#
metrics:
# list of couples with metric: metric name and coef: double
# - at least one quality metric
# - at least one cost metric
# - sum of coefs for quality metrics must be 1
- metric: CVE
coef: 0.6
- metric: FRESHNESS
coef: 0.2
- metric: POPULARITY_1_YEAR
coef: 0.2
- metric: COST
coef: 0.5
constraints:
# list (possibly empty) of constraints with constraint: and value:
# a constraint can be one of:
# - constraint: COST_LIMIT and value: double -> maximum value of total cost of solution (not used if COST is not part of the metrics)
# - constraint: CVE_LIMIT and value: double -> maximum value of total CVE of solution (not used if CVE is not part of the metrics)
# - constraint: PRESENCE and value: some id -> id must be present in solution
# - constraint: ABSENCE and value: some id -> id must be absent in solution
# notes:
# - if you use both PRESENCE and ABSENCE for some same id, there is no solution
# - if you use COST_LIMIT and no solution exist under this limit, there is no solution
- constraint: COST_LIMIT
value: 0.0
- constraint: CVE_LIMIT
value: 0.0
- constraint: PRESENCE
value: "group:artifact:version"
- constraint: ABSENCE
value: "groupe:artifact:version"
releases:
# either NONE, LOCAL (default), CONSTRAINTS(NONE + all releases of libs in ABSENCE & PRESENCE), LOCAL_AND_CONSTRAINTS (LOCAL + all libs of releases in ABSENCE), or GLOBAL
focus: LOCAL
# combination of MORE_RECENT, NO_PATCHES
# can be empty to select all, default is [MORE_RECENT]
# (!!) by now only [MORE_RECENT] is supported (others -> [MORE_RECENT])
selectors: [MORE_RECENT]
costs:
# either NONE, LOCAL (default), CONSTRAINTS, LOCAL_AND_CONSTRAINTS, or GLOBAL
focus: LOCAL
# default value for NONE or unknown costs, MAX or MIN
default: MAX
# tool used to compute costs at LOCAL level, either NONE or MARACAS (default)
tool-direct: MARACAS
# tool used to compute costs at non-root level, either NONE (default) or JAPICMP
tool-indirect: NONE