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

Allow non-default databases in cloud bucket to be downloaded on first run #28

Closed
bede opened this issue Nov 14, 2023 · 3 comments
Closed
Labels
enhancement New feature or request
Milestone

Comments

@bede
Copy link
Owner

bede commented Nov 14, 2023

Currently a custom database can be specified using --index. However, this needs to be already available on a local filesystem. If no index is specified and the default (human-t2t-hla) is not cached locally, it is downloaded. It would be useful if applications depending on Hostile could override the default database such that a custom database could be automatically downloaded on first run of not already present.

Another way to do this would be to implement a database / fetch subcommand

@bede bede added the enhancement New feature or request label Nov 14, 2023
@bede
Copy link
Owner Author

bede commented Nov 23, 2023

Use environment variable to override default DB?

@bede
Copy link
Owner Author

bede commented Dec 23, 2023

Leaning towards --index accepting either an index path OR a name of a standard index in the cloud bucket, if not already cached locally. An alternative is to have separate args (e.g. --index and --custom-index for standard indexes referenced by name, or custom indexes referenced by path, respectively)

@bede bede added this to the 1.0.0 milestone Dec 23, 2023
@bede
Copy link
Owner Author

bede commented Jan 22, 2024

Complete, to be released in 1.0.0 shortly

@bede bede closed this as completed Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant