Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add commands to deal with storage #261

Open
luizirber opened this issue May 31, 2017 · 4 comments
Open

Add commands to deal with storage #261

luizirber opened this issue May 31, 2017 · 4 comments
Labels
plugin_todo Write a plugin for this! sbt

Comments

@luizirber
Copy link
Member

  • prefetch: download all nodes beforehand (useful for IPFS)
  • convert: to move from one storage to another (from TarStorage to RedisStorage, for example)

Should these go into sourmash-utils?

@ctb
Copy link
Contributor

ctb commented Jun 1, 2017 via email

@ctb
Copy link
Contributor

ctb commented Jul 3, 2020

with #1059 I'm wondering if it's actually worth implementing specific storage conversion commands, since we can "just" build a new database using the old database as input.

@luizirber
Copy link
Member Author

with #1059 I'm wondering if it's actually worth implementing specific storage conversion commands, since we can "just" build a new database using the old database as input.

That is true for convert, although convert could be smarter in some cases (avoid rebuilding internal nodes, just copy them, and so on).

I don't think #1059 deals with prefetch. The idea is mainly for IPFS support, but it would also fit with the #991 discussion around BDBag, and using the fetch.txt inside it to download the actual data. But, then again, there is prepare, which could also cover the prefetch case.

@ctb
Copy link
Contributor

ctb commented Sep 23, 2023

leaving this open but tagging with "plugin todo"

@ctb ctb added the plugin_todo Write a plugin for this! label Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin_todo Write a plugin for this! sbt
Projects
None yet
Development

No branches or pull requests

2 participants