git config settings in wild repos: part 1
- new GL_GITCONFIG_WILD to gate it - new sub to do all the hard work (refactored from a few lines in compile) - split the call from "compile" into two sets -- first for non-wild, then for wild This ensures that after a "compile" (admin push) all git configs are applied. TODO: apply them when a new wild repo is created by a user, and then on the "fork" (admin-defined command)
This commit is contained in:
parent
c944a8a3b9
commit
d1d2c3e054
3 changed files with 69 additions and 9 deletions
|
@ -145,6 +145,14 @@ $GL_GITCONFIG_KEYS = "";
|
|||
# category:
|
||||
# $GL_GITCONFIG_KEYS = "foo\\..*";
|
||||
|
||||
# --------------------------------------
|
||||
# ALLOW GITCONFIG KEYS EVEN FOR WILD REPOS
|
||||
#
|
||||
# This is an efficiency issue more than a security issue, since this requires
|
||||
# trawling through all of $REPO_BASE looking for stuff :)
|
||||
|
||||
# $GL_GITCONFIG_WILD = 0;
|
||||
|
||||
# --------------------------------------
|
||||
# EXTERNAL COMMAND HELPER -- HTPASSWD
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue