#4856 Add the new git auth backend to the default list
Merged 3 years ago by pingou. Opened 3 years ago by pingou.

file modified
+1
@@ -74,6 +74,7 @@ 

              "gitolite2": Gitolite2Auth,

              "gitolite3": Gitolite3Auth,

              "pagure": PagureGitAuth,

+             "pagure_authorized_keys": PagureGitAuth,

          }[backend]

      else:

          cls = classes[backend].load()

The get_git_auth_helper method in pagure.lib.git_auth has logic
to rely on the default/provided git auth if for some reasons it
fails to load them from the pkg_resources.
This method did not account for the new git auth backend that was
recently added and this commit fixes this.

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

rebased onto 72cd30f3219277aebc7898f909c1ede73138f010

3 years ago

pretty please pagure-ci rebuild

3 years ago

rebased onto 7f2b643

3 years ago

Pull-Request has been merged by pingou

3 years ago