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
Document raw.githubusercontent.com #8031
Comments
|
This issue appears to have been opened accidentally. I'm going to close it now, but feel free to open a new issue or ask any questions in discussions! |
|
@janiceilene please undo your bot. |
|
@jsoref sorry about that, I am triaging this for the team to take a look |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Hi there @jsoref! Thanks for opening this I'm speaking with our engineering team about this, both to confirm what limits there are and also to confirm if it's something we can document. I know that this endpoint is unauthenticated, so supplying a token won't make a difference. It might take a while but I'll follow up here once I have more to share. The difference in the number of search results, with and without |
|
Hi again @jsoref! I return with information to share I spoke with our engineering team and learnt that there's a limit of 5000 requests per hour per IP address. Additionally, due to internal routing and caching, that 5000 figure isn't going to be exact. We may accept more but it's sometimes possible that we'll accept less too. As was pointed out to me, if you're at risk of hitting this limit, then you're probably doing something wrong and there's a better way to obtain or even store the file. I'm going to work on documenting this limit but because I'll need to work closely with the engineering team to ensure everything is covered, I'm going to move this to our internal documentation repository. I'll close this issue but I'll mention you here again when those changes ship! Thanks for taking the time requesting this and improving our documentation! |
|
I was looking for "rate limits for GitHub raw content e.g. https://raw.githubusercontent.com/github/fetch/master/README.md" and I found this issue. @stevecat - have you updated the official docs? Is "5000 requests per hour per IP address" still valid? |
|
Hey @zulh-civo |
|
@stevecat: Thanks for the update. Fwiw, the translation count discrepancy remains (3 months later). For the curious, that content appears to have moved here: (And yes, I've read that equivalent content a couple of times, it's why I haven't actively filed bugs or PRs against it.) (When I worked at a large company, if something stayed out of sync for this long, I'd walk over to someone involved and ask them about it.) |
|
Is there any update on this yet after 1+ years? Specifically, are you able to confirm:
A related thread on StackOverflow: |
|
There was at least one raw outage this month https://www.githubstatus.com/incidents/d5158f5wh1ly?utm_ts=1671136320 |
What article on docs.github.com is affected?
Any page that talks about limits and doesn't indicate if raw.githubusercontent.com is covered/uncovered
What part(s) of the article would you like to see updated?
Any page that talks about limits.
Additional information
The domain is mentioned occasionally, here's code that mentions it:
https://github.com/github/docs/search?q=raw.githubusercontent.com+-path%3Atranslations&type=code
Oddly, there are way more hits if you don't exclude translations. Based on my experience w/ translations and a tool to check translations, this means that the translations are buggy and there is missing quality control on them.
Here's a visible reference:
https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/limits-for-viewing-content-and-diffs-in-a-repository#text-limits
Here is @canuckjacq indicating that they have no idea what the correct answer is:
https://github.community/t/raw-githubusercontent-com-rate-limit/142444/6
https://docs.github.com/en/free-pro-team@latest/developers/apps/rate-limits-for-github-apps#normal-user-to-server-rate-limits
This has come up repeatedly.
The text was updated successfully, but these errors were encountered: