Skip to content
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

Add ability to download binary content of release asset #1541

Closed
jesseli2002 opened this issue May 27, 2020 · 6 comments · May be fixed by #3060
Closed

Add ability to download binary content of release asset #1541

jesseli2002 opened this issue May 27, 2020 · 6 comments · May be fixed by #3060
Labels

Comments

@jesseli2002
Copy link
Contributor

I know #525 introduced release asset capabilities, but unless I've missed the right doc page I don't think it's possible to download the binary content of a release asset - just the information about an asset. See https://developer.github.com/v3/repos/releases/#get-a-single-release-asset and the note about downloading the asset's binary content.

@s-t-e-v-e-n-k
Copy link
Collaborator

Ah ha, that is diabolical. I think the best way to handle this is to add a method to GitReleaseAsset that calls GET self.url with the Accept header set. What do you think?

@jesseli2002
Copy link
Contributor Author

Sounds fair to me, although I can't say I'm too familiar with the code.

@JacekPliszka
Copy link

JacekPliszka commented Jun 11, 2020

I can prepare something - I need the same thing + I need it in Actions artifacts.

But I am totally puzzled...

Actions artifacts - work fine...

Release Downlonads - not .. even from command line... but they do work through browser... very strange...

@stale
Copy link

stale bot commented Aug 11, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 11, 2020
@stale stale bot closed this as completed Aug 19, 2020
@dzarda
Copy link

dzarda commented Jul 27, 2022

This is sortof important IMHO

@neel-m
Copy link

neel-m commented Mar 2, 2023

Is there still some interest in this capability?
I need to download ReleaseAssets and was able to add requestFile() to Requester.py and download_asset() to GitReleaseAsset.py and get it to work. I am sure there is more that will be needed. Is there anybody who can help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants