ARMmbed / yotta

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

yt ls should print SHA of the git repo that the code is from #816

Open LiyouZhou opened 7 years ago

LiyouZhou commented 7 years ago

Yotta have the ability to download modules from github. It would be nice to see which exact version is downloaded to local. Helps keep track of dependencies when they are not properly sem verred.

The SHA information is already present when the module is downloaded as you can see in the debug message if you do yt -vvvv install. You just need to put that information in ./yotta_modules//.yotta_origin.json which currently holds the url of the git repo only. Then print it in a sensible way in yt ls.