This PR implements a new Gitolite backend that achieves major speedup by implementing subset of Gitolite functionality in the Python code. To borrow from the docstring of the new Gitolite3PythonAuth:
Replaces gitolite compile && gitolite trigger POST_COMPILE calls by implementing used subset of gitolite's functionality in Python to achieve a major speedup with some limitations:
This implementation can only work with exactly the subset of gitolite functionality that Pagure uses.
Currently it doesn't respect GITOLITE_PRE_CONFIG and GITOLITE_POST_CONFIG configuration settings.
This implementation doesn't support:
specifying repos with templates/wildcards
groups being members of other groups
specifying access rights to specific branches
anything that gitolite trigger POST_COMPILE does, other than handling ssh keys uploaded by users
This PR implements a new Gitolite backend that achieves major speedup by implementing subset of Gitolite functionality in the Python code. To borrow from the docstring of the new
Gitolite3PythonAuth:Replaces
gitolite compile && gitolite trigger POST_COMPILEcalls by implementing used subset of gitolite's functionality in Python to achieve a major speedup with some limitations:GITOLITE_PRE_CONFIGandGITOLITE_POST_CONFIGconfiguration settings.This implementation doesn't support:
gitolite trigger POST_COMPILEdoes, other than handling ssh keys uploaded by users