Thankyou. Until you provided that man command I didn't know that
documentation existed to get an idea of what is future planned, hence
the question of how would we know it existed, which as a side issue,
applies to all documentation in Fedora. How does newby users like me
know what documentation does exist?
Fedora: https://docs.fedoraproject.org/

The other question I had on the dnf color scheme was, in F42 packages to
be installed/upgraded were display in "Bold, green" as they are in dnf5,
I don't remember dnf showing the names of packages being replaced like
dnf5 does which it displays in white, and in the same list with the
version of packages that are being installed/upgraded to those version
numbers display as a mixture of cyan and white and I've never been able
to understand why. Also when kernels are being upgraded, in F42 dnf used
to display the names of the kernels being removed in Red but in F43 they
are displayed in the same green as the rest of the packages even though
the option that I thought controlled that specifies "Dim, red" as the
default color. Having said this though there has been a situation where
I was deliberately uninstalling a package that also uninstalled
dependent a packages and those dependent packages being removed were
displayed in Red, so I'm at a loss to try to understand, for the man
doco, what options and colors are relevant to what I'm seeing being
displayed by dnf when I use it.

For transactions
https://github.com/rpm-software-management/dnf5/blob/2639ebd65b994b4a14d6721bdc4d1eb10e7e84a9/libdnf5-cli/output/transaction_table.cpp#L47

and search
https://github.com/rpm-software-management/dnf5/blob/2639ebd65b994b4a14d6721bdc4d1eb10e7e84a9/libdnf5-cli/output/search.cpp#L78

appear to be hard-coded and don't match the documentation.

-Joe
I've looked at the code and yes it does look like the colors are hard coded initially and are different to the documentation and unless I'm specifying the settings incorrectly in /etc/dnf/dnf.conf (the documentation doesn't explain the syntax, and what I have found on the net for the syntax differs from what I thought should be specified), the color settings in dnf.conf are also ignored. Is this a defect that should be raised?

regards,
BEGIN:VCARD
VERSION:4.0
N:Morris;Stephen;;;
FN:Stephen Morris
EMAIL;PREF=1;TYPE=home:[email protected]
END:VCARD
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to