Module Import alias alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpAdd NameLoad Str Assign AttributeStore NameLoad attr BinOpAdd NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad If CompareIn NameLoad NameLoad body Return NameLoad Assign SubscriptStore NameLoad Index NameLoad ListLoad TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad If CompareNotIn NameLoad NameLoad body Return NameLoad Delete SubscriptDel NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body With Call NameLoad NameLoad NameStore body Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Pass Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign NameStore Dict For NameStore NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr Str Num If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpAdd BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr NameLoad Str NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Str While CompareNotEq NameLoad Str body If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr orelse If Call AttributeLoad NameLoad attr Str body If CompareEq NameLoad Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Num If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr TupleLoad NameLoad NameLoad orelse Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A os glob tempfile shutil Gitolite N/A object N/A __init__ N/A N/A self path N/A ./gitolite-admin N/A N/A N/A self _repo_path path N/A N/A self _user_repo_config N/A path /conf/user_repos.conf N/A N/A self _key_path N/A path /keydir/ N/A addRepo N/A N/A self username reponame N/A N/A N/A 
    Adds a new repo to gitolite.
    returns true iff successfully added repo to config
     N/A repo_data N/A N/A self __load_repo N/A repo N/A N/A username / reponame N/A N/A repo repo_data N/A N/A False N/A N/A repo_data N/A repo N/A N/A RW+ username N/A N/A N/A self __save_repo repo_data N/A True N/A rmRepo N/A N/A self username reponame N/A N/A N/A 
    Removes a repo
    returns true iff successfully removed repo from config.
     N/A repo_data N/A N/A self __load_repo N/A repo N/A N/A username / reponame N/A N/A repo repo_data N/A N/A False N/A N/A repo_data N/A repo N/A N/A N/A self __save_repo repo_data N/A True N/A getRepos N/A N/A self N/A N/A N/A N/A N/A self __load_repo N/A addSSHKey N/A N/A self username keyname sshkey N/A N/A N/A key_file_name N/A N/A self __get_ssh_key_path username keyname N/A N/A N/A N/A open key_file_name f N/A N/A False N/A N/A N/A IOError N/A e N/A N/A N/A new_key_file N/A open key_file_name w N/A N/A N/A new_key_file write sshkey N/A N/A N/A new_key_file close N/A True N/A rmSSHKey N/A N/A self username keyname N/A N/A N/A key_file_name N/A N/A self __get_ssh_key_path username keyname N/A N/A N/A N/A N/A os remove key_file_name N/A N/A N/A N/A False N/A True N/A getSSHKeys N/A N/A self N/A N/A N/A keys N/A N/A glob glob N/A N/A self _key_path *@*.pub N/A key_data N/A N/A keyfile keys N/A N/A filename N/A N/A N/A N/A os path basename keyfile N/A -4 N/A filename_split N/A N/A filename split @ 1 N/A N/A N/A len filename_split 2 N/A N/A N/A SyntaxError Invalid key file name N/A username N/A N/A N/A filename_split N/A 0 strip N/A keyname N/A N/A N/A filename_split N/A 1 strip N/A N/A username key_data N/A N/A N/A key_data N/A username N/A N/A N/A N/A N/A key_data N/A username append keyname N/A key_data N/A __get_ssh_key_path N/A N/A self username keyname N/A N/A N/A N/A N/A N/A N/A N/A self _key_path username @ keyname .pub N/A __load_repo N/A N/A self N/A N/A N/A 
    Read gitolite config file
     N/A repo_data N/A N/A repo_file_content N/A open N/A self _user_repo_config r N/A line N/A N/A N/A N/A repo_file_content readline strip N/A repo N/A N/A line N/A N/A N/A N/A line startswith repo N/A N/A line_split N/A N/A line split None 1 N/A N/A N/A len line_split 2 N/A N/A N/A SyntaxError Invalid repository def. N/A repo N/A N/A N/A line_split N/A 1 strip N/A N/A N/A N/A line startswith N/A N/A N/A repo N/A N/A N/A SyntaxError Missing repo def. N/A line_split N/A N/A line split = 1 N/A N/A N/A len line_split 2 N/A N/A N/A SyntaxError Invalid rule N/A perm N/A N/A N/A line_split N/A 0 strip N/A user N/A N/A N/A line_split N/A 1 strip N/A N/A repo repo_data N/A N/A N/A repo_data N/A repo N/A N/A N/A N/A N/A repo_data N/A repo append N/A perm user N/A N/A N/A SyntaxError Invalid line N/A line N/A N/A repo_file_content readline N/A N/A N/A repo_file_content close N/A repo_data N/A __save_repo N/A N/A self repo_data N/A N/A N/A 
    Write gitolite config file
     N/A tmp_file N/A N/A tempfile NamedTemporaryFile w N/A N/A reponame permlist N/A N/A repo_data items N/A N/A N/A N/A tmp_file write N/A N/A repo  reponame N/A N/A perm user permlist N/A N/A N/A N/A tmp_file write N/A N/A N/A N/A perm  =  user N/A N/A N/A tmp_file flush N/A N/A N/A shutil copyfile N/A tmp_file name N/A self _user_repo_config N/A N/A N/A tmp_file close N/A N/A