Open korthout opened 1 year ago
Hi, you can try my tool written in Go. You can see example 5. I hope it will be helpful for your questions.
Workaround: Change https://github.com/github-tooling/ghtopdep/blob/992fa4dba2a2f7ffa2f1b8c72fc100d91d9ae7dd/ghtopdep/ghtopdep.py#L176 to
page_url = "{0}/network/dependents?dependent_type={1}&package_id=<package id>".format(url, destination.upper())
where the package id can be found in the url by navigating to the dependency graph of the repo and selecting the correct package.
I've used
ghtopdep
to collect details about the usage of a project I maintain https://github.com/korthout/backport-action. This action is available under two packages and so dependents are tracked for each:ghtopdep
only looks at the dependents of the most popular package.I would like
ghtopdep
to include the results of the other packages. Note that some dependents may be encountered in both packages, so duplicates should be removed.