• Xiaowu Zhang's avatar
    TemplateTool&erp5_forge: resolve provision dependency by satisfied provider... · 00b5ce4c
    Xiaowu Zhang authored
    TemplateTool&erp5_forge: resolve provision dependency by satisfied provider dependencies and version restricted
    
    When a bt5 depends on a provision bt5 name, the resolver had only one
    rule: pick the only candidate. With two or more candidates,
    it will show "select one of the following business templates"
    
    let's improve it by adding a new rule:
    
    look at each candidate's own dependency_list and pick the candidate matchs version restricted and whose dependencies
    are all installed or about to be installed.
    
    When multiple matches, raise explicitly so the ambiguity is visible.
    00b5ce4c