Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.
This repository was 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

@LiyouZhou

Description

@LiyouZhou

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions