Skip to content

Support Github oauth token for downloads#98

Merged
MikeFultonDev merged 3 commits intozopencommunity:mainfrom
AnthonyGiorgio:git-token
Dec 17, 2022
Merged

Support Github oauth token for downloads#98
MikeFultonDev merged 3 commits intozopencommunity:mainfrom
AnthonyGiorgio:git-token

Conversation

@AnthonyGiorgio
Copy link
Copy Markdown
Collaborator

This PR adds support for the Github oath token during the download step. This supports the same ZOPEN_GIT_OAUTH_TOKEN environment variable that the zopen tool does.

Comment thread tools/src/download.c Outdated
Comment thread tools/src/download.c Outdated
Don't send Github oauth header if ZOPEN_GIT_OAUTH_TOKEN not specified
Copy link
Copy Markdown
Collaborator

@MikeFultonDev MikeFultonDev left a comment

Choose a reason for hiding this comment

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

Lgtm

@MikeFultonDev MikeFultonDev merged commit 052f5ef into zopencommunity:main Dec 17, 2022
@AnthonyGiorgio AnthonyGiorgio deleted the git-token branch December 17, 2022 11:44
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.

2 participants