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

Upgrade websocket utilities to Jakarta #471

Closed
apupier opened this issue Dec 3, 2020 · 9 comments
Closed

Upgrade websocket utilities to Jakarta #471

apupier opened this issue Dec 3, 2020 · 9 comments
Assignees
Milestone

Comments

@apupier
Copy link
Contributor

apupier commented Dec 3, 2020

it will allow to be compatible with eclipse-ee4j Tyrus 2.0.0 https://github.com/eclipse-ee4j/tyrus

From what I understood, it will require an API break unless it will be possible to provide for both version in parallel.

example of issue eclipse-ee4j/tyrus#724 when trying to use Tyrus 2.0.0 with org.eclipse.lsp4j.websocket.WebSocketEndpoint

@jonahgraham
Copy link
Contributor

Do you have a proposed patch that handles this? Is there any actual API change other than the package renaming? I think it is reasonable and a good idea to update to the jakarta version. However I don't know what impact it may have on others.

I will add a comment on #203 where the websocket was first added to give people a reasonable opportunity to comment.

@apupier
Copy link
Contributor Author

apupier commented Dec 3, 2020

Do you have a proposed patch that handles this? Is there any actual API change other than the package renaming?

unfortunately, no and I don't know. I just discovered it while trying to upgrade my Language Server. I know very little on websocket. I thought that it is important to report it. I do no think that it is something urgent to deal with but it seems important to tackle for the future and have it on the radar.

I will add a comment on #203 where the websocket was first added to give people a reasonable opportunity to comment.

very good idea

@jonahgraham
Copy link
Contributor

Thanks @apupier - not sure who will take this up, if you come back to it I can see how I can support you in fixing it when you need it.

@apupier
Copy link
Contributor Author

apupier commented Dec 30, 2020

I think there is the need to open a CQ (to be done by acommitter of lsp4j) for jakarta.websocket to update the target file: https://github.com/eclipse/lsp4j/blob/5cc2304f3fde9b1e82bf9e76eb6e6be4bf8fb28c/releng/releng-target/lsp4j.target.target#L11-L12

@jonahgraham
Copy link
Contributor

I think there is the need to open a CQ (to be done by acommitter of lsp4j) for jakarta.websocket to update the target file:

Jakarta is under the Eclipse Foundation, so no need for CQs.

Much of Jakarta is not published in a way that can be easily consumed by p2, therefore some. Jakarta bundles have been added to orbit to simplify their reuse.

@apupier
Copy link
Contributor Author

apupier commented Dec 30, 2020

I think there is the need to open a CQ (to be done by acommitter of lsp4j) for jakarta.websocket to update the target file:

Jakarta is under the Eclipse Foundation, so no need for CQs.

good point

Much of Jakarta is not published in a way that can be easily consumed by p2, therefore some. Jakarta bundles have been added to orbit to simplify their reuse.

I see only 3 jakarta bundles on orbit https://download.eclipse.org/tools/orbit/downloads/drops/R20201130205003/ (and not the websocket one)

@jonahgraham
Copy link
Contributor

So far I, and others, have only added ones we needed.

See https://wiki.eclipse.org/Orbit/Adding_Bundles_To_Orbit_In_5_Minutes for instructions and use placeholder CQ 22020 as the other Jakarta ones did.

@apupier
Copy link
Contributor Author

apupier commented Dec 30, 2020

So far I, and others, have only added ones we needed.

See https://wiki.eclipse.org/Orbit/Adding_Bundles_To_Orbit_In_5_Minutes for instructions and use placeholder CQ 22020 as the other Jakarta ones did.

here is the gerrit merge request for Jakarta: https://git.eclipse.org/r/c/orbit/orbit-recipes/+/174146
(not tested yet the generated bundle) EDIT: works with Camel Language Server automated test

apupier added a commit to apupier/lsp4j that referenced this issue Dec 30, 2020
- will require an update of lsp4j.target.target file when orbit bundle
will be available, see
https://git.eclipse.org/r/c/orbit/orbit-recipes/+/174146
- to avoid API break, created a second bundle with the Jakarta
Websocket. it will allow also to support old version too for a moment.
the drawback is that it is making the naming a bit more complicated.

Signed-off-by: Aurélien Pupier <[email protected]>
apupier added a commit to apupier/lsp4j that referenced this issue Dec 30, 2020
- will require an update of lsp4j.target.target file when orbit bundle
will be available, see
https://git.eclipse.org/r/c/orbit/orbit-recipes/+/174146
- to avoid API break, created a second bundle with the Jakarta
Websocket. it will allow also to support old version too for a moment.
the drawback is that it is making the naming a bit more complicated.

