dnf5
dnf5 copied to clipboard
repoquery --location doesn't work for repositories specified as a local directory without file:// schema
dnf5-5.2.8.1-3.fc41.x86_64
11:47:00 ~/rh/projects/prunerepo/subdir$ dnf-3 repoquery --repofrompath=prunerepo_query,`pwd` --disablerepo='*' --enablerepo prunerepo_query --location
Added prunerepo_query repo from /home/praiskup/rh/projects/prunerepo/subdir
Last metadata expiration check: 0:04:33 ago on ne 9. února 2025, 11:42:45.
file:///home/praiskup/rh/projects/prunerepo/subdir/08628183-mock-core-configs/mock-core-configs-42.1.test-1.git.3876.fcbc293.fc43.noarch.rpm
...
11:47:18 ~/rh/projects/prunerepo/subdir$ dnf repoquery --repofrompath=prunerepo_query,`pwd` --disablerepo='*' --enablerepo prunerepo_query --location
Updating and loading repositories:
Repositories loaded.
Location is supposed to work since #589. This isn't #1889 - root doesn't help. Relates: https://github.com/fedora-copr/copr/issues/3615