Comments (5)
That makes sense, thanks! I've mentioned this in the appropriate place in the README and linked back to this issue, which I will leave open. Once again, I appreciate you bringing this to my attention.
from github-stats.
Hi, thanks for using the project and taking the time to open this issue!
I'm afraid I don't completely understand the problem you mention. As far as I can tell, I have implemented the API query using pagination (via after
) so that if there are more than 100 results, it will continue to loop through until there are none left. It should do this using the GraphQL query here (in particular line 153):
Lines 140 to 154 in a7478a4
Have you been finding that it is not working properly? Or has there been some other misunderstanding? I would appreciate more information so that I can better address this. Thanks!
from github-stats.
It's not an issue with your code rather than limitations of the Github API itself. Your query generally works fine, however, if you last contributed to a repository you don't own more than ~ 1 year ago it won't show up in the response.
Sample Query for BigQuery:
SELECT distinct repo.name
FROM (
SELECT * FROM `githubarchive.year.2019`
)
WHERE (type = 'PushEvent'
OR type = 'PullRequestEvent')
AND actor.login = 'BitPatty'
In this case the following repository will show up: https://github.com/zenware/FizzBuzz which has some contributions from my side.
However, on the GraphQL API this repository doesn't show up, since my last contribution was back in 2019.
Github API response:
"nodes": [
{
"nameWithOwner": "vendure-ecommerce/vendure"
},
{
"nameWithOwner": "kimeggler/spotifystatistics"
},
{
"nameWithOwner": "HelveticSpeedrunners/speedrun.ch"
},
{
"nameWithOwner": "swisscom/backman"
},
{
"nameWithOwner": "dizzypenguins/Bonobo"
}
]
from github-stats.
Thanks for the clarification! If I'm understanding correctly, there isn't much I can do about this without potentially making a lot of queries to the REST API. Even then, I am not sure that would totally address the problem, given that there are sometimes weird inaccuracies.
Do you think that adding a note to the second paragraph of the disclaimer referring to this specific issue is sufficient to make users aware of the problem? If not, how would you go about fixing it?
from github-stats.
Yes, it's certainly a huge effort to adjust the logic for this specific issue. I might get working on it myself if I find enough time to do so - but not in the near future.
Do you think that adding a note to the second paragraph of the disclaimer referring to this specific issue is sufficient to make users aware of the problem? If not, how would you go about fixing it?
Updating the docs would definitely help future users which might be as confused as I was at the beginning about the missing contributions.
In the end, this issue is more of a "FYI" than something I'd want to be "fixed" asap.
from github-stats.
Related Issues (20)
- Considering only commits made by myself HOT 2
- Adding a suggestion to Readme.md HOT 1
- Remove whitespaces in Readme.md HOT 1
- Changed my username and now my stats decreased
- Generate Stats image failing everyday HOT 1
- #gh-dark-mode-only not working HOT 2
- No name's github stats HOT 4
- EXCLUDE_LANG not excluding Jupyter Notebooks HOT 6
- Clarify needed permissions HOT 5
- Option to disable stats from private repos HOT 3
- Suggestion - Ignore files specified in .gitattributes HOT 1
- Workflow keeps failing (over 1 month straight), may need manual inspection
- Installation section leads to unexpected output HOT 1
- All statistics are 0 HOT 2
- fatal: unable to access 'https://github.com/***/': The requested URL returned error: 403
- Please provide an example of how to exclude languages HOT 2
- GitHub dark-mode URI fragment is deprecated
- Update README.md to reflect changes made by GitHub regarding generating a token
- From last 2-3 days generated github-stats are not visible on the readme file.
- Ignore ipynb files HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-stats.