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

pb_download_url returns choice of browser or api download urls #117

Merged
merged 3 commits into from
Dec 29, 2023

Conversation

tanho63
Copy link
Collaborator

@tanho63 tanho63 commented Dec 29, 2023

Resolves #116.

Adds handling so that pb_download_url can be more useful with private repos. Not 100% sure how the auth header would be passed in a cloud-native setup yet (might never be) but at least we can document ways to skip disk read now.

@tanho63 tanho63 requested a review from cboettig December 29, 2023 20:55
@cboettig
Copy link
Member

It looks like duckdb/duckdb#8425 would add support for custom http headers to duckdb

@tanho63
Copy link
Collaborator Author

tanho63 commented Dec 29, 2023

Sweet! Probably worth updating the vignette when that gets merged in, I'll leave an issue as a followup for next time I get into a piggyback-updating-spree.

Copy link
Member

@cboettig cboettig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tanho63 tanho63 merged commit 077a649 into master Dec 29, 2023
6 checks passed
@tanho63 tanho63 deleted the tan/api-download-url/116 branch December 29, 2023 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pb_download_url should accept a parameter to return either the browser_download_url or the api_download_url
2 participants