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

depend on sel 0.4.0 #512

Merged
merged 1 commit into from
Aug 22, 2023
Merged

depend on sel 0.4.0 #512

merged 1 commit into from
Aug 22, 2023

Conversation

gares
Copy link
Collaborator

@gares gares commented Jul 3, 2023

It finally works locally.
The main bug I introduced with the porting is that recurring events are no more available, one has to add the event back in the todo list by hand. Since I got it wrong, I was adding the lsp event twice and the code of SEL was not resilient to multiple events on the same file descriptor. I made the library resilient to that programming mistake in master.

The funny thing is that one event was reading even characters, the other odd characters, and both were hence failing to parse the content-length header.

@gares gares marked this pull request as ready for review July 4, 2023 14:42
@gares
Copy link
Collaborator Author

gares commented Jul 4, 2023

The CI related commit is only partial, you get the log of the initialization phase but not the log that follows it.
I could not find the APIs to fetch and print the contents of the output window, so sad.

@gares gares linked an issue Jul 4, 2023 that may be closed by this pull request
3 tasks
@maximedenes
Copy link
Collaborator

Could we depend on sel rather than vendoring it?

From the description, it is not clear to me if the bugs you mention are fixed in sel 0.4.0.

@gares
Copy link
Collaborator Author

gares commented Jul 8, 2023

If you fix nix we can stop vendoring it

@gares
Copy link
Collaborator Author

gares commented Jul 31, 2023

To clarify, the bug was not there before the PR and is not introduced by the final version of this PR.

@maximedenes
Copy link
Collaborator

The last two commits look unrelated to me, I'll move them to a separate PR.

@maximedenes
Copy link
Collaborator

maximedenes commented Aug 6, 2023

I opened NixOS/nixpkgs#247479 so that we can really unvendor sel.

@gares
Copy link
Collaborator Author

gares commented Aug 7, 2023

The last two commits look unrelated to me, I'll move them to a separate PR.

thanks!

@maximedenes maximedenes merged commit 34dcd10 into main Aug 22, 2023
9 checks passed
@maximedenes maximedenes deleted the unvendor-sel branch August 22, 2023 09:35
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.

release SEL
2 participants