Sha256: 63e536f7186a3fe1ca81ff5db4a5d5dac17a6c7ae8ea9972fc4ddb1a4c0673e2
Contents?: true
Size: 916 Bytes
Versions: 15
Compression:
Stored size: 916 Bytes
Contents
dtk-common ========== DTK Common GITOLITE ========= Manager takes responsibility of handling all gitolite methods (or at least most of them). Reason is simple, gitolite commit / push are expensive operations and we want to mitigate that fact by using manager, and making sure that all our changes are under one commit / push. * Example: Adding user/user group/all to repo configuration manager = Gitolite::Manager.new('/home/git/gitolite-admin') repo_conf = manager.open_repo('r8--cm--java') repo_conf.add_username_with_rights( 'dtk-instance-dtk9', 'RW+' ) repo_conf.add_user_group_with_rights( 'tenants', 'R' ) repo_conf.add_all_with_rights( gitolite_friendly('RW') ) manager.push() License ---------------------- DTK Common is released under the GPLv3 license. Please see LICENSE for more details.
Version data entries
15 entries across 15 versions & 1 rubygems