gitlab#
- api_access_required(fun)#
- class repo(*, url, path=None, api_url=None, access_token=None, project_id=None)#
Bases:
object- property gitlab_id#
- build_api_url(*, path, query=None)#
- clone_url(protocol)#
- remove_source_tree()#
- cloned()#
- clone(protocol='https', branch=None, recurse=False, shallow=False, quiet=False)#
- classmethod from_clone(*, url, branch=None, recurse=False, shallow=False)#
- classmethod from_checkout(*, path)#
- static sanitize_url(url)#
- branch(name, create=False)#
- branches()#
- branch_exists(name)#
- pull(*args)#
- fetch(*args)#
- checkout(*args, commit=None)#
- clean(*args)#
- reset(*args)#
- update_submodules()#
- add(item, force=False)#
- remove(item, force=False)#
- commit(message, add=False)#
- push(tags=False)#
- tag(name)#
- sha()#
- upload(*, file)#
- release(*, name, tag, assets=None)#
- link(*, tag, filename, fileurl)#
- issues(state=None)#
Get issues for this project
- commits()#
Get issues for this project
- merge_requests(state=None)#
Get merge_requests for this project
- issue(issue_no)#
- move_issue(issue_no, *, to_project_id)#
- edit_issue(issue_no, *, data=None, notes=None)#
- new_issue(*, data)#
- tags()#
- tag_exists(name)#
- class group(*, url, group_id, access_token=None, api_url=None)#
Bases:
repo- property gitlab_id#
- build_api_url(*, path, query=None)#
- clone_url(protocol)#
- class merge_request(api_v4_url, project_id, iid, access_token)#
Bases:
object- build_api_url(*, path, query=None)#
- property author#
- property author_email#
- property description#
- property labels#
- property id#
- property title#
- property url#
- property source_url#
- property target_url#
- property source_branch#
- property target_branch#
- property source_branch_url#
- property target_branch_url#
- property source_project_id#
- property target_project_id#
- property project_url#
- property source_project_url#
- property target_project_url#
- property project_path#
- property source_project_path#
- property target_project_path#
- property ci_job_url#
- property ci_job_name#
- property data#
- fetch_project_data(pid)#
- property project_data#
- property source_data#
- property target_data#
- get_property(name, default=None)#
- get_project_property(name, default=None)#
- get_target_property(name, default=None)#
- get_source_property(name, default=None)#
- add_note(note)#
- remove_labels(*labels)#
- add_labels(*labels)#
- download_file(download_url, filename=None)#
- get_job_artifacts(api_v4_url, project_id, jobid, access_token=None, dest=None)#
- tmpdir()#
- working_dir(dirname)#
- force_remove(path)#
- git(subcommand, *args, **kwargs)#
- curl(*args, **kwargs)#
- split(arg, sep=None)#