2f5d6d7 unify repo and repo_from options

Authored and Committed by qwan 7 years ago
    unify repo and repo_from options
    
    Config option 'repo' and 'repo_from' are used in several phases, merge
    them with one option 'repo'. 'append' in schema is used for appending
    the values from deprecated options to 'repo', so it won't break on any
    existing config files that have the old options of 'repo_from' and
    'source_repo_from' (which is an alias of 'repo_from').
    
    And 'repo' schema is updated to support repo dict as the value or an
    item in the values, a repo dict is just a dict contains repo options,
    'baseurl' is required in the dict, like:
    
    {"baseurl": "http://example.com/url/to/repo"}
    
    or:
    
    {"baseurl": "Serer"}
    
    currently this is used in ostree phase to support extra repo options
    like:
    
    {"baseurl": "Server", "exclude": "systemd-container"}
    
    Signed-off-by: Qixiang Wan <qwan@redhat.com>
    
        
file modified
+31 -50
file modified
+43 -24
file modified
+1 -3
file modified
+9 -22
file modified
+4 -21
file modified
+12 -10
file modified
+9 -35
file modified
+103 -0
file modified
+3 -3
file modified
+9 -18
file modified
+1 -1
file modified
+5 -8
file modified
+4 -3
file modified
+18 -12
file modified
+102 -0