Skip to content

Commit

Permalink
GH-38954: [Dev] Fix spelling (#38955)
Browse files Browse the repository at this point in the history
### Rationale for this change

### What changes are included in this PR?

Spelling fixes to dev/

### Are these changes tested?

### Are there any user-facing changes?

* Closes: #38954

Authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
jsoref committed Dec 5, 2023
1 parent b326917 commit 67b8df4
Show file tree
Hide file tree
Showing 37 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion dev/archery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Archery is documented on the Arrow website:

# Installing Archery

See the pages linked aboved for more details. As a general overview, Archery
See the pages linked above for more details. As a general overview, Archery
comes in a number of subpackages, each needing to be installed if you want
to use the functionality of it:

Expand Down
2 changes: 1 addition & 1 deletion dev/archery/archery/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def _clone_arrow_and_crossbow(dest, crossbow_repo, pull_request):
dest : Path
Filesystem path to clone the repositories to.
crossbow_repo : str
Github repository name, like kszucs/crossbow.
GitHub repository name, like kszucs/crossbow.
pull_request : pygithub.PullRequest
Object containing information about the pull request the comment bot
was triggered from.
Expand Down
4 changes: 2 additions & 2 deletions dev/archery/archery/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def _apply_options(cmd, options):
@click.option("--with-hdfs", default=None, type=BOOL,
help="Build the Arrow HDFS bridge.")
@click.option("--with-hiveserver2", default=None, type=BOOL,
help="Build the HiveServer2 client and arrow adapater.")
help="Build the HiveServer2 client and arrow adapter.")
@click.option("--with-ipc", default=None, type=BOOL,
help="Build the Arrow IPC extensions.")
@click.option("--with-json", default=None, type=BOOL,
Expand All @@ -177,7 +177,7 @@ def _apply_options(cmd, options):
@click.option("--with-parquet", default=None, type=BOOL,
help="Build with Parquet file support.")
@click.option("--with-python", default=None, type=BOOL,
help="Build the Arrow CPython extesions.")
help="Build the Arrow CPython extensions.")
@click.option("--with-r", default=None, type=BOOL,
help="Build the Arrow R extensions. This is not a CMake option, "
"it will toggle required options")
Expand Down
2 changes: 1 addition & 1 deletion dev/archery/archery/crossbow/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def submit(obj, tasks, groups, params, job_prefix, config_path, arrow_version,
'locally. Examples: https://github.com/apache/arrow or '
'https://github.com/raulcd/arrow.')
@click.option('--rc', default=None,
help='Relase Candidate number.')
help='Release Candidate number.')
@click.option('--version', default=None,
help='Release version.')
@click.option('--verify-binaries', is_flag=True, default=False,
Expand Down
12 changes: 6 additions & 6 deletions dev/archery/archery/crossbow/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def github_upload_asset_requests(self, release, path, name, mime,
logger.error('Attempt {} has failed with message: {}.'
.format(i + 1, str(e)))
logger.error('Error message {}'.format(e.msg))
logger.error('List of errors provided by Github:')
logger.error('List of errors provided by GitHub:')
for err in e.errors:
logger.error(' - {}'.format(err))

Expand All @@ -526,7 +526,7 @@ def github_upload_asset_requests(self, release, path, name, mime,

time.sleep(retry_backoff)

raise RuntimeError('Github asset uploading has failed!')
raise RuntimeError('GitHub asset uploading has failed!')

def github_upload_asset_curl(self, release, path, name, mime):
upload_url, _ = release.upload_url.split('{?')
Expand Down Expand Up @@ -1029,8 +1029,8 @@ class TaskAssets(dict):

def __init__(self, github_release, artifact_patterns,
validate_patterns=True):
# HACK(kszucs): don't expect uploaded assets of no atifacts were
# defiened for the tasks in order to spare a bit of github rate limit
# HACK(kszucs): don't expect uploaded assets of no artifacts were
# defined for the tasks in order to spare a bit of github rate limit
if not artifact_patterns:
return

Expand Down Expand Up @@ -1142,7 +1142,7 @@ def show(self, stream=None):
@classmethod
def from_config(cls, config, target, tasks=None, groups=None, params=None):
"""
Intantiate a job from based on a config.
Instantiate a job from based on a config.
Parameters
----------
Expand Down Expand Up @@ -1302,7 +1302,7 @@ def select(self, tasks=None, groups=None):
}

def validate(self):
# validate that the task groups are properly refering to the tasks
# validate that the task groups are properly referring to the tasks
for group_name, group in self['groups'].items():
for pattern in group:
# remove the negation character for blocklisted tasks
Expand Down
2 changes: 1 addition & 1 deletion dev/archery/archery/crossbow/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ class CommentReport(Report):

badges = {
'github': _markdown_badge.format(
title='Github Actions',
title='GitHub Actions',
badge=(
'https://github.com/{repo}/actions/workflows/crossbow.yml/'
'badge.svg?branch={branch}'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
!Job
target: !Target
head: f766a1d615dd1b7ee706d05102e579195951a61c
email: unkown
email: unknown
branch: refs/pull/4435/merge
remote: https://github.com/apache/arrow
version: 0.13.0.dev306
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
!Job
target: !Target
head: f766a1d615dd1b7ee706d05102e579195951a61c
email: unkown
email: unknown
branch: refs/pull/4435/merge
remote: https://github.com/apache/arrow
version: 0.13.0.dev306
Expand Down
4 changes: 2 additions & 2 deletions dev/archery/archery/release/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
help='OAuth token for GitHub authentication')
@click.pass_obj
def release(obj, src, github_token):
"""Release releated commands."""
"""Release related commands."""

obj['issue_tracker'] = IssueTracker(github_token=github_token)
obj['repo'] = src.path
Expand Down Expand Up @@ -98,7 +98,7 @@ def release_changelog_generate(obj, version, output):
@release_changelog.command('regenerate')
@click.pass_obj
def release_changelog_regenerate(obj):
"""Regeneretate the whole CHANGELOG.md file"""
"""Regenerate the whole CHANGELOG.md file"""
issue_tracker, repo = obj['issue_tracker'], obj['repo']
changelogs = []
issue_tracker = IssueTracker(issue_tracker=issue_tracker)
Expand Down
2 changes: 1 addition & 1 deletion dev/archery/archery/release/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def curate(self, minimal=False):
parquet.append((self.jira_instance.issue(c.issue), c))
else:
warnings.warn(
f'Issue {c.issue} is not MINOR nor pertains to GH' +
f'Issue {c.issue} does not pertain to GH' +
', ARROW or PARQUET')
outside.append((c.issue, c))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"repository_url": "https://api.github.com/repos/ursa-labs/ursabot",
"state": "open",
"title": "Unittests for GithubHook",
"title": "Unittests for GitHubHook",
"updated_at": "2019-04-05T11:55:43Z",
"url": "https://api.github.com/repos/ursa-labs/ursabot/issues/26",
"user": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"repository_url": "https://api.github.com/repos/ursa-labs/ursabot",
"state": "open",
"title": "Unittests for GithubHook",
"title": "Unittests for GitHubHook",
"updated_at": "2019-04-05T11:35:47Z",
"url": "https://api.github.com/repos/ursa-labs/ursabot/issues/26",
"user": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"repository_url": "https://api.github.com/repos/ursa-labs/ursabot",
"state": "open",
"title": "Unittests for GithubHook",
"title": "Unittests for GitHubHook",
"updated_at": "2019-04-05T11:35:47Z",
"url": "https://api.github.com/repos/ursa-labs/ursabot/issues/26",
"user": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"repository_url": "https://api.github.com/repos/ursa-labs/ursabot",
"state": "open",
"title": "Unittests for GithubHook",
"title": "Unittests for GitHubHook",
"updated_at": "2019-04-05T11:26:56Z",
"url": "https://api.github.com/repos/ursa-labs/ursabot/issues/26",
"user": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
},
"repository_url": "https://api.github.com/repos/ursa-labs/ursabot",
"state": "open",
"title": "Unittests for GithubHook",
"title": "Unittests for GitHubHook",
"updated_at": "2019-04-05T11:35:46Z",
"url": "https://api.github.com/repos/ursa-labs/ursabot/issues/26",
"user": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"number": 26,
"state": "open",
"locked": false,
"title": "Unittests for GithubHook",
"title": "Unittests for GitHubHook",
"user": {
"login": "kszucs",
"id": 961747,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"number": 26,
"state": "open",
"locked": false,
"title": "Unittests for GithubHook",
"title": "Unittests for GitHubHook",
"user": {
"login": "kszucs",
"id": 961747,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"number": 26,
"state": "open",
"locked": false,
"title": "Unittests for GithubHook",
"title": "Unittests for GitHubHook",
"user": {
"login": "kszucs",
"id": 961747,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"number": 26,
"state": "open",
"locked": false,
"title": "Unittests for GithubHook",
"title": "Unittests for GitHubHook",
"user": {
"login": "kszucs",
"id": 961747,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"number": 26,
"state": "open",
"locked": false,
"title": "Unittests for GithubHook",
"title": "Unittests for GitHubHook",
"user": {
"login": "kszucs",
"id": 961747,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"number": 26,
"state": "open",
"locked": false,
"title": "Unittests for GithubHook",
"title": "Unittests for GitHubHook",
"user": {
"login": "kszucs",
"id": 961747,
Expand Down
4 changes: 2 additions & 2 deletions dev/archery/archery/tests/fixtures/issue-26.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"id": 429706959,
"node_id": "MDExOlB1bGxSZXF1ZXN0MjY3Nzg1NTUy",
"number": 26,
"title": "Unittests for GithubHook + native asyncio syntax",
"title": "Unittests for GitHubHook + native asyncio syntax",
"user": {
"login": "kszucs",
"id": 961747,
Expand Down Expand Up @@ -46,7 +46,7 @@
"diff_url": "https://github.com/ursa-labs/ursabot/pull/26.diff",
"patch_url": "https://github.com/ursa-labs/ursabot/pull/26.patch"
},
"body": "Resolves:\r\n- #26 Unittests for GithubHook + native asyncio syntax\r\n- #27 Use native async/await keywords instead of @inlineCallbacks and yield\r\n",
"body": "Resolves:\r\n- #26 Unittests for GitHubHook + native asyncio syntax\r\n- #27 Use native async/await keywords instead of @inlineCallbacks and yield\r\n",
"closed_by": {
"login": "kszucs",
"id": 961747,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"number": 26,
"state": "open",
"locked": false,
"title": "Unittests for GithubHook",
"title": "Unittests for GitHubHook",
"user": {
"login": "kszucs",
"id": 961747,
Expand Down

0 comments on commit 67b8df4

Please sign in to comment.