- Notifications
You must be signed in to change notification settings - Fork673
Closed as not planned
Closed as not planned
Labels
Description
Description of the problem, including code/CLI snippet
Hi,
Thisfeature request concerns the following methods:
- https://python-gitlab.readthedocs.io/en/stable/api/gitlab.v4.html#gitlab.v4.objects.GenericPackageManager.download
- https://python-gitlab.readthedocs.io/en/stable/api/gitlab.v4.html#gitlab.v4.objects.GenericPackageManager.upload
This could be easily implemented in:
python-gitlab/gitlab/v4/objects/packages.py
Lines 108 to 112 in499243b
url=f"{self._computed_path}/{package_name}/{package_version}/{file_name}" | |
query_data= {}ifselectisNoneelse {"select":select} | |
server_data=self.gitlab.http_put( | |
url,query_data=query_data,post_data=file_data,raw=True,**kwargs | |
) |
Expected Behavior
We could chunk the files and usetqdm
to follow the progress of the upload or the download of heavy files.
Actual Behavior
Just need to wait, no information can be retrieved concerning the current status when uploading or downloading.
Specifications
- python-gitlab version: N/A
- Gitlab server version (or gitlab.com):N/A