File tree Expand file tree Collapse file tree 8 files changed +9
-9
lines changed
share/github-backup-utils Expand file tree Collapse file tree 8 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ github-backup-utils (2.5.1) UNRELEASED; urgency=medium
145
145
146
146
github-backup-utils (2.5.0) UNRELEASED; urgency=medium
147
147
148
- * Adds GitHub Enterpise 2.5 support
148
+ * Adds GitHub Enterprise 2.5 support
149
149
* Adds GitHub Enterprise Clustering support
150
150
* Backups and restores SAML keypairs
151
151
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ def push_release_branch(version)
207
207
end
208
208
209
209
unless ( out = `git commit --quiet -m 'Bump version: #{ version } [ci skip]' debian/changelog share/github-backup-utils/version` )
210
- raise "Error commiting changelog and version:\n \n #{ out } "
210
+ raise "Error committing changelog and version:\n \n #{ out } "
211
211
end
212
212
213
213
unless ( out = `git push --quiet origin release-#{ version } ` )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ GHE_HOSTNAME="$1"
22
22
# us run this script directly.
23
23
: ${GHE_RESTORE_SNAPSHOT:= current}
24
24
25
- # Find the objets to restore
25
+ # Find the objects to restore
26
26
storage_paths=$( cd $GHE_DATA_DIR /$GHE_RESTORE_SNAPSHOT / && find storage -mindepth 4 -maxdepth 4 -type f -exec wc -c {} \; )
27
27
28
28
# No need to restore anything, early exit
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ bm_start "$(basename $0) - Building network list"
107
107
OLDIFS=$IFS ; IFS=$' \n '
108
108
for path in $network_paths ; do
109
109
# Get the network ID
110
- # The nework id from a repository is the last component of the path
110
+ # The network id from a repository is the last component of the path
111
111
# i.e. /data/repositories/a/nw/a5/bf/c9/37 network ID would be 37
112
112
ghe_verbose " Adding network_path $path to the list of networks to send"
113
113
echo $path
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# Fake chown command for tests. Avoids needing to creating special users for
3
- # utlities that chown on the remote side.
3
+ # utilities that chown on the remote side.
4
4
true
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# Usage: python -c '...'
3
3
# Fake python command stub for tests. Python is used on the remote side
4
- # only to parse JSON data retreived from the maintenance status API and produce
4
+ # only to parse JSON data retrieved from the maintenance status API and produce
5
5
# a number of active writing processes. Verify that python code passes syntax
6
6
# checks and fake a 0 process count.
7
7
set -e
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# Usage: redis-cli ...
3
- # Fake redis-cli command stub for tests. The redis-cli utlity is run on the
3
+ # Fake redis-cli command stub for tests. The redis-cli utility is run on the
4
4
# remote side by libexec/ghe-backup-redis to force a background save of redis
5
5
# data and then wait until the dump file has been written. It uses the LASTSAVE
6
6
# and BGSAVE commands.
Original file line number Diff line number Diff line change 21
21
22
22
SHARED_UTILS_PATH=$( dirname $( which ghe-detect-leaked-ssh-keys) )
23
23
24
- begin_test " ghe-detect-leaked-ssh-keys check -h dispays help message"
24
+ begin_test " ghe-detect-leaked-ssh-keys check -h displays help message"
25
25
(
26
26
set -e
27
27
@@ -63,7 +63,7 @@ begin_test "ghe-detect-leaked-ssh-keys leaked keys in old snapshot"
63
63
echo 98:d8:99:d3:be:c0:55:05:db:b0:53:2f:1f:ad:b3:60 >> " $SHARED_UTILS_PATH /ghe-ssh-leaked-host-keys-list.txt"
64
64
65
65
output=$( ghe-detect-leaked-ssh-keys -s " $GHE_DATA_DIR /2" )
66
- ! echo $ouput | grep -q " Leaked key in current backup"
66
+ ! echo $output | grep -q " Leaked key in current backup"
67
67
echo $output | grep -q " One or more older backup snapshots"
68
68
)
69
69
end_test
You can’t perform that action at this time.
0 commit comments