[Asterisk-code-review] contrib: Spelling fixes (asterisk[master])
Joshua Colp
asteriskteam at digium.com
Tue Nov 16 06:02:12 CST 2021
Joshua Colp has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/17307 )
Change subject: contrib: Spelling fixes
......................................................................
contrib: Spelling fixes
Correct typos of the following word families:
standard
increase
comments
valgrind
promiscuous
editing
libtonezone
storage
aggressive
whitespace
russellbryant
consecutive
peternixon
ASTERISK-29714
Change-Id: I9cafbf41b579c9c0c84c81719d2c4f900beec245
---
M contrib/ast-db-manage/README.md
M contrib/ast-db-manage/config/versions/1ae0609b6646_increse_reg_server_size.py
M contrib/ast-db-manage/config/versions/4da0c5f79a9c_create_tables.py
M contrib/ast-db-manage/voicemail/versions/a2e9769475e_create_tables.py
M contrib/init.d/rc.debian.asterisk
M contrib/scripts/ast_coredumper
M contrib/scripts/ast_loggrabber
M contrib/scripts/asterisk.ldap-schema
M contrib/scripts/asterisk.ldif
M contrib/scripts/loadtest.tcl
M contrib/scripts/retrieve_extensions_from_sql.pl
M contrib/scripts/safe_asterisk.8
M contrib/scripts/valgrind_compare
M contrib/scripts/voicemailpwcheck.py
M contrib/utils/zones2indications.c
15 files changed, 17 insertions(+), 17 deletions(-)
Approvals:
Joshua Colp: Looks good to me, but someone else must approve; Approved for Submit
George Joseph: Looks good to me, approved
diff --git a/contrib/ast-db-manage/README.md b/contrib/ast-db-manage/README.md
index 42f2376..f2ba41e 100644
--- a/contrib/ast-db-manage/README.md
+++ b/contrib/ast-db-manage/README.md
@@ -12,7 +12,7 @@
* `cdr` - Table used for Asterisk to store CDR records
* `config` - Tables used for Asterisk realtime configuration
* `queue_log` - Table used for Asterisk to store Queue Log records
- * `voicemail` - Tables used for `ODBC_STOARGE` of voicemail messages
+ * `voicemail` - Tables used for `ODBC_STORAGE` of voicemail messages
Alembic uses SQLAlchemy, which has support for
[many databases](http://docs.sqlalchemy.org/en/rel_0_8/dialects/index.html).
diff --git a/contrib/ast-db-manage/config/versions/1ae0609b6646_increse_reg_server_size.py b/contrib/ast-db-manage/config/versions/1ae0609b6646_increse_reg_server_size.py
index afd234b..0646e24 100644
--- a/contrib/ast-db-manage/config/versions/1ae0609b6646_increse_reg_server_size.py
+++ b/contrib/ast-db-manage/config/versions/1ae0609b6646_increse_reg_server_size.py
@@ -1,4 +1,4 @@
-"""increse reg server size
+"""increase reg server size
Revision ID: 1ae0609b6646
Revises: 61797b9fced6
diff --git a/contrib/ast-db-manage/config/versions/4da0c5f79a9c_create_tables.py b/contrib/ast-db-manage/config/versions/4da0c5f79a9c_create_tables.py
index 01c40ac..1c558a0 100644
--- a/contrib/ast-db-manage/config/versions/4da0c5f79a9c_create_tables.py
+++ b/contrib/ast-db-manage/config/versions/4da0c5f79a9c_create_tables.py
@@ -3,7 +3,7 @@
#
# Copyright (C) 2013, Russell Bryant
#
-# Russell Bryant <russell at rusellbryant.net>
+# Russell Bryant <russell at russellbryant.net>
#
# See http://www.asterisk.org for more information about
# the Asterisk project. Please do not directly contact
diff --git a/contrib/ast-db-manage/voicemail/versions/a2e9769475e_create_tables.py b/contrib/ast-db-manage/voicemail/versions/a2e9769475e_create_tables.py
index 3dc4d47..3dc1c81 100644
--- a/contrib/ast-db-manage/voicemail/versions/a2e9769475e_create_tables.py
+++ b/contrib/ast-db-manage/voicemail/versions/a2e9769475e_create_tables.py
@@ -3,7 +3,7 @@
#
# Copyright (C) 2013, Russell Bryant
#
-# Russell Bryant <russell at rusellbryant.net>
+# Russell Bryant <russell at russellbryant.net>
#
# See http://www.asterisk.org for more information about
# the Asterisk project. Please do not directly contact
diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk
index c58ab23..e2188b0 100755
--- a/contrib/init.d/rc.debian.asterisk
+++ b/contrib/init.d/rc.debian.asterisk
@@ -3,7 +3,7 @@
#
# Mon Jun 04 2007 IƱaki Baz Castillo <ibc at in.ilimit.es>
# - Eliminated SAFE_ASTERISK since it doesn't work as LSB script (it could require a independent "safe_asterisk" init script).
-# - Load and use the standar "/lib/lsb/init-functions".
+# - Load and use the standard "/lib/lsb/init-functions".
# - Added "--oknodo" to "start-stop-daemon" for compatibility with LSB:
# http://www.linux-foundation.org/spec/refspecs/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
#
diff --git a/contrib/scripts/ast_coredumper b/contrib/scripts/ast_coredumper
index 2868312..353137f 100755
--- a/contrib/scripts/ast_coredumper
+++ b/contrib/scripts/ast_coredumper
@@ -600,7 +600,7 @@
#@@@HELPEND@@@
-# Be careful editng the inline scripts.
+# Be careful editing the inline scripts.
# They're space-indented.
# We need the python bit because lock_infos isn't
diff --git a/contrib/scripts/ast_loggrabber b/contrib/scripts/ast_loggrabber
index 2036d54..b549ec3 100755
--- a/contrib/scripts/ast_loggrabber
+++ b/contrib/scripts/ast_loggrabber
@@ -209,7 +209,7 @@
exit
-# Be careful editng the inline scripts.
+# Be careful editing the inline scripts.
# They're space-indented.
# We need the python bit because lock_infos isn't
@@ -231,7 +231,7 @@
args=parser.parse_args()
# We only convert timestamps that are at the beginning of a line
-# or are preceeded by a whilespace character or a '['
+# or are preceeded by a whitespace character or a '['
rets = re.compile(r'(^|(?<=\s|\[))\d+(\.\d+)?', flags=re.M)
if args.timezone and len(args.timezone) > 0:
tzf = tz.tzfile('/usr/share/zoneinfo/' + args.timezone)
diff --git a/contrib/scripts/asterisk.ldap-schema b/contrib/scripts/asterisk.ldap-schema
index 85f9103..340f06f 100644
--- a/contrib/scripts/asterisk.ldap-schema
+++ b/contrib/scripts/asterisk.ldap-schema
@@ -600,7 +600,7 @@
attributetype ( AstAccountPromiscRedir
NAME 'AstAccountPromiscRedir'
- DESC 'Asterisk account promiscous redirects'
+ DESC 'Asterisk account promiscuous redirects'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
diff --git a/contrib/scripts/asterisk.ldif b/contrib/scripts/asterisk.ldif
index 5621057..ab9bd92 100644
--- a/contrib/scripts/asterisk.ldif
+++ b/contrib/scripts/asterisk.ldif
@@ -597,7 +597,7 @@
#
olcAttributeTypes: ( AstAccountPromiscRedir
NAME 'AstAccountPromiscRedir'
- DESC 'Asterisk account promiscous redirects'
+ DESC 'Asterisk account promiscuous redirects'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
diff --git a/contrib/scripts/loadtest.tcl b/contrib/scripts/loadtest.tcl
index d216f48..1bdcc28 100644
--- a/contrib/scripts/loadtest.tcl
+++ b/contrib/scripts/loadtest.tcl
@@ -14,7 +14,7 @@
# where Asterisk's pbx/pbx_spool.c will be looking for work
set SPOOLDIR /var/spool/asterisk/outgoing
-# pbx_spool is fairly aggresive, so make files here first
+# pbx_spool is fairly aggressive, so make files here first
set TEMPDIR /tmp
if { ![file writable $SPOOLDIR] } {
diff --git a/contrib/scripts/retrieve_extensions_from_sql.pl b/contrib/scripts/retrieve_extensions_from_sql.pl
index 47210eb..13a284d 100644
--- a/contrib/scripts/retrieve_extensions_from_sql.pl
+++ b/contrib/scripts/retrieve_extensions_from_sql.pl
@@ -4,7 +4,7 @@
# Copy Policy: GNU Public Licence Version 2 or later
# URL: http://www.peternixon.net/code/
# Supported: PostgreSQL, Oracle, MySQL
-# Copyright: 2004 Peter Nixon <codemonkey at petenixon.net>
+# Copyright: 2004 Peter Nixon <codemonkey at peternixon.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/contrib/scripts/safe_asterisk.8 b/contrib/scripts/safe_asterisk.8
index 19e1728..dde9173 100644
--- a/contrib/scripts/safe_asterisk.8
+++ b/contrib/scripts/safe_asterisk.8
@@ -26,7 +26,7 @@
screendump 9
The init script of the Debian package should be able to run safe_asterisk
-as the asterisk service, if so configured. See coments in
+as the asterisk service, if so configured. See comments in
/etc/default/asterisk
.SH FILES
diff --git a/contrib/scripts/valgrind_compare b/contrib/scripts/valgrind_compare
index 9f814d4..a8bffaf 100755
--- a/contrib/scripts/valgrind_compare
+++ b/contrib/scripts/valgrind_compare
@@ -1,6 +1,6 @@
#!/bin/bash
-# compare_valgrind: diff two valgrinf memory usage logs. Masks out PIDs,
+# compare_valgrind: diff two valgrind memory usage logs. Masks out PIDs,
# addresses and such that should normally be different.
#
# Usage: ./compare_valgrind file1.log file2.log | less
diff --git a/contrib/scripts/voicemailpwcheck.py b/contrib/scripts/voicemailpwcheck.py
index 452255c..7636df3 100755
--- a/contrib/scripts/voicemailpwcheck.py
+++ b/contrib/scripts/voicemailpwcheck.py
@@ -22,7 +22,7 @@
# Regular expressions that match against invalid passwords
REGEX_BLACKLIST = [
("(?P<digit>\d)(?P=digit){%d}" % (REQUIRED_LENGTH - 1),
- "%d consective numbers that are the same" % REQUIRED_LENGTH)
+ "%d consecutive numbers that are the same" % REQUIRED_LENGTH)
]
diff --git a/contrib/utils/zones2indications.c b/contrib/utils/zones2indications.c
index d1def53..cfe85eb 100644
--- a/contrib/utils/zones2indications.c
+++ b/contrib/utils/zones2indications.c
@@ -17,7 +17,7 @@
*/
/*! \file
- * \brief print libtonozone data as Asterisk indications.conf
+ * \brief print libtonezone data as Asterisk indications.conf
*/
#include <stdio.h>
@@ -107,7 +107,7 @@
void usage() {
fprintf(stderr,
- PROGRAM ": print libtonozone data as Asterisk indications.conf\n"
+ PROGRAM ": print libtonezone data as Asterisk indications.conf\n"
"\n"
"Usage:\n"
" " PROGRAM " -a Print all countries\n"
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17307
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I9cafbf41b579c9c0c84c81719d2c4f900beec245
Gerrit-Change-Number: 17307
Gerrit-PatchSet: 2
Gerrit-Owner: Josh Soref <jsoref at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211116/1c5634a1/attachment-0001.html>
More information about the asterisk-code-review
mailing list