-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Lines of code is showing 0
for several repositories that used to count lines OK
#7569
Comments
Hello @sgbaird ! 👋 Thanks for reporting this! Our Tokei tests have started failing as well. It does seem like a problem on the Tokei side, hitting the API for the
Other users have also reported this problematic behaviour here: XAMPPRocky/tokei#881 |
Things appear to have been sorted upstream so going to close. If there's any recurrence in the near term please feel free to post here and we can reopen. If anyone significantly in the future sees similar symptoms, it's probably better to open a new issue |
Reopening as the upstream issue has recurred |
Folks, please refrain from posting the "me too" types of comments as they just add unhelpful noise. The above thread already contains relevant information explaining that the issue is upstream. Shields.io is not a system of record. It doesn't provide CI/pipeline capabilities, and it doesn't count lines of code either. We have to get the data from the relevant upstream endpoint, and we then display whatever data the upstream system of record provides. The upstream system in this case is Tokei, and they've been having this recurring issue for quite some time, as indicated above in the linked tokei issues. Tokei is the service responsible for counting lines of code, and for whatever reason it intermittently claims the count is 0, and thus 0 is displayed on the badges. There's absolutely nothing we can do about this, so I'd encourage you to subscribe to those issues in the tokei repository if you're interested in receiving updates. |
I will, thanks. |
Maybe a new shields badge using this service https://github.com/boyter/scc might help 😃 |
I think this is a duplicate of #9389 and the upstream issue is XAMPPRocky/tokei_rs#233 |
#9389 was created much later? |
OK well #9389 is a duplicate of this. The main point was I wanted to link to the upstream issue with tokei as this issue was bumped recently. |
Lines of code works if you don't use tokei and use
|
@Jonius7 Finally a valid solution! |
Are you experiencing an issue with...
shields.io
🐞 Description
See https://github.com/sparks-baird/mat_discover and https://github.com/sgbaird-5DOF/interp for example. If it's not showing "lines 0" when you open this, then I'll assume this was fixed. Not sure if the issue is on the shields.io side or the
tokei
side.🔗 Link to the badge
https://img.shields.io/tokei/lines/github/sparks-baird/mat_discover
💡 Possible Solution
No response
The text was updated successfully, but these errors were encountered: