Use in-pagure HTTP pull/push
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
d876e90554
commit
82ae94410b
1 changed files with 0 additions and 16 deletions
|
@ -16,19 +16,3 @@
|
||||||
Require claims_expr '(.scope | index("https://src.fedoraproject.org/push") != null)'
|
Require claims_expr '(.scope | index("https://src.fedoraproject.org/push") != null)'
|
||||||
</Else>
|
</Else>
|
||||||
</LocationMatch>
|
</LocationMatch>
|
||||||
|
|
||||||
{% if env == "production" %}
|
|
||||||
SetEnv GIT_PROJECT_ROOT /srv/git/repositories
|
|
||||||
|
|
||||||
AliasMatch ^/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$ /srv/git/repositories/$1
|
|
||||||
AliasMatch ^/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /srv/git/repositories/$1
|
|
||||||
|
|
||||||
SuexecUserGroup pagure packager
|
|
||||||
|
|
||||||
ScriptAliasMatch \
|
|
||||||
"(?x)^/(.*/(HEAD | \
|
|
||||||
info/refs | \
|
|
||||||
objects/info/[^/]+ | \
|
|
||||||
git-(upload|receive)-pack))$" \
|
|
||||||
/var/www/bin/gitolite-suexec-wrapper.sh/
|
|
||||||
{% endif %}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue