acf5d56 Load subject types from configuration

Authored and Committed by Lukas Holecek 4 years ago
30 files changed. 844 lines added. 413 lines removed.
    Load subject types from configuration
    
    Adds classes for decision subject item and type.
    
    This makes the code more modular and allows to easily enable or disable
    subject type specializations. E.g. Fedora instances probably don't need
    to include `/etc/greenwave/subject_types/redhat-module.yaml`. Also
    `brew-build` can be removed as alias in `koji_build.yaml`.
    
    Fixes "koji-build" in tests to "koji_build".
    
    TODO:
    
    - Add documentation for the new configuration.
    
    Signed-off-by: Lukas Holecek <hluk@email.cz>
    
        
file modified
+1 -0
file modified
+39 -44
file modified
+5 -0
file modified
+10 -8
file modified
+62 -117
file modified
+10 -16
file modified
+6 -19
file modified
+25 -22
file modified
+13 -10
file modified
+2 -2