xia_git_gitlab.git.GitlabGit
- class xia_git_gitlab.git.GitlabGit
Bases:
Git
- __init__()
Methods
__init__
()clean_workspace
(work_path[, destroy])Clean Workspace
clone_project
(repo_dir, project_name, group_id)close_issue
(project_name, group_id, issue_id)commit_file
(project_name, group_id, ...)commit_project
(repo_dir, commit_message, ...)compare_directories_recursive
(dir_a, dir_b)Compare file content
create_branch
(project_name, group_id, ...[, ref])create_group_access_token
(group_id, token_name)create_issue
(project_name, group_id, title, ...)create_merge_request
(project_name, group_id, ...)create_note
(project_name, group_id, ...)create_project
(project_name, group_id, **kwargs)create_repo_token
(user_id, token_name)create_sub_group
(group_name, parent_id)delete_branch
(project_name, group_id, ...)delete_project
(project_name, group_id, **kwargs)delete_sub_group
(group_name, parent_id)destroy_workspace
(work_path)get_access_token_info
(group_id, token_name)get_branch_info
(project_name, group_id, ...)get_commits_by_range
(start_ref, end_ref, ...)get_group_variable
(group_id, key)get_operation_list
(source_path, target_path)get_pipeline_status
(project_name, group_id)get_project_info
(project_name, group_id, ...)get_project_variable
(project_name, key, group_id)get_single_pipeline_status
(project_id, ...)get_sub_group_id
(group_name, parent_id[, ...])get_sub_group_info
(group_name, parent_id)get_tag_info
(tag_name, project_name, group_id)get_tag_list
(project_name, group_id)get_update_instruction
(source_path, ...)perform_merge
(project_name, group_id, ...[, ...])retry_single_pipeline
(project_id, pipeline_id)set_group_variable
(group_id, key, value[, ...])set_project_variable
(project_name, key, ...)tag_project
(tag_name, project_name, ...)Attributes
PIPELINE_END_STATUS
api_url
gitlab_token
- classmethod clean_workspace(work_path, destroy: bool = False)
Clean Workspace
- Parameters
work_path – Path to be cleaned
destroy – Removing The directory itself. When it is false, ./.git/ will be kept
- classmethod compare_directories_recursive(dir_a, dir_b, relative_path='')
Compare file content