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

Failed to get commit info about: master #50

Closed
alisonjoe opened this issue Jun 11, 2021 · 2 comments
Closed

Failed to get commit info about: master #50

alisonjoe opened this issue Jun 11, 2021 · 2 comments

Comments

@alisonjoe
Copy link

macos big sur 11.3.1

./build-emacs-for-macos
==> INFO: Fetching info for git ref: master
ERROR: Failed to get commit info about: master

@jimeh
Copy link
Owner

jimeh commented Jun 11, 2021

This can happen if you're on a shared connection in a company/school, or behind a VPN, because the lookup happens through GitHub's API, and without an authentication token, API requests are limited to 60 per minute based on source IP.

However if you set the GITHUB_TOKEN environment variable to a GitHub Personal Access Token, the build script will make authenticated requests with your token which should resolve this issue for you.

@alisonjoe
Copy link
Author

Thank you, this is indeed the reason

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

No branches or pull requests

2 participants