Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

yotta command to get module dependencies directly from registry. #718

Open
ghost opened this issue Feb 24, 2016 · 4 comments
Open

yotta command to get module dependencies directly from registry. #718

ghost opened this issue Feb 24, 2016 · 4 comments

Comments

@ghost
Copy link

ghost commented Feb 24, 2016

There appears to be no mechanism to get the dependencies of a module from the registry without using yotta to download and install a module along with all of its dependencies?

@bogdanm
Copy link
Contributor

bogdanm commented Feb 24, 2016

That would be quite difficult, since a module can have target dependencies, so you'd have to select a target before getting the full list of dependencies.

@ghost
Copy link
Author

ghost commented Feb 24, 2016

.. or make the target a parameter of the query. Queries against the yotta registry do not need to be related to a local yotta install tree.

@bogdanm
Copy link
Contributor

bogdanm commented Feb 24, 2016

That could be implemented, yes, but I'm not sure I understand the use case.

@autopulated
Copy link
Contributor

The web API supports this:

https://registry.yottabuild.org/modules/mbed-hal/versions/1.0.0

Or even:
https://registry.yottabuild.org/modules/mbed-hal/versions

(All of the dependencies sections are included in the returned result)

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

No branches or pull requests

3 participants