-
Notifications
You must be signed in to change notification settings - Fork 262
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
base: develop
Are you sure you want to change the base?
feature: don't list duplicate java runtimes #1545
Conversation
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. |
a58e1aa
to
7bc729d
Compare
Signed-off-by: Lenny McLennington <lenny@sneed.church>
06de241
to
94cd75e
Compare
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.
LGTM.
Adding the setting is easy but the only question is should it be a default; I'd argue the answer is that the default should not include symlinks. |
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.
self reminder to add an opti on
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.