Signed-off-by: Aurélien Pupier <[email protected]>
apupier added a commit to apupier/lsp4j that referenced this issue Dec 31, 2020
- will require an update of lsp4j.target.target file when orbit bundle
will be available, see
https://git.eclipse.org/r/c/orbit/orbit-recipes/+/174146
- to avoid API break, created a second bundle with the Jakarta
Websocket. it will allow also to support old version too for a moment.
the drawback is that it is making the naming a bit more complicated.

Signed-off-by: Aurélien Pupier <[email protected]>
apupier added a commit to apupier/lsp4j that referenced this issue Dec 31, 2020
- will require an update of lsp4j.target.target file when orbit bundle
will be available, see
https://git.eclipse.org/r/c/orbit/orbit-recipes/+/174146
- to avoid API break, created a second bundle with the Jakarta
Websocket. it will allow also to support old version too for a moment.
the drawback is that it is making the naming a bit more complicated.

Signed-off-by: Aurélien Pupier <[email protected]>
apupier added a commit to apupier/lsp4j that referenced this issue Jan 5, 2021
- will require an update of lsp4j.target.target file when orbit bundle
will be available, see
https://git.eclipse.org/r/c/orbit/orbit-recipes/+/174146
- to avoid API break, created a second bundle with the Jakarta
Websocket. it will allow also to support old version too for a moment.
the drawback is that it is making the naming a bit more complicated.

Signed-off-by: Aurélien Pupier <[email protected]>
apupier added a commit to apupier/lsp4j that referenced this issue Jan 5, 2021
apupier added a commit to apupier/lsp4j that referenced this issue Jan 5, 2021
apupier added a commit to apupier/lsp4j that referenced this issue Jan 5, 2021
apupier added a commit to apupier/lsp4j that referenced this issue Jan 5, 2021
apupier added a commit to apupier/lsp4j that referenced this issue Jan 11, 2021
- will require an update of lsp4j.target.target file when orbit bundle
will be available, see
https://git.eclipse.org/r/c/orbit/orbit-recipes/+/174146
- to avoid API break, created a second bundle with the Jakarta
Websocket. it will allow also to support old version too for a moment.
the drawback is that it is making the naming a bit more complicated.

Signed-off-by: Aurélien Pupier <[email protected]>
apupier added a commit to apupier/lsp4j that referenced this issue Jan 11, 2021
apupier added a commit to apupier/lsp4j that referenced this issue Jan 11, 2021
apupier added a commit to apupier/lsp4j that referenced this issue Jan 12, 2021
- will require an update of lsp4j.target.target file when orbit bundle
will be available, see
https://git.eclipse.org/r/c/orbit/orbit-recipes/+/174146
- to avoid API break, created a second bundle with the Jakarta
Websocket. it will allow also to support old version too for a moment.
the drawback is that it is making the naming a bit more complicated.

Signed-off-by: Aurélien Pupier <[email protected]>
apupier added a commit to apupier/lsp4j that referenced this issue Jan 12, 2021
apupier added a commit to apupier/lsp4j that referenced this issue Jan 19, 2021
- will require an update of lsp4j.target.target file when orbit bundle
will be available, see
https://git.eclipse.org/r/c/orbit/orbit-recipes/+/174146
- to avoid API break, created a second bundle with the Jakarta
Websocket. it will allow also to support old version too for a moment.
the drawback is that it is making the naming a bit more complicated.

Signed-off-by: Aurélien Pupier <[email protected]>
apupier added a commit to apupier/lsp4j that referenced this issue Jan 19, 2021
apupier added a commit to apupier/lsp4j that referenced this issue Jan 19, 2021
apupier added a commit to apupier/lsp4j that referenced this issue Jan 20, 2021
jonahgraham pushed a commit that referenced this issue Jan 20, 2021
@jonahgraham
Copy link
Contributor

@apupier Thanks for completing this.

If there are any further issues with the migration they should be raised in new issues now.

@jonahgraham jonahgraham added this to the v0.11.0 milestone Jan 20, 2021
vladdu pushed a commit to vladdu/lsp4j that referenced this issue Jan 26, 2021
jonahgraham added a commit that referenced this issue Apr 2, 2021
Partially reverts "Migrate and Rename Websocket bundle to Jakarta #471 (#487)"

This partially reverts commit f44ee42.
jonahgraham added a commit that referenced this issue Apr 2, 2021
Partially reverts "Migrate and Rename Websocket bundle to Jakarta #471 (#487)"

This partially reverts commit f44ee42.
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

No branches or pull requests

2 participants