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

feature: don't list duplicate java runtimes #1545

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

LennyMcLennington
Copy link
Member

@LennyMcLennington LennyMcLennington commented Feb 9, 2023

This prevents the same java runtime with a different symlink path being shown multiple times... On Arch Linux you can get like 4x duplicates of the same java runtime due to symlinks, with this change it only shows one entry per actual runtime in the paths searched, using the canonical path of that runtime.

@LennyMcLennington
Copy link
Member Author

LennyMcLennington commented Feb 9, 2023

Now I think about it, this change in functionality should probably be controlled by a 'Include symbolic links' checkbox or something... Since there is still a legitimate reason that people might want to use a symbolic link instead of using the canonical path of the runtime... Although, I think that generally specifying the canonical path to the runtime is what you would want to do.

Signed-off-by: Lenny McLennington <lenny@sneed.church>
Copy link
Contributor

@xslendix xslendix left a comment

Choose a reason for hiding this comment

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

LGTM.

@LennyMcLennington LennyMcLennington changed the title fix: don't list duplicate java runtimes feature: don't list duplicate java runtimes Feb 14, 2023
@LennyMcLennington LennyMcLennington added this to the 6.0 milestone Feb 14, 2023
@LennyMcLennington LennyMcLennington marked this pull request as draft February 14, 2023 22:37
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.

None yet

2 participants