galaxyproject / galaxy

Data intensive science for everyone.
https://galaxyproject.org
Other
1.34k stars 977 forks source link

List installed tools with repository #10378

Open innovate-invent opened 3 years ago

innovate-invent commented 3 years ago

/api/tool_shed_repositories/{encoded_tool_shed_repsository_id} should list the installed tool ids to allow a second lookup to /api/tools/{id}

The only alternative is:

GET /api/tool_shed/request?tool_shed_url=https://toolshed.g2.bx.psu.edu/&controller=repositories&owner={ repo owner }&name={repo name}

parse out the repo id then

GET /api/tool_shed/request?tool_shed_url=https://toolshed.g2.bx.psu.edu/&controller=repositories&action=metadata&id={repo id}

This might work for most cases but it encounters the issue where a tool may not be installed that the toolshed lists.

innovate-invent commented 3 years ago

The alternative also does not work when the installed repository changeset revision differs from what is on the toolshed.

innovate-invent commented 3 years ago

I am also finding that installing a tool suite vastly complicates calculating the tools that come with it and its dependencies.