dcavalca / rpms / dnf

Forked from rpms/dnf 2 years ago
Clone

Blame SOURCES/0006-Add-default-colors-to-documentation.patch

29510e
From 6766d3af1993d48f5548746e68268e674e52bd1d Mon Sep 17 00:00:00 2001
29510e
From: Gary Leydon <gary.leydon@yale.edu>
29510e
Date: Fri, 21 May 2021 14:13:59 -0400
29510e
Subject: [PATCH 1/3] add default colors to documentation
29510e
29510e
---
29510e
 doc/conf_ref.rst | 24 ++++++++++++------------
29510e
 1 file changed, 12 insertions(+), 12 deletions(-)
29510e
29510e
diff --git a/doc/conf_ref.rst b/doc/conf_ref.rst
29510e
index ec5bac2ab..fcaa0319f 100644
29510e
--- a/doc/conf_ref.rst
29510e
+++ b/doc/conf_ref.rst
29510e
@@ -498,72 +498,72 @@ configuration file by your distribution to override the DNF defaults.
29510e
     :ref:`color <color-label>`
29510e
 
29510e
     Color of available packages that are older than installed packages.
29510e
-    The option is used during list operations.
29510e
+    The option is used during list operations. Default is dim,cyan.
29510e
 
29510e
 ``color_list_available_install``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
     Color of packages that are available for installation and none of their versions in installed.
29510e
-    The option is used during list operations.
29510e
+    The option is used during list operations. Default is normal.
29510e
 
29510e
 ``color_list_available_reinstall``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
-    Color of available packages that are identical to installed versions and are available for reinstalls.
29510e
+    Color of available packages that are identical to installed versions and are available for reinstalls. Default is bold,underline,green.
29510e
     The option is used during list operations.
29510e
 
29510e
 ``color_list_available_upgrade``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
-    Color of available packages that are newer than installed packages.
29510e
+    Color of available packages that are newer than installed packages. Default is bold,blue.
29510e
     The option is used during list operations.
29510e
 
29510e
 ``color_list_installed_extra``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
     Color of installed packages that do not have any version among available packages.
29510e
-    The option is used during list operations.
29510e
+    The option is used during list operations. Default is bold,red.
29510e
 
29510e
 ``color_list_installed_newer``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
     Color of installed packages that are newer than any version among available packages.
29510e
-    The option is used during list operations.
29510e
+    The option is used during list operations. Default is bold,yellow.
29510e
 
29510e
 ``color_list_installed_older``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
     Color of installed packages that are older than any version among available packages.
29510e
-    The option is used during list operations.
29510e
+    The option is used during list operations. Default is bold.
29510e
 
29510e
 ``color_list_installed_reinstall``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
     Color of installed packages that are among available packages and can be reinstalled.
29510e
-    The option is used during list operations.
29510e
+    The option is used during list operations. Default is normal.
29510e
 
29510e
 ``color_search_match``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
-    Color of patterns matched in search output.
29510e
+    Color of patterns matched in search output. Default is bold.
29510e
 
29510e
 ``color_update_installed``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
-    Color of removed packages.
29510e
+    Color of removed packages. Default is normal.
29510e
     This option is used during displaying transactions.
29510e
 
29510e
 ``color_update_local``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
     Color of local packages that are installed from the @commandline repository.
29510e
-    This option is used during displaying transactions.
29510e
+    This option is used during displaying transactions. Default is bold.
29510e
 
29510e
 ``color_update_remote``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
     Color of packages that are installed/upgraded/downgraded from remote repositories.
29510e
-    This option is used during displaying transactions.
29510e
+    This option is used during displaying transactions. Default is normal.
29510e
 
29510e
 
29510e
 ==============
29510e
-- 
29510e
2.31.1
29510e
29510e
29510e
From 276e3b1d19bfad2a72f75ecbcce478e4f1e575db Mon Sep 17 00:00:00 2001
29510e
From: Gary Leydon <gary.leydon@yale.edu>
29510e
Date: Fri, 21 May 2021 14:16:21 -0400
29510e
Subject: [PATCH 2/3] add author
29510e
29510e
---
29510e
 AUTHORS | 1 +
29510e
 1 file changed, 1 insertion(+)
29510e
29510e
diff --git a/AUTHORS b/AUTHORS
29510e
index 1981dc4e7..f8c9eb832 100644
29510e
--- a/AUTHORS
29510e
+++ b/AUTHORS
29510e
@@ -95,3 +95,4 @@ DNF CONTRIBUTORS
29510e
     Vladan Kudlac <vladankudlac@gmail.com>
29510e
     Will Woods <wwoods@redhat.com>
29510e
     Furkan Karcıoğlu <krc440002@gmail.com>
29510e
+    Gary Leydon <gary.leydon@yale.edu>
29510e
-- 
29510e
2.31.1
29510e
29510e
29510e
From 5cfe87de2ecd645c2aa8b210bd98171e8dd72fe5 Mon Sep 17 00:00:00 2001
29510e
From: Gary Leydon <gary.leydon@yale.edu>
29510e
Date: Thu, 27 May 2021 11:52:42 -0400
29510e
Subject: [PATCH 3/3] update colors according to
29510e
 libdnf/libdnf/conf/ConfigMain.cpp
29510e
29510e
---
29510e
 doc/conf_ref.rst | 16 ++++++++--------
29510e
 1 file changed, 8 insertions(+), 8 deletions(-)
29510e
29510e
diff --git a/doc/conf_ref.rst b/doc/conf_ref.rst
29510e
index fcaa0319f..016bd00c2 100644
29510e
--- a/doc/conf_ref.rst
29510e
+++ b/doc/conf_ref.rst
29510e
@@ -498,13 +498,13 @@ configuration file by your distribution to override the DNF defaults.
29510e
     :ref:`color <color-label>`
29510e
 
29510e
     Color of available packages that are older than installed packages.
29510e
-    The option is used during list operations. Default is dim,cyan.
29510e
+    The option is used during list operations. Default is magenta.
29510e
 
29510e
 ``color_list_available_install``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
     Color of packages that are available for installation and none of their versions in installed.
29510e
-    The option is used during list operations. Default is normal.
29510e
+    The option is used during list operations. Default is bold,cyan.
29510e
 
29510e
 ``color_list_available_reinstall``
29510e
     :ref:`color <color-label>`
29510e
@@ -534,36 +534,36 @@ configuration file by your distribution to override the DNF defaults.
29510e
     :ref:`color <color-label>`
29510e
 
29510e
     Color of installed packages that are older than any version among available packages.
29510e
-    The option is used during list operations. Default is bold.
29510e
+    The option is used during list operations. Default is yellow.
29510e
 
29510e
 ``color_list_installed_reinstall``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
     Color of installed packages that are among available packages and can be reinstalled.
29510e
-    The option is used during list operations. Default is normal.
29510e
+    The option is used during list operations. Default is cyan.
29510e
 
29510e
 ``color_search_match``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
-    Color of patterns matched in search output. Default is bold.
29510e
+    Color of patterns matched in search output. Default is bold,magenta.
29510e
 
29510e
 ``color_update_installed``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
-    Color of removed packages. Default is normal.
29510e
+    Color of removed packages. Default is red. 
29510e
     This option is used during displaying transactions.
29510e
 
29510e
 ``color_update_local``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
     Color of local packages that are installed from the @commandline repository.
29510e
-    This option is used during displaying transactions. Default is bold.
29510e
+    This option is used during displaying transactions. Default is green.
29510e
 
29510e
 ``color_update_remote``
29510e
     :ref:`color <color-label>`
29510e
 
29510e
     Color of packages that are installed/upgraded/downgraded from remote repositories.
29510e
-    This option is used during displaying transactions. Default is normal.
29510e
+    This option is used during displaying transactions. Default is bold,green.
29510e
 
29510e
 
29510e
 ==============
29510e
-- 
29510e
2.31.1
29510e