action #53762
Updated by okurz over 4 years ago
## Observation See ![Screenshot_20190703_110831.png](Screenshot_20190703_110831.png) showing the search results for a needle "user_settings_root-inst-rootpassword-20190306.json" that appears twice even though it is the same needle. It is reported as correctly used within the directory "opensuse" but "never/never" for "kubic-Tumbleweed". The bigger problem is when I limit using the provided filters which can cause one of the entries to not show at all. This can mislead the user into thinking a needle can be deleted when it is actually actively used by the other "directory" aka. "distri". This mislead me into deleting quite some needles which caused a lot of tests to fail on o3 and I had to recover all these needles :D ## Acceptance criteria * **AC1:** Needles that are recently referenced as in use by any symlinked repo are not reported as "never used" within /admin/needles ## Suggestions * Dereference symlinks when loading needles for evaluating if they are still used * Ensure the same needle files are either only referenced once or shown with the use information regardless of the used "distri"