XAMPPRocky / octocrab

A modern, extensible GitHub API Client for Rust.
Other
1.02k stars 253 forks source link

Line of code badge looks wrong #521

Open mistydemeo opened 5 months ago

mistydemeo commented 5 months ago

The line of code badge in the README looks like it's wrong. It's currently reporting 0 lines of code for this repo, and I think it's... somewhere... north of that. I haven't looked into the implementation via tokei to see why it's misreporting.

XAMPPRocky commented 5 months ago

Thank you for your issue! Yeah this is known issue, that is hard for me to actually solve.

Essentially what happens, is that it's impossible to get or estimate the size of a git repository remotely, the only way to measure it is to clone it. And if you clone it when you don't have enough space the clone fails.

I'll give it a kick and get it working again. If you are curious, the source code for the server is available here. https://github.com/XAMPPRocky/tokei_rs