Yep, this is a topic for potential improvement. Currently, there's a simple file path detection, like "arg[0] == '/' || (arg[0] == '*' && arg[1] == '/')", and filelists are always additionally downloaded in such cases. The situation aligns with dnf5 at the moment, and there's already a tracking issue for this: https://bugzilla.redhat.com/show_bug.cgi?id=2263771.
Jan
On Wed, Feb 14, 2024 at 12:09 PM Vít Ondruch <vondruch@xxxxxxxxxx> wrote:
--/usr/bin/BINARYNAME is part of the primary metadata AFAIK
Vít
Dne 14. 02. 24 v 10:49 Jan Kolarik napsal(a):
Hi Marcin,
> So no more "dnf install /usr/bin/BINARYNAME" in default setup?
In the case where a file path argument is provided to dnf, it will automatically attempt to download the missing filelists metadata. Sorry, I forgot to explicitly mention this use case.
Jan
On Wed, Feb 14, 2024 at 10:42 AM Marcin Juszkiewicz <mjuszkiewicz@xxxxxxxxxx> wrote:
W dniu 9.02.2024 o 14:02, Jan Kolarik pisze:
> Just a heads up that a new DNF version (4.19.0) is on its way to Rawhide
> and is expected to land within the next several hours. This update
> brings a system-wide change
> <https://fedoraproject.org/wiki/Changes/DNFConditionalFilelists> related
> to not downloading filelists metadata by default.
So no more "dnf install /usr/bin/BINARYNAME" in default setup?
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
-- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
-- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue