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

Use the Octokit client for GitHub #246

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

fealebenpae
Copy link
Contributor

Related to #244.

This replaces the old github package with the latest Octokit REST client which makes authentication work again.
Additionally, the NODIST_GITHUB_TOKEN environment variable can now be used to supply a token for authenticating GitHub requests (and overcoming the unauthenticated request rate limit).

I know that technically disabling auth altogether was an option, but updating the client seemed prudent to make sure the requests comply with GitHub API requirements.

This replaces the old `github` package with the latest Octokit REST client which makes authentication work again.
Additionally, the `NODIST_GITHUB_TOKEN` environment variable can now be used to supply a token for authenticating GitHub requests (and overcoming the unauthenticated request rate limit).
@kraenhansen
Copy link

@marcelklehr any chance of getting this merged and released?

@nullivex
Copy link
Member

nullivex commented Jan 27, 2022

@kraenhansen @fealebenpae I reviewed this and for the most part it looks good. The issue has been compiling a new release not merging the code.

I do see this PR as an improvement over using a hacked library that is stale.

When I get back to my dev PC I will work on merging these and compiling a release.

@steve-nickerson
Copy link

@nullivex anything we can do to help? my org really could use the updated code. we're working around it currently.

@wafflook wafflook mentioned this pull request Jun 20, 2022
@marcelklehr marcelklehr merged commit bf6fbb8 into nodists:master Nov 19, 2023
@steve-nickerson
Copy link

is there a plan to cut a release with this fix in the near term? thanks

@nullivex
Copy link
Member

There is a release candidate available. Check the release page. I could use some feedback on it.

@kraenhansen
Copy link

Thats great news. Unfortunately, I don't have an environment available to test this at the moment 🤔

@nullivex
Copy link
Member

Whenever you get a chance, I am hopeful we packaged in some fixes.

@fealebenpae fealebenpae deleted the use-octokit branch March 6, 2024 12:43
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.

5 participants