Skip to content

Add support for remote-import API Endpoint #2260

Closed
@nicoklaus

Description

@nicoklaus

Description of the problem, including code/CLI snippet

Hello Together,

GitLab supports the import from a remote storage, additionally to the export to a remote storage. This is really helpful, if you migrate a lot of big repositories to another GitLab Instance, it's increase the speed and also reduce the API calls and scripts complexity.

https://docs.gitlab.com/ee/api/project_import_export.html#import-a-file-from-a-remote-object-storage

Expected Behavior

It would be great if gitlab-python would support this endpoint, so additionally to the import_project function, we could also use the import_project_from_remote function.

Actual Behavior

At the moment, it is not possible to import a repository from a remote storage via import_project function.

Specifications

  • python-gitlab version: 3.8.1
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): 15.2.3

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions