summaryrefslogtreecommitdiff
path: root/changelog.txt
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2021-08-03 14:09:24 -0600
committerEd Santiago <santiago@redhat.com>2021-08-03 14:54:06 -0600
commitecf1033023aa28bd1df888edc6f8b523962ab461 (patch)
treeb1f647f7541d76d3fef7631a87a1f7a16021d102 /changelog.txt
parentcbad5616961520831b1f169f03da2a9f81203f71 (diff)
downloadpodman-ecf1033023aa28bd1df888edc6f8b523962ab461.tar.gz
podman-ecf1033023aa28bd1df888edc6f8b523962ab461.tar.bz2
podman-ecf1033023aa28bd1df888edc6f8b523962ab461.zip
podman info: try qfile before equery
podman info takes >20s on Gentoo, because equery is s..l..o..w. qfile is much faster and, I suspect, present in most Gentoo installations, so let's try it first. And, because packageVersion() was scarily unmaintainable, refactor it. Define a simple (string) list of packaging tools to query (rpm, dpkg, ...) and iterate until we find one that works. IMPORTANT NOTE: the Debian (and, presumably, Ubuntu) query does not include version number! There is no standard way on Debian to get a package version from a file path, you can only do it via pipes of chained commands, and I have no desire to implement that. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'changelog.txt')
0 files changed, 0 insertions, 0 deletions