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

Use 'next' version of yaml-ls #378

Merged
merged 4 commits into from
Oct 12, 2020
Merged

Conversation

evidolob
Copy link
Collaborator

@evidolob evidolob commented Oct 8, 2020

What does this PR do?

This PR changes version of yaml-language-server to next which allow use the latest changes in yaml-language-server

Signed-off-by: Yevhen Vydolob <[email protected]>
@evidolob evidolob self-assigned this Oct 8, 2020
@joshuawilson
Copy link
Member

I thought using next was only for testing? This will have the release point to next. Is that what you want?

@evidolob
Copy link
Collaborator Author

evidolob commented Oct 8, 2020

No, in master branch we will use next, each released version will use fixed version of yaml-language-server, like 0.6.0

@joshuawilson
Copy link
Member

OK, that makes sense. Any idea if there is a check we can add to the release process to ensure we are NOT pointing at next for the release. I could see that being something easily forgotten.

@evidolob
Copy link
Collaborator Author

evidolob commented Oct 8, 2020

I think, we can add check in to release job, let me think about that

@evidolob
Copy link
Collaborator Author

evidolob commented Oct 9, 2020

@joshuawilson I add check on release CI job, that we do not have next version on any dependency

Signed-off-by: Yevhen Vydolob <[email protected]>
for (const dep in dependencies) {
if (Object.prototype.hasOwnProperty.call(dependencies, dep)) {
const version = dependencies[dep];
if (version === 'next') {
Copy link
Member

Choose a reason for hiding this comment

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

This appears to be a general filter across all dependencies. I do not think we would want next as a version on anything but if we do, then this would prevent the release.
Do we want it broad or specific?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I do not think that release with next version is good idea, for any dependency. Because it is a tag, not a some specific version, and real version behind that tag may change, and you may ged unpredictable behaviour in future.

Copy link
Member

Choose a reason for hiding this comment

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

I agree. I just want us to be intentional in what we do.

@evidolob evidolob merged commit a510c06 into redhat-developer:master Oct 12, 2020
@evidolob evidolob deleted the use-next-ls branch October 12, 2020 06:12
bleach31 pushed a commit to bleach31/vscode-yaml that referenced this pull request Jan 25, 2022
…ce-folders-temp-fix

Check if dynamic registration is enabled before executing onDidChangeWorkspaceFolders
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.

3 participants