Add a subcommand to jina hub to show the local location of Jina Executor
JoanFM opened this issue · 6 comments
JoanFM commented
floralatin commented
- jina-hubble-sdk: #85
- jina-core jina-ai/jina#5282
floralatin commented
optimization:
- Improve the print style.
-
Investigate usingdisk_cache.db
to display images
floralatin commented
@mapleeit After the investigation, we can't get the executor info from the disk_cache.db
. As shown in the figure, we download different versions of an executor, and the file disk_cache.db
will record it. So if we want to know the real downloaded version of this executor, we just need to parse the */*.dist-info
file and config.yml
file.
But disk_cache.db
can be used as auxiliary information, to get the docker image of the tag corresponding to the executor.
mapleeit commented
@floralatin I see. Then maybe we can't count on the data in disk_cache.db
.
Don't list jinahub+docker://
for now then, user can use docker images
and find something anyway.
floralatin commented
@mapleeit OK, I will just improve the print result of hub list.