gitolite-manager

Manage gitolite's configuration files and SSH keys
Download

gitolite-manager Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Kyu Lee
  • Publisher web site:
  • https://github.com/smailq/

gitolite-manager Tags


gitolite-manager Description

gitolite-manager is a Python module to manage gitolite config and SSH keys.Installation sudo pip install gitolite-manageror alternatively (you really should be using pip though): sudo easy_install gitolite-managerFrom source: sudo python setup.py installGetting StartedPrepare gitoliteAdd the following line to gitolite configuration file (./gitolite-admin/conf/gitolite.conf)include "user_repos.conf"By default, it'll use ./gitolite-admin as gitolite directory.Add/remove repositories>>> import gitolite_manager>>> gitolite = gitolite_manager.Gitolite()>>> gitolite.addRepo('username', 'reponame')True>>> gitolite.getRepos(){'username/reponame': }>>> gitolite.rmRepo('username', 'reponame')True>>> gitolite.getRepos(){}Add/remove ssh keys>>> import gitolite_manager>>> gitolite = gitolite_manager.Gitolite()>>> gitolite.addSSHKey('username', 'keyname', 'ssh key content')True>>> gitolite.getSSHKeys(){'username': }>>> gitolite.rmSSHKey('username','keyname')True>>> gitolite.getSSHKeys(){}Product's homepage


gitolite-manager Related Software