Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: f218e4364383eda1686ac4655c0235e87d18cfa3
https://github.com/tribe29/checkmk/commit/f218e4364383eda1686ac4655c0235e87…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-12-23 (Wed, 23 Dec 2020)
Changed paths:
A .werks/11900
M cmk/base/packaging.py
M cmk/utils/packaging.py
M tests/unit/cmk/utils/test_packaging.py
Log Message:
-----------
11900 FIX Avoid duplicate display for extension packages
This fixes the case where `mkp find` shows
the same file under multiple categories.
This also fixes the same error in the UI for the
"Extension packages" display.
Some of our directories are symlinked so that a naive search in the
filesystem may find the same files at different paths. This patch
uses the real path (resolving symlinks) to identify duplicates.
We further remove code duplication between cmk.utils.packaging
and cmk.base.packaging.
CMK-6503
Change-Id: I69f0dbb80c54f17787b528c926f22bd77cbafd4c