[Debian-ha-commits] [fence-agents] 05/09: Add patch for spelling errors reported by lintian

Valentin Vidic vvidic-guest at moszumanska.debian.org
Sun Feb 18 14:38:59 UTC 2018


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

vvidic-guest pushed a commit to branch master
in repository fence-agents.

commit 01541c4d5f741f28c631ef1d62b9fa52309ceb96
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Sun Feb 18 12:59:05 2018 +0100

    Add patch for spelling errors reported by lintian
---
 debian/lintian-overrides |  2 --
 debian/patches/series    |  1 +
 debian/patches/spelling  | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+), 2 deletions(-)

diff --git a/debian/lintian-overrides b/debian/lintian-overrides
deleted file mode 100644
index 08492e8..0000000
--- a/debian/lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-# fence_ironic: OpenStack's Ironic (Bare Metal as a service) service
-fence-agents: spelling-error-in-description service service (duplicate word) service
diff --git a/debian/patches/series b/debian/patches/series
index dec0462..5385cd3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 remove-fence_amt_ws
 disable-network-access
+spelling
diff --git a/debian/patches/spelling b/debian/patches/spelling
new file mode 100644
index 0000000..4b57f4f
--- /dev/null
+++ b/debian/patches/spelling
@@ -0,0 +1,46 @@
+Description: Fix spelling errors reported by lintian
+Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
+Last-Update: 2018-02-18
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/fence/agents/xenapi/fence_xenapi.py
++++ b/fence/agents/xenapi/fence_xenapi.py
+@@ -203,7 +203,7 @@
+ 	docs["shortdesc"] = "Fence agent for Citrix XenServer over XenAPI"
+ 	docs["longdesc"] = "\
+ fence_cxs is an I/O Fencing agent used on Citrix XenServer hosts. \
+-It uses the XenAPI, supplied by Citrix, to establish an XML-RPC sesssion \
++It uses the XenAPI, supplied by Citrix, to establish an XML-RPC session \
+ to a XenServer host. Once the session is established, further XML-RPC \
+ commands are issued in order to switch on, switch off, restart and query \
+ the status of virtual machines running on the host."
+--- a/tests/data/metadata/fence_xenapi.xml
++++ b/tests/data/metadata/fence_xenapi.xml
+@@ -1,6 +1,6 @@
+ <?xml version="1.0" ?>
+ <resource-agent name="fence_xenapi" shortdesc="Fence agent for Citrix XenServer over XenAPI" >
+-<longdesc>fence_cxs is an I/O Fencing agent used on Citrix XenServer hosts. It uses the XenAPI, supplied by Citrix, to establish an XML-RPC sesssion to a XenServer host. Once the session is established, further XML-RPC commands are issued in order to switch on, switch off, restart and query the status of virtual machines running on the host.</longdesc>
++<longdesc>fence_cxs is an I/O Fencing agent used on Citrix XenServer hosts. It uses the XenAPI, supplied by Citrix, to establish an XML-RPC session to a XenServer host. Once the session is established, further XML-RPC commands are issued in order to switch on, switch off, restart and query the status of virtual machines running on the host.</longdesc>
+ <vendor-url>http://www.xenproject.org</vendor-url>
+ <parameters>
+ 	<parameter name="action" unique="0" required="1">
+--- a/fence/agents/ironic/fence_ironic.py
++++ b/fence/agents/ironic/fence_ironic.py
+@@ -110,7 +110,7 @@
+     options = check_input(device_opt, process_input(device_opt))
+ 
+     docs = {}
+-    docs["shortdesc"] = "Fence agent for OpenStack's Ironic (Bare Metal as a service) service"
++    docs["shortdesc"] = "Fence agent for OpenStack's Ironic (Bare Metal as a service)"
+     docs["longdesc"] = "fence_ironic is a Fencing agent \
+ which can be used with machines controlled by the Ironic service. \
+ This agent calls the openstack CLI. \
+--- a/tests/data/metadata/fence_ironic.xml
++++ b/tests/data/metadata/fence_ironic.xml
+@@ -1,5 +1,5 @@
+ <?xml version="1.0" ?>
+-<resource-agent name="fence_ironic" shortdesc="Fence agent for OpenStack's Ironic (Bare Metal as a service) service" >
++<resource-agent name="fence_ironic" shortdesc="Fence agent for OpenStack's Ironic (Bare Metal as a service)" >
+ <longdesc>fence_ironic is a Fencing agent which can be used with machines controlled by the Ironic service. This agent calls the openstack CLI. WARNING! This fence agent is not intended for production use. Relying on a functional ironic service for fencing is not a good design choice.</longdesc>
+ <vendor-url>https://wiki.openstack.org/wiki/Ironic</vendor-url>
+ <parameters>

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



More information about the Debian-HA-Commits mailing list