Mercurial > kallithea
view MANIFEST.in @ 6492:b5551ad26fa3
vcs: dedup auth code between Hg and Git middleware
There's a lot of verbatim duplicated code in the Hg and Git VCS
middleware. This attempts to deduplicate a bit of it.
The _authorize function is a bit awkward, but for now the goal is simply
to remove duplicated code, not improving program structure and design.
As such, the code in _authorize is almost a verbatim copy of the code
removed in the two controllers.
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Wed, 04 Jan 2017 23:01:48 +0100 |
parents | 7894a440e134 |
children | 213085032127 |
line wrap: on
line source
include Apache-License-2.0.txt include CONTRIBUTORS include COPYING include LICENSE-MERGELY.html include LICENSE.md include MIT-Permissive-License.txt include README.rst include development.ini recursive-include docs * recursive-include init.d * recursive-include kallithea/alembic * include kallithea/bin/ldap_sync.conf include kallithea/bin/template.ini.mako include kallithea/config/deployment.ini_tmpl recursive-include kallithea/i18n * recursive-include kallithea/public * recursive-include kallithea/templates * recursive-include kallithea/tests/fixtures * recursive-include kallithea/tests/scripts * include kallithea/tests/test.ini include kallithea/tests/vcs/aconfig