didiksupriadi41 / pagure

Forked from pagure 4 years ago
Clone

5313a35 Split sending notifications and ignore private projects

Authored and Committed by pingou 5 years ago
    Split sending notifications and ignore private projects
    
    This commit splits the code to send notifications to web-hook or the
    different messages bus supported into their own function to make the
    code clearer and more self-contained.
    
    This commit also prevent all notifications from being sent on private
    projects.
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+76 -74