(contrib) how to enable or disable push for maintenance
...for some or all repos (and a minor bug fix in the adc.common-functions file)
This commit is contained in:
parent
b4c1627130
commit
5bbd102059
3 changed files with 87 additions and 2 deletions
|
@ -6,7 +6,7 @@ die() { echo "$@"; exit 1; }
|
|||
|
||||
get_rights_and_owner() {
|
||||
local ans
|
||||
ans=$(perl -I$HOME/.gitolite/src -Mgitolite -e 'cli_repo_rights("'$1'")')
|
||||
ans=$(perl -I$GL_BINDIR -Mgitolite -e 'cli_repo_rights("'$1'")')
|
||||
|
||||
# set shell variables as needed
|
||||
owner=${ans#* }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue