ARMmbed / yotta

DEPRECATED: yotta build; better software
Apache License 2.0
164 stars 64 forks source link

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

Open ghost opened 8 years ago

ghost commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

.. 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 commented 8 years ago

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

autopulated commented 8 years ago

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)