Skip to content

Add traces for download hls #508

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

Merged
merged 2 commits into from
Nov 25, 2021
Merged

Add traces for download hls #508

merged 2 commits into from
Nov 25, 2021

Conversation

jneira
Copy link
Member

@jneira jneira commented Nov 25, 2021

Add more traces and suggestions for users

I find a corner case where the behaviour is not ideal: if you have downloaded the old release metadada for 1.5.0 and then you have set haskell.updateBehaviour to never-check, the unique release info in the new release metadata is 1.5.0 and it will fail to use a possibly existing hls-1.4.0-8.10.4 (as the info for such binary is in the release metadata for 1.4.0)

It is fixed setting again haskell.updateBehaviour to up-to-date so i've suggested use that to try to find a binary in "other releases" (newer or older)

//cc @mduerig

Copy link
Contributor

@mduerig mduerig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the behaviour itself is correct as the extension keeps functioning the way it was until the user decides to update (i.e. by setting update behaviour to keep-up-to-date. But being more explicit about this surely a good thing. Maybe worth adding a note to the release notes and the documentation as well.

@jneira
Copy link
Member Author

jneira commented Nov 25, 2021

@mduerig thanks for take a look, will merge

Maybe worth adding a note to the release notes and the documentation as well.

Will add it in the pr which will prepare the extension for the incoming release

@jneira jneira merged commit b37665a into haskell:master Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants