7c5e53f Match the entire URL so we can act on the right project

Authored and Committed by pingou 5 years ago
    Match the entire URL so we can act on the right project
    
    Before this we were just matching the project name, so we missed
    namespaces, fork information and all.
    This with the fact that if even when we matched the project named we
    did not update the project object on which we were working, so we ended
    up working on the wrong ticket/PR.
    
    This can be seen in the ticket reported upstream:
    https://pagure.io/pagure/issue/4052
    
    Fixes https://pagure.io/pagure/issue/4052
    
        
file modified
+38 -27
file modified
+44 -32