-
Notifications
You must be signed in to change notification settings - Fork 670
Get artifacts files #122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for the report. Could you test the issue-122 branch? I don't have the setup to test right now. |
It works, but it is also good to write some docs how to work with it. Maybe some example for not experienced how to convert bytes to files on disk :-) |
Also I am not sure if it uses streams, so I can process artifacts bigger than available RAM. |
I have implemented stream support in some methods (the one for which it makes sense to do so) in commit 94aea52. I would be interested in some testing. Do you think you could give it a try? I've also added some documentation in this commit, published here: http://python-gitlab.readthedocs.io/en/latest/gl_objects/builds.html#streaming-example |
I am not sure how to use it in companion with ZipFile stream. I use it here: Could you please kick me to the right direction? |
Btw, is it really needed to have
|
The double streamed parameter is a mistake, one is enough :) I'm not sure how to use the stream with ZipFile, I need to dig a little. I'll get back to you with some ideas as soon as I can. Thank you for testing. |
It seems library is not able to download artifacts (by /projects/:id/builds/:build_id/artifacts), only list them:
The text was updated successfully, but these errors were encountered: