On Mon, 25 Nov 2024 at 21:46, Stephen Morris <steve.morris...@gmail.com>
wrote:

> On 25/11/24 09:58, Will McDonald wrote:
>
> On Sun, 24 Nov 2024 at 22:21, Stephen Morris <steve.morris...@gmail.com>
> wrote:
>
>>     1).    Why is it producing the messages "Updating and loading
>> repositories:" and "Repositories loaded." with nothing between them
>> which means that it didn't do anything? This functionality is independent
>> of whether the command is issued under sudo or not.
>>
>
> I would suspect that "Updating and loading repositories:" is checking the
> upstream repo metadata (if you've ever managed your own repos, this is the
> data created/updated by createrepo based on the RPM contents in the repo
> directory.)
>
> Yes, but I would expect those messages to only be produced in the
> situation you have shown, where it actually did find something to do. If
> there is nothing to do I would expect those two messages to not be
> displayed and a message to the effect that the local environment was up to
> date.
>

So if I understand you then, your primary concern here is the semantic
accuracy of the messages?

> Updating and loading repositories
> Repositories loaded.

And you would rather something like:

Scenario: DNF Cache Outdated
> Checking repositories cache status
> Cache out-of-date, updating from upstream repositories
> Repository cache updated

Scenario: DNF Cache Current
> Checking repositories cache status
> Cache current, nothing to see here.

(Or whatever.)

You might want to take this to the upstream project, maybe submitting a bug
report, documentation improvement, or PR if you feel particularly invested?

https://github.com/rpm-software-management/dnf5/discussions
https://github.com/rpm-software-management/dnf5/issues
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to