packagecontrol.io icon indicating copy to clipboard operation
packagecontrol.io copied to clipboard

List Dependencies

Open FichteFoll opened this issue 10 years ago • 4 comments

I mentioned this in the earlier days of dependencies, but there currently is no way to find out which dependencies are available (and for which platform/st version) besides checking https://github.com/wbond/package_control_channel/blob/master/repository/dependencies.json or https://packagecontrol.io/channel_v3.json manually.

FichteFoll avatar Aug 04 '15 01:08 FichteFoll

This would be extremely helpful for both plugin developers looking for existing dependencies as well as dependency developers to offer some analytic data. I know the data for installs will only represent the initial install of the dependency since it will be in place for following plugins where it is required. Possibly explore a section on the dependency page that displays plugins using this dependency if that is something that can be derived from the available information?

huot25 avatar Sep 21 '15 17:09 huot25

Btw, I made http://packagecontrol.github.io/ some time ago. It's bothersome because it has to be updated manually for now, but it should cover at least the discovering part (and is useful for me to check if dependencies can be updated).

FichteFoll avatar Sep 21 '15 17:09 FichteFoll

My lack of comment isn't that I don't agree it would be useful, but rather a reflection of a lack of time, or direct need for such a thing right now.

Anyone who is interested in such a thing could contribute in a number of ways, by thinking about and discussing ideas for:

  • Should there be a list page and detail pages, or just a list page?
  • Is an install graph for a dependency useful?
  • What URLs should dependencies live on?
  • What database tables need to be created to store the appropriate information in?
  • What tasks have to be updated or added to move data from the channel into the database?
  • What information is unique to dependencies over packages that could benefit from a new interface?

wbond avatar Sep 21 '15 18:09 wbond

@vovkkk made the page (https://packagecontrol.github.io/) fetch the latest dependencies.json file from github, so the list will always be up to date. The traffic caused to github itself should hardly matter considering the page itself is served by github as well.

(via https://github.com/packagecontrol/packagecontrol.github.io/pull/1)

FichteFoll avatar May 10 '16 01:05 FichteFoll