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 option to disable fetching of the index #121

Open
foresterre opened this issue Oct 6, 2021 · 2 comments
Open

Add option to disable fetching of the index #121

foresterre opened this issue Oct 6, 2021 · 2 comments

Comments

@foresterre
Copy link
Owner

We currently always update the index. We should however make this optional (in which case the user bears the responsibility of having an up-to-date index in place at the right location on disk.

NB: the location on disk is currently not configurable, allowing for the location to be changed depends on foresterre/rust-releases#40

@Animeshz
Copy link

Animeshz commented Oct 6, 2021

Does it mean extending the config::ReleaseSource to be an enum type with an additional location field? I guess that will do it.

@foresterre
Copy link
Owner Author

foresterre commented Oct 9, 2021

Does it mean extending the config::ReleaseSource to be an enum type with an additional location field? I guess that will do it.

That's an option, or we can make it a separate field. Before we can make this change (without unpretty work arounds) I have to add the option to rust-releases which I hope to do next week.

@foresterre foresterre added this to the v0.17.0 milestone Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants