richardphibel / rpms / dnf

Forked from rpms/dnf 2 years ago
Clone

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

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