[Debian-ha-commits] [corosync] 01/01: Added several patches for fixing manual issues

Richard Winters devrik-guest at moszumanska.debian.org
Thu Apr 23 20:52:54 UTC 2015


This is an automated email from the git hooks/post-receive script.

devrik-guest pushed a commit to branch master
in repository corosync.

commit 0f74944a4b132a96e0c77ff45944614037276559
Author: Richard B Winters <rik at mmogp.com>
Date:   Thu Apr 23 16:31:16 2015 -0400

    Added several patches for fixing manual issues
    
     - Several spelling errors
     - A few grammar errors
     - A couple of missing section in manual title errors
    
    Change-Id: I673654670c89b6a30da94c8eda15d5953d24fdd6
    Signed-off-by: Richard B Winters <rik at mmogp.com>
---
 ...orrect-spelling-of-retrieve-from-retreive.patch | 37 +++++++++++++++
 ...ction-in-manual-title-for-cpg_zcb_alloc-3.patch | 23 +++++++++
 ...ection-in-manual-title-for-cpg_zcb_free-3.patch | 23 +++++++++
 ...r-error-in-manual-votequorum_trackstart-3.patch | 27 +++++++++++
 ...spelling-errors-in-manual-corosync.conf-5.patch | 54 ++++++++++++++++++++++
 ...g-and-grammar-errors-in-manual-cmap_keys-.patch | 40 ++++++++++++++++
 ...x-spelling-error-in-manual-sam_overview-8.patch | 25 ++++++++++
 ...spelling-error-in-binary-corosync-cfgtool.patch | 25 ++++++++++
 ...010-Fix-spelling-error-in-binary-corosync.patch | 34 ++++++++++++++
 debian/patches/series                              |  9 ++++
 10 files changed, 297 insertions(+)

diff --git a/debian/patches/0002-Fix-incorrect-spelling-of-retrieve-from-retreive.patch b/debian/patches/0002-Fix-incorrect-spelling-of-retrieve-from-retreive.patch
new file mode 100644
index 0000000..d1054d4
--- /dev/null
+++ b/debian/patches/0002-Fix-incorrect-spelling-of-retrieve-from-retreive.patch
@@ -0,0 +1,37 @@
+From: Richard B Winters <rik at mmogp.com>
+Date: Thu, 23 Apr 2015 15:48:57 -0400
+Subject: Fix incorrect spelling of retrieve from retreive
+
+Corrected the spelling of retrieve, where it was spelled as retreive.
+
+ - There were two cases of this mispelling; one 
+   upper-case and one lower-case
+
+Change-Id: Ic97fd210d8d3ae7e568e5a2e5d97c6220d2ff628
+Signed-off-by: Richard B Winters <rik at mmogp.com>
+---
+ man/cmap_get.3.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/man/cmap_get.3.in b/man/cmap_get.3.in
+index 7e8c797..7747b7a 100644
+--- a/man/cmap_get.3.in
++++ b/man/cmap_get.3.in
+@@ -35,7 +35,7 @@
+ 
+ .SH NAME
+ .P
+-cmap_get \- Retreive value from CMAP
++cmap_get \- Retrieve value from CMAP
+ 
+ .SH SYNOPSIS
+ .P
+@@ -74,7 +74,7 @@ Also shortcuts for different types are defined
+ .P
+ The
+ .B cmap_get
+-function is used to retreive key from cmap previously set by
++function is used to retrieve key from cmap previously set by
+ .B cmap_set(3)
+ function. The
+ .I handle
diff --git a/debian/patches/0003-Add-section-in-manual-title-for-cpg_zcb_alloc-3.patch b/debian/patches/0003-Add-section-in-manual-title-for-cpg_zcb_alloc-3.patch
new file mode 100644
index 0000000..b526708
--- /dev/null
+++ b/debian/patches/0003-Add-section-in-manual-title-for-cpg_zcb_alloc-3.patch
@@ -0,0 +1,23 @@
+From: Richard B Winters <rik at mmogp.com>
+Date: Thu, 23 Apr 2015 16:11:36 -0400
+Subject: Add section in manual title for cpg_zcb_alloc 3
+
+Change-Id: I8c5d6af915203533c80e4eaa574e305a46d74815
+Signed-off-by: Richard B Winters <rik at mmogp.com>
+---
+ man/cpg_zcb_alloc.3.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/man/cpg_zcb_alloc.3.in b/man/cpg_zcb_alloc.3.in
+index 607922b..25637f7 100644
+--- a/man/cpg_zcb_alloc.3.in
++++ b/man/cpg_zcb_alloc.3.in
+@@ -31,7 +31,7 @@
+ .\" * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ .\" * THE POSSIBILITY OF SUCH DAMAGE.
+ .\" */
+-.TH CPG_ZCB_ALLOC 2009-04-15 "corosync Man Page" "Corosync Cluster Engine Programmer's Manual"
++.TH "CPG_ZCB_ALLOC" 3 "2009-04-15" "corosync Man Page" "Corosync Cluster Engine Programmer's Manual"
+ .SH NAME
+ cpg_zcb_alloc \- Allocates a zero copy buffer
+ .B #include <corosync/cpg.h>
diff --git a/debian/patches/0004-Add-section-in-manual-title-for-cpg_zcb_free-3.patch b/debian/patches/0004-Add-section-in-manual-title-for-cpg_zcb_free-3.patch
new file mode 100644
index 0000000..e591aa5
--- /dev/null
+++ b/debian/patches/0004-Add-section-in-manual-title-for-cpg_zcb_free-3.patch
@@ -0,0 +1,23 @@
+From: Richard B Winters <rik at mmogp.com>
+Date: Thu, 23 Apr 2015 16:13:02 -0400
+Subject: Add section in manual title for cpg_zcb_free 3
+
+Change-Id: Ib80face38dce0345e649297d16cf8a63c5b0e8c1
+Signed-off-by: Richard B Winters <rik at mmogp.com>
+---
+ man/cpg_zcb_free.3.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/man/cpg_zcb_free.3.in b/man/cpg_zcb_free.3.in
+index f26e2c0..369c660 100644
+--- a/man/cpg_zcb_free.3.in
++++ b/man/cpg_zcb_free.3.in
+@@ -31,7 +31,7 @@
+ .\" * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ .\" * THE POSSIBILITY OF SUCH DAMAGE.
+ .\" */
+-.TH CPG_ZCB_FREE 2009-04-15 "corosync Man Page" "Corosync Cluster Engine Programmer's Manual"
++.TH "CPG_ZCB_FREE" 3 "2009-04-15" "corosync Man Page" "Corosync Cluster Engine Programmer's Manual"
+ .SH NAME
+ cpg_zcb_free \- Frees a zero copy buffer
+ .B #include <corosync/cpg.h>
diff --git a/debian/patches/0005-Fix-grammer-error-in-manual-votequorum_trackstart-3.patch b/debian/patches/0005-Fix-grammer-error-in-manual-votequorum_trackstart-3.patch
new file mode 100644
index 0000000..6bef880
--- /dev/null
+++ b/debian/patches/0005-Fix-grammer-error-in-manual-votequorum_trackstart-3.patch
@@ -0,0 +1,27 @@
+From: Richard B Winters <rik at mmogp.com>
+Date: Thu, 23 Apr 2015 16:18:27 -0400
+Subject: Fix grammer error in manual votequorum_trackstart 3
+
+"allows to" was updated to read "allows one to"
+
+ - With a subject it's grammatically correct.
+
+Change-Id: I9559e31c780e211b651744c6eaa056ce8d4c3db1
+Signed-off-by: Richard B Winters <rik at mmogp.com>
+---
+ man/votequorum_trackstart.3.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/man/votequorum_trackstart.3.in b/man/votequorum_trackstart.3.in
+index 34f3816..b440713 100644
+--- a/man/votequorum_trackstart.3.in
++++ b/man/votequorum_trackstart.3.in
+@@ -52,7 +52,7 @@ function that will execute the callback.
+ .PP
+ The
+ .I context
+-option allows to set a tracking context.
++option allows one to set a tracking context.
+ .PP
+ The
+ .I flags
diff --git a/debian/patches/0006-Fix-spelling-errors-in-manual-corosync.conf-5.patch b/debian/patches/0006-Fix-spelling-errors-in-manual-corosync.conf-5.patch
new file mode 100644
index 0000000..db2933c
--- /dev/null
+++ b/debian/patches/0006-Fix-spelling-errors-in-manual-corosync.conf-5.patch
@@ -0,0 +1,54 @@
+From: Richard B Winters <rik at mmogp.com>
+Date: Thu, 23 Apr 2015 16:24:51 -0400
+Subject: Fix spelling errors in manual corosync.conf 5
+
+ - dont to don't
+ - overriden to overridden
+ - informations to information
+
+Change-Id: If6644694d750c30ba9f5f43b4eb852485613d64a
+Signed-off-by: Richard B Winters <rik at mmogp.com>
+---
+ man/corosync.conf.5 | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/man/corosync.conf.5 b/man/corosync.conf.5
+index 8fb7a0b..9e34d59 100644
+--- a/man/corosync.conf.5
++++ b/man/corosync.conf.5
+@@ -411,7 +411,7 @@ max_network_delay
+ [HeartBeating mechanism]
+ This constant specifies in milliseconds the approximate delay that your network takes
+ to transport one packet from one machine to another. This value is to be set by system
+-engineers and please dont change if not sure as this effects the failure detection
++engineers and please don't change if not sure as this effects the failure detection
+ mechanism using heartbeat.
+ 
+ The default is 50 milliseconds.
+@@ -526,7 +526,7 @@ The default is off.
+ 
+ .PP
+ The following options are valid both for top level logging directive
+-and they can be overriden in logger_subsys entries.
++and they can be overridden in logger_subsys entries.
+ 
+ .TP
+ to_stderr
+@@ -598,7 +598,7 @@ The default is: info.
+ .TP
+ debug
+ This specifies whether debug output is logged for this particular logger. Also can contain
+-value trace, what is highest level of debug informations.
++value trace, what is highest level of debug information.
+ 
+ The default is off.
+ 
+@@ -633,7 +633,7 @@ See votequorum(5) for configuration options.
+ .PP
+ Within the
+ .B nodelist
+-directive it is possible to specify specific informations about nodes in cluster. Directive
++directive it is possible to specify specific information about nodes in cluster. Directive
+ can contain only
+ .B node
+ sub-directive, which specifies every node that should be a member of the membership, and where
diff --git a/debian/patches/0007-Fix-spelling-and-grammar-errors-in-manual-cmap_keys-.patch b/debian/patches/0007-Fix-spelling-and-grammar-errors-in-manual-cmap_keys-.patch
new file mode 100644
index 0000000..37946a2
--- /dev/null
+++ b/debian/patches/0007-Fix-spelling-and-grammar-errors-in-manual-cmap_keys-.patch
@@ -0,0 +1,40 @@
+From: Richard B Winters <rik at mmogp.com>
+Date: Thu, 23 Apr 2015 16:28:19 -0400
+Subject: Fix spelling and grammar errors in manual cmap_keys 8
+
+ - "There are informations" changed to "There is information"
+ - Other occurrences of informations changed to information
+
+Change-Id: Ic2b6388e26592affb7514f81ffa9a7f1dfae5a99
+Signed-off-by: Richard B Winters <rik at mmogp.com>
+---
+ man/cmap_keys.8 | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/man/cmap_keys.8 b/man/cmap_keys.8
+index 16b7d46..268897a 100644
+--- a/man/cmap_keys.8
++++ b/man/cmap_keys.8
+@@ -85,11 +85,11 @@ to change keys in this prefix.
+ 
+ .TP
+ runtime.connections.*
+-There are informations about total number of active connections in given moment in
++There is information about total number of active connections in given moment in
+ .B active
+ key, number of closed connections during whole runtime of corosync in
+ .B closed
+-key and informations about each active IPC connection. All keys in this prefix are read-only.
++key and information about each active IPC connection. All keys in this prefix are read-only.
+ 
+ .TP
+ runtime.connections.ID.*
+@@ -266,7 +266,7 @@ State of client. Can be one of failed, stopped, running and waiting for quorum.
+ 
+ .TP
+ uidgid.*
+-Informations about users/groups which are allowed to do IPC connection to
++Information about users/groups which are allowed to do IPC connection to
+ corosync.
+ 
+ .TP
diff --git a/debian/patches/0008-Fix-spelling-error-in-manual-sam_overview-8.patch b/debian/patches/0008-Fix-spelling-error-in-manual-sam_overview-8.patch
new file mode 100644
index 0000000..3355267
--- /dev/null
+++ b/debian/patches/0008-Fix-spelling-error-in-manual-sam_overview-8.patch
@@ -0,0 +1,25 @@
+From: Richard B Winters <rik at mmogp.com>
+Date: Thu, 23 Apr 2015 16:36:21 -0400
+Subject: Fix spelling error in manual sam_overview 8
+
+ - Changed usefull to useful
+
+Change-Id: I2d7872b21e889202cd2b7752db4c76f18fffa95d
+Signed-off-by: Richard B Winters <rik at mmogp.com>
+---
+ man/sam_overview.8 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/man/sam_overview.8 b/man/sam_overview.8
+index e00d2e8..490dbe4 100644
+--- a/man/sam_overview.8
++++ b/man/sam_overview.8
+@@ -160,7 +160,7 @@ Implicit way is achieved by setting recovery policy to QUIT and let process exit
+ If this happened, object is not deleted and corosync watchdog will take required action.
+ 
+ .P
+-Explicit way is usefull for situations, when developer can deal with some non-fatal fall of application.
++Explicit way is useful for situations, when developer can deal with some non-fatal fall of application.
+ This mode is achieved by setting policy to RESTART and using SAM same as without Confdb integration.
+ If real fail is needed (like too many restarts at all, per/sec, ...), it's possible to use \fBsam_mark_failed(3)\fR
+ and let corosync watchdog take required action.
diff --git a/debian/patches/0009-Fix-spelling-error-in-binary-corosync-cfgtool.patch b/debian/patches/0009-Fix-spelling-error-in-binary-corosync-cfgtool.patch
new file mode 100644
index 0000000..801ff6d
--- /dev/null
+++ b/debian/patches/0009-Fix-spelling-error-in-binary-corosync-cfgtool.patch
@@ -0,0 +1,25 @@
+From: Richard B Winters <rik at mmogp.com>
+Date: Thu, 23 Apr 2015 16:40:45 -0400
+Subject: Fix spelling error in binary corosync-cfgtool
+
+ - Changed reenable to re-enable in tools/corosync-cfgtool.c
+
+Change-Id: I0457bf3040a454a44f0d8343dd2cd8bf8fad16e0
+Signed-off-by: Richard B Winters <rik at mmogp.com>
+---
+ tools/corosync-cfgtool.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/corosync-cfgtool.c b/tools/corosync-cfgtool.c
+index fc497a3..1496538 100644
+--- a/tools/corosync-cfgtool.c
++++ b/tools/corosync-cfgtool.c
+@@ -131,7 +131,7 @@ static void ringreenable_do (void)
+ 
+ 	result = corosync_cfg_ring_reenable (handle);
+ 	if (result != CS_OK) {
+-		printf ("Could not reenable ring error %d\n", result);
++		printf ("Could not re-enable ring error %d\n", result);
+ 	}
+ 
+ 	(void)corosync_cfg_finalize (handle);
diff --git a/debian/patches/0010-Fix-spelling-error-in-binary-corosync.patch b/debian/patches/0010-Fix-spelling-error-in-binary-corosync.patch
new file mode 100644
index 0000000..7f4d7c2
--- /dev/null
+++ b/debian/patches/0010-Fix-spelling-error-in-binary-corosync.patch
@@ -0,0 +1,34 @@
+From: Richard B Winters <rik at mmogp.com>
+Date: Thu, 23 Apr 2015 16:46:58 -0400
+Subject: Fix spelling error in binary corosync
+
+ - Changed paramater to parameter in exec/logcconfig.c
+
+Change-Id: I8a24b0ef5c6621dc6c19d7decbdfe7a255afd10d
+Signed-off-by: Richard B Winters <rik at mmogp.com>
+---
+ exec/logconfig.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/exec/logconfig.c b/exec/logconfig.c
+index e6f984a..0d1abf1 100644
+--- a/exec/logconfig.c
++++ b/exec/logconfig.c
+@@ -246,7 +246,7 @@ static int corosync_main_config_log_destination_set (
+ 	if (map_get_string(key_name, &value) == CS_OK) {
+ 		if (deprecated) {
+ 			log_printf(LOGSYS_LEVEL_WARNING,
+-			 "Warning: the %s config paramater has been obsoleted."
++			 "Warning: the %s config parameter has been obsoleted."
+ 			 " See corosync.conf man page %s directive.",
+ 			 key, replacement);
+ 		}
+@@ -344,7 +344,7 @@ static int corosync_main_config_set (
+ 		int syslog_priority;
+ 
+ 		log_printf(LOGSYS_LEVEL_WARNING,
+-		 "Warning: the syslog_level config paramater has been obsoleted."
++		 "Warning: the syslog_level config parameter has been obsoleted."
+ 		 " See corosync.conf man page syslog_priority directive.");
+ 
+ 		syslog_priority = logsys_priority_id_get(value);
diff --git a/debian/patches/series b/debian/patches/series
index bd3b370..0b671dd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,10 @@
 0001-Add-missing-ChangeLog-to-source-directory.patch
+0002-Fix-incorrect-spelling-of-retrieve-from-retreive.patch
+0003-Add-section-in-manual-title-for-cpg_zcb_alloc-3.patch
+0004-Add-section-in-manual-title-for-cpg_zcb_free-3.patch
+0005-Fix-grammer-error-in-manual-votequorum_trackstart-3.patch
+0006-Fix-spelling-errors-in-manual-corosync.conf-5.patch
+0007-Fix-spelling-and-grammar-errors-in-manual-cmap_keys-.patch
+0008-Fix-spelling-error-in-manual-sam_overview-8.patch
+0009-Fix-spelling-error-in-binary-corosync-cfgtool.patch
+0010-Fix-spelling-error-in-binary-corosync.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/corosync.git



More information about the Debian-HA-Commits mailing list