jina-ai/jina-hubble-sdk

Add a subcommand to jina hub to show the local location of Jina Executor

JoanFM opened this issue · 6 comments

optimization:

  • Improve the print style.
  • Investigate using disk_cache.db to display images

@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.

Image

@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.

@mapleeit OK, I will just improve the print result of hub list.