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

Retrieve all dependencies of a package #166

Closed
wants to merge 3 commits into from

Conversation

rjbou
Copy link
Contributor

@rjbou rjbou commented Nov 26, 2018

For most popular calculation, we use the leaf packages stats, and for that we retrieve dependencies and remove them in a window of 2 minutes (cf. c79bcc7). We used opam file depends to retrieve dependencies, instead of computing the all dependencies. That's how it is done in this PR.
As calculating it for all package is time consuming (takes 1h for all opam-repo), a cache is required, that can be generated using --generate-dcache option.
In case the cache is non existent, it is the old behavior that is used.

…pends.

Du to the cost of retrieving all packages graph dependencies, a choice
is done on dependencies retrieving. If dependencies cache exists, uses
it, otherwise calculate using opam file dependencies.
@rjbou
Copy link
Contributor Author

rjbou commented Nov 23, 2022

irrelevant as statistics are no more computed (see #221 )

@rjbou rjbou closed this Nov 23, 2022
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

Successfully merging this pull request may close these issues.

1 participant