aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/any_child_score.se
blob: b04ebbc131958ca244d8274ea337f14c30cefb46 (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
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :

make_enum_AnyChildScore()
{
    prefix acs
    namespace paludis::resolver

    key acs_worse_than_worst         "Worse than the worst option"
    key acs_hate_hate_hate           "Doesn't even exist"
    key acs_avoid                    "Explicitly avoiding"
    key acs_exists                   "Exists"
    key acs_blocks_installed         "Blocks a currently-installed package"
    key acs_could_install            "Could install"
    key acs_will_be_installing       "Will be installing"
    key acs_wrong_options_installed  "Already installed, wrong options"
    key acs_already_installed        "Already installed"
    key acs_vacuous_blocker          "Blocker that doesn't match any installable packages"
    key acs_prefer                   "Explicitly preferred"

    want_destringify
}

make_enum_OperatorScore()
{
    prefix os
    namespace paludis::resolver

    key os_worse_than_worst        "Worse than any option"
    key os_block_everything        "Blocker with no operator"
    key os_less                    "<, <= etc, or blocker with >, >= etc"
    key os_equal                   "=, =* etc"
    key os_greater_or_none         ">, >= etc, or no operator, or blocker with <, <= etc"

    want_destringify
}