-
Notifications
You must be signed in to change notification settings - Fork 7.3k
ZOOKEEPER-3938: Upgrade JLine to 3.25.1 #2318
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
Conversation
f25b0f3 to
19da854
Compare
|
Tested this locally the following way: Created config: "JLine support is enabled" is displayed in the output - OK ✔️ Made sure that completion is working for commands: Also for ZNode path-s: |
JLine API has been changed between 2x and 3.x quite much so JLineZNodeCompleter and ZooKeeperMain had to be changed quite much.
19da854 to
965ca6c
Compare
anmolnar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff! lgtm.
|
|
|
Are there any license file updates with this dependency update? |
Thanks, good point. Updated the related licence files. |
| <jetty.version>9.4.57.v20241219</jetty.version> | ||
| <jackson.version>2.15.2</jackson.version> | ||
| <jline.version>2.14.6</jline.version> | ||
| <jline.version>3.25.1</jline.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not 3.30.6 ? The pr title is "ZOOKEEPER-3938: Upgrade JLine to 3.30.6" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, nice catch. 👍 Actually I had a problem with 30.30.6 that the completer was somehow not invoked. The 3.25.1 version worked fine and this version does not have the https://nvd.nist.gov/vuln/detail/CVE-2023-50572 anymore. But I forgot to update the PR title. :)
EDIT:
Updated the PR title now.
|
Merged to |
Reviewers: anmolnar, ctubbsii, kezhuw Author: PDavid Closes apache#2318 from PDavid/ZOOKEEPER-3938-jline-upgrade (cherry picked from commit 9dbd958)
|
The patch did not apply cleanly on Prepared the PR for |
JLine API has been changed between 2x and 3.x quite much so JLineZNodeCompleter and ZooKeeperMain had to be changed quite much.