Skip to content
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

New feature: get the dependent gems of a particular gem #6

Open
v0dro opened this issue Feb 4, 2018 · 5 comments
Open

New feature: get the dependent gems of a particular gem #6

v0dro opened this issue Feb 4, 2018 · 5 comments

Comments

@v0dro
Copy link

v0dro commented Feb 4, 2018

Getting the names of the gems that use a given gem and the version number of the gem that the dependents use is useful information for gem writers. It would also be great to provide details about the proportion of the downloads of the dependent with a given gem to see which dependent gem is most important by number of downloads.

@zverok
Copy link
Owner

zverok commented Feb 15, 2018

Yes, thought about that too, it would allow to easily catch outliers ("yes, this gem seems to be downloaded a lot, but that's just because aws gem uses it in one of tests").

The problem is RubyGems doesn't have any bulk API, so for something like activesupport it would look like "Ugh, wait please we'll just make 9k API calls to analyze the dependencies". So, probably this option should work... IDK, "sometimes"? Like when there are not a lot of dependencies or something. But in this case, you already have pretty good guess of "if this any good" :) I want to have it simple.

@v0dro
Copy link
Author

v0dro commented Feb 15, 2018

We can query every gem dependency on rubygems in a multi-threaded manner and gather the data in parallel. Then analyse it and display. This can be an optional feature since sending so many queries to rubygems is obviously time consuming.

@arbox
Copy link

arbox commented Feb 16, 2018

We could talk to the Rubygems people and try to introduced convenient API for this tasks. RubyToolbox and Libraries.io would benefit through it as well.

@v0dro
Copy link
Author

v0dro commented Feb 18, 2018

@arbox do you know someone who can help us out? I can write them a mail.

@arbox
Copy link

arbox commented Feb 18, 2018

It could be e.g. @indirect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants