You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by tu...@apache.org on 2020/12/13 02:08:20 UTC
[kibble] branch main updated: Fix various typos (#105)
This is an automated email from the ASF dual-hosted git repository.
turbaszek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/kibble.git
The following commit(s) were added to refs/heads/main by this push:
new 076bbe4 Fix various typos (#105)
076bbe4 is described below
commit 076bbe473ac7cc959b2c103e2d5a57b3ad03d872
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Sun Dec 13 02:08:14 2020 +0000
Fix various typos (#105)
`Kible` -> `Kibble`
`milis` -> `milliseconds`
`offlined` -> `offline`
`annalyze` -> `analyze`
`Verrifying` -> `Verifying`
`betwen` -> `between`
`fechthing` -> `fetching`
---
kibble/scanners/scanners/bugzilla.py | 2 +-
kibble/scanners/scanners/buildbot.py | 4 ++--
kibble/scanners/scanners/git-census.py | 2 +-
kibble/scanners/scanners/git-evolution.py | 2 +-
kibble/scanners/scanners/git-sloc.py | 2 +-
kibble/scanners/scanners/git-sync.py | 2 +-
kibble/scanners/scanners/twitter.py | 2 +-
kibble/scanners/utils/tone.py | 2 +-
kibble/scanners/utils/urlmisc.py | 2 +-
9 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/kibble/scanners/scanners/bugzilla.py b/kibble/scanners/scanners/bugzilla.py
index 6b55e4f..dd7ae57 100644
--- a/kibble/scanners/scanners/bugzilla.py
+++ b/kibble/scanners/scanners/bugzilla.py
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-""" This is the BugZilla scanner plugin for Kible """
+""" This is the BugZilla scanner plugin for Kibble """
import hashlib
import json
diff --git a/kibble/scanners/scanners/buildbot.py b/kibble/scanners/scanners/buildbot.py
index 72561ff..190fb5e 100644
--- a/kibble/scanners/scanners/buildbot.py
+++ b/kibble/scanners/scanners/buildbot.py
@@ -100,7 +100,7 @@ def scanJob(KibbleBit, source, job, creds):
"date": time.strftime("%Y/%m/%d %H:%M:%S", time.gmtime(FIN)),
"buildID": buildno,
"completed": completed,
- "duration": DUR * 1000, # Buildbot does seconds, not milis
+ "duration": DUR * 1000, # Buildbot does seconds, not milliseconds
"job": job,
"jobURL": "%s/builders/%s" % (source["sourceURL"], job),
"status": status,
@@ -221,7 +221,7 @@ def scan(KibbleBit, source):
if data["state"] == "building":
building += 1
if data.get("pendingBuilds", 0) > 0:
- # All queued items, even offlined builders
+ # All queued items, even offline builders
actualQueueSize += data.get("pendingBuilds", 0)
# Only queues with an online builder (actually waiting stuff)
if data["state"] == "building":
diff --git a/kibble/scanners/scanners/git-census.py b/kibble/scanners/scanners/git-census.py
index 33a0920..d507426 100644
--- a/kibble/scanners/scanners/git-census.py
+++ b/kibble/scanners/scanners/git-census.py
@@ -32,7 +32,7 @@ def accepts(source):
""" Do we accept this source?? """
if source["type"] == "git":
return True
- # There are cases where we have a github repo, but don't wanna annalyze the code, just issues
+ # There are cases where we have a github repo, but don't wanna analyze the code, just issues
if source["type"] == "github" and source.get("issuesonly", False) == False:
return True
return False
diff --git a/kibble/scanners/scanners/git-evolution.py b/kibble/scanners/scanners/git-evolution.py
index f391e42..130eabd 100644
--- a/kibble/scanners/scanners/git-evolution.py
+++ b/kibble/scanners/scanners/git-evolution.py
@@ -33,7 +33,7 @@ def accepts(source):
""" Do we accept this source? """
if source["type"] == "git":
return True
- # There are cases where we have a github repo, but don't wanna annalyze the code, just issues
+ # There are cases where we have a github repo, but don't wanna analyze the code, just issues
if source["type"] == "github" and source.get("issuesonly", False) == False:
return True
return False
diff --git a/kibble/scanners/scanners/git-sloc.py b/kibble/scanners/scanners/git-sloc.py
index b1ef081..d963357 100644
--- a/kibble/scanners/scanners/git-sloc.py
+++ b/kibble/scanners/scanners/git-sloc.py
@@ -31,7 +31,7 @@ def accepts(source):
""" Do we accept this source? """
if source["type"] == "git":
return True
- # There are cases where we have a github repo, but don't wanna annalyze the code, just issues
+ # There are cases where we have a github repo, but don't wanna analyze the code, just issues
if source["type"] == "github" and source.get("issuesonly", False) == False:
return True
return False
diff --git a/kibble/scanners/scanners/git-sync.py b/kibble/scanners/scanners/git-sync.py
index 7956847..e2e9422 100644
--- a/kibble/scanners/scanners/git-sync.py
+++ b/kibble/scanners/scanners/git-sync.py
@@ -29,7 +29,7 @@ def accepts(source):
""" Do we accept this source? """
if source["type"] == "git":
return True
- # There are cases where we have a github repo, but don't wanna annalyze the code, just issues
+ # There are cases where we have a github repo, but don't wanna analyze the code, just issues
if source["type"] == "github" and source.get("issuesonly", False) == False:
return True
return False
diff --git a/kibble/scanners/scanners/twitter.py b/kibble/scanners/scanners/twitter.py
index 996c048..de1846f 100644
--- a/kibble/scanners/scanners/twitter.py
+++ b/kibble/scanners/scanners/twitter.py
@@ -113,7 +113,7 @@ def scan(KibbleBit, source):
consumer_key=source["creds"].get("consumer_key", None),
consumer_secret=source["creds"].get("consumer_secret", None),
)
- KibbleBit.pprint("Verrifying twitter credentials...")
+ KibbleBit.pprint("Verifying twitter credentials...")
try:
t.VerifyCredentials()
except:
diff --git a/kibble/scanners/utils/tone.py b/kibble/scanners/utils/tone.py
index 3571c89..a41bc01 100644
--- a/kibble/scanners/utils/tone.py
+++ b/kibble/scanners/utils/tone.py
@@ -181,7 +181,7 @@ def picoTone(KibbleBit, bodies):
# Additional (optional) emotion weighting
if "emotions" in doc:
for k, v in doc["emotions"].items():
- mood[k] = v / 100 # Value is betwen 0 and 100.
+ mood[k] = v / 100 # Value is between 0 and 100.
moods[int(doc["id"])] = mood # Replace moods[X] with the actual mood
diff --git a/kibble/scanners/utils/urlmisc.py b/kibble/scanners/utils/urlmisc.py
index cf0ee69..f03c512 100644
--- a/kibble/scanners/utils/urlmisc.py
+++ b/kibble/scanners/utils/urlmisc.py
@@ -44,7 +44,7 @@ def unzip(url, creds=None, cookie=None):
"Cookie": cookie,
}
request = urllib.request.Request(url, headers=headers)
- # Try fechthing via python, fall back to wget (redhat == broken!)
+ # Try fetching via python, fall back to wget (redhat == broken!)
decompressedFile = None
try:
result = urllib.request.urlopen(request)