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

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

Open
LiyouZhou opened this issue Jul 5, 2017 · 0 comments
Open

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

LiyouZhou opened this issue Jul 5, 2017 · 0 comments

Comments

@LiyouZhou
Copy link

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.

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

2 participants