Skip to content

Commit 2217b98

Browse files
authored
Merge pull request #922 from jsoref/spelling
Spelling
2 parents 8683e1c + 363ed20 commit 2217b98

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ For example, Backup Utilities 2.13.0 can be used to backup and restore all patch
66

77
There is no need to align Backup Utilities patch releases with GitHub Enterprise Server patch releases.
88

9-
When making a `.0` release, you will need to specify the minimum supported version of GitHub Enterprise Server that that release supports.
9+
When making a `.0` release, you will need to specify the minimum supported version of GitHub Enterprise Server that release supports.
1010

1111
Only repo administrator is allowed to run the release script, otherwise it will fail.
1212

STYLEGUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ rsync /data/user/db remote:/data/user/db
165165
---
166166
##### Use lowercase and uppercase variable names
167167

168-
Use lowercase variables for locals and internal veriables, and uppercase for variables inherited or exported via the environment
168+
Use lowercase variables for locals and internal variables, and uppercase for variables inherited or exported via the environment
169169

170170
```bash
171171
#!/usr/bin/env bash

bin/ghe-host-check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ port=$(ssh_port_part "$host")
5353
hostname=$(ssh_host_part "$host")
5454

5555
set +e
56-
# ghe-negotiate-version verifies if the target is a Github Enterprise Server instance
56+
# ghe-negotiate-version verifies if the target is a GitHub Enterprise Server instance
5757
output=$(echo "ghe-negotiate-version backup-utils $BACKUP_UTILS_VERSION" | ghe-ssh -o BatchMode=no $options $host -- /bin/sh 2>&1)
5858
rc=$?
5959
set -e

docs/requirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ be running GitHub Enterprise Server 2.12.x or 2.13.x. You can't restore a snapsh
6767

6868
Using multiple backup hosts or backup configurations is not currently recommended.
6969

70-
Due to how some components of Backup Utiltiies (e.g. MSSQL) take incremental backups, running another instance of Backup Utilities may result in unrestorable snapshots as data may be split across backup hosts. If you still wish to have multiple instances of Backup Utilties for redundancy purposes or to run at different frequencies, ensure that they share the same `GHE_DATA_DIR` backup directory.
70+
Due to how some components of Backup Utilities (e.g. MSSQL) take incremental backups, running another instance of Backup Utilities may result in unrestorable snapshots as data may be split across backup hosts. If you still wish to have multiple instances of Backup Utilities for redundancy purposes or to run at different frequencies, ensure that they share the same `GHE_DATA_DIR` backup directory.
7171

7272
[1]: https://www.gnu.org/software/bash/
7373
[2]: https://git-scm.com/

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ GitHub Actions enabled, the following steps are required:
100100

101101
1. Enable GitHub Actions on the replacement appliance and configure it to use the same GitHub Actions
102102
external storage configuration as the original appliance.
103-
2. Put replacement appliance into maintaince mode.
103+
2. Put replacement appliance into maintenance mode.
104104
3. Use `ghe-restore` to restore the backup.
105105
4. Re-register your self-hosted runners on the replacement appliance.
106106

script/release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def clean_up(version)
330330
`git pull --quiet origin #{GH_BASE_BRANCH} --prune`
331331
`git branch --quiet -D release-#{version} >/dev/null 2>&1`
332332
`git push --quiet origin :release-#{version} >/dev/null 2>&1`
333-
`git branch --quiet -D tmp-packging >/dev/null 2>&1`
333+
`git branch --quiet -D tmp-packaging >/dev/null 2>&1`
334334
end
335335

336336
#### All the action starts ####

share/github-backup-utils/ghe-backup-config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export GHE_SNAPSHOT_DIR
232232
# Set "true" to get verbose logging of all ssh commands on stderr
233233
: ${GHE_VERBOSE_SSH:=false}
234234

235-
# The location of the cluster configuration file file on the remote side.
235+
# The location of the cluster configuration file on the remote side.
236236
# This is always "/data/user/common/cluster.conf" for GitHub Cluster instances.
237237
# Use of this variable allows the location to be overridden in tests.
238238
: ${GHE_REMOTE_CLUSTER_CONF_FILE:="$GHE_REMOTE_DATA_DIR/user/common/cluster.conf"}
@@ -335,7 +335,7 @@ ssh_host_part() {
335335
# rsync commands.
336336
ssh_port_part() {
337337
if [ "${1##*:}" != "$1" ] && [ "${1##*:}" -ne "122" ]; then
338-
echo "Error: SSH port has to be 122 connecting to Github Enterprise Server, current value is ${1##*:} for $1." 1>&2
338+
echo "Error: SSH port has to be 122 connecting to GitHub Enterprise Server, current value is ${1##*:} for $1." 1>&2
339339
exit 1
340340
fi
341341

0 commit comments

Comments
 (0)