3 ms·
I think it's a decent metric. I agree with the other comment that actual imports is probably a better metric, but that's not always as trivial to find. That sa
by michaelmior 2y ago
I think it's a decent metric. I agree with the other comment that actual imports is probably a better metric, but that's not always as trivial to find.
That said, the package repositories for many popular languages list stats of either declared dependencies or package downloads, which helps.
- LtWorf 2y agordeps are completely broken in github. I wrote a library that I have used in other projects of my own and it was always at 0 users. Anyway if stuff is used by proprietary stuff it will also sit at 0. I now moved to codeberg where there is less spam, although it does have stars
- michaelmior 2y agoI wasn't suggesting using GitHub. In fact, I don't think I was aware that GitHub even listed reverse dependencies. Where is that in the UI?
- LtWorf 2y agohttps://github.com/ltworf/typedload/network/dependents https://github.com/ltworf/typedload/network/dependents
- michaelmior 2y agoAh yes. I forgot I actually use this feature in some of my projects. GitHub isn't always able to update this automatically but you can programmatically report dependencies.
- LtWorf 2y agoYeah not way to automatically detect "import xxx"
- michaelmior 2y agoRight. I believe they rely on things like requirements.txt, Cargo.toml, etc. And of course not all languages are supported. So if you use an unsupported language or package manager, you're out of luck.
- LtWorf 2y agoIt doesn't even work with normal requirements.txt by the way. At least not all the time.