enable 'sudo' to rm wild repo (gitolite) -
i need delete wild repo, don't have enough privileges so, though gitolite admin user, , have no public key of creator of repo (as it's on physical machine, have no access to). read 'sudo' command, don't know supposed enable it, , how. suppose should in .gitolite.rc file?!
does know how this? thanks.
regarding sudo
command (introduced in gitolite v3.04, 2012-06-27):
sudo
-- allows admin (i.e., has push rights 'gitolite-admin
' repo) run remote command other user.this useful, example, when user claims unable access repo, , need check 'info' output him, etc. however, not work other way, sorry!
the source includes way command activated, using gitolite query-rc
command:
# figure out if command allowed remote user gitolite query-rc -q commands $cmd || die "command '$cmd' not allowed" gitolite $cmd "$@"
you need add 'sudo
' list of enabled command in .gitolite.rc
on gitolite server.
enable => [ # commands # these commands enabled default 'help', 'desc', 'info', 'perms', 'writable', # uncomment or add new commands here. 'sudo',
Comments
Post a Comment