Skip to content

Commit 34cd783

Browse files
committed
[DATALAD RUNCMD] run codespell throughout
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent 6a4e620 commit 34cd783

File tree

48 files changed

+140
-140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+140
-140
lines changed

CHANGELOG.md

Lines changed: 61 additions & 61 deletions
Large diffs are not rendered by default.

cmd/hook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ Gitea or set your environment appropriately.`, "")
696696
type pktLineType int64
697697

698698
const (
699-
// UnKnow type
699+
// unknown type
700700
pktLineTypeUnknow pktLineType = 0
701701
// flush-pkt "0000"
702702
pktLineTypeFlush pktLineType = iota

docs/content/administration/config-cheat-sheet.en-us.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ Default templates for project boards:
853853
- `ResponseWriter`: the responseWriter from the request.
854854
- `RequestID`: the value matching REQUEST_ID_HEADERS(default: `-`, if not matched).
855855
- You must be very careful to ensure that this template does not throw errors or panics as this template runs outside the panic/recovery script.
856-
- `REQUEST_ID_HEADERS`: **_empty_**: You can configure multiple values that are splited by comma here. It will match in the order of configuration, and the first match will be finally printed in the access log.
856+
- `REQUEST_ID_HEADERS`: **_empty_**: You can configure multiple values that are split by comma here. It will match in the order of configuration, and the first match will be finally printed in the access log.
857857
- e.g.
858858
- In the Request Header: X-Request-ID: **test-id-123**
859859
- Configuration in app.ini: REQUEST_ID_HEADERS = X-Request-ID
@@ -1268,7 +1268,7 @@ Default storage configuration for attachments, lfs, avatars, repo-avatars, repo-
12681268
- `MINIO_USE_SSL`: **false**: Minio enabled ssl only available when `STORAGE_TYPE` is `minio`
12691269
- `MINIO_INSECURE_SKIP_VERIFY`: **false**: Minio skip SSL verification available when STORAGE_TYPE is `minio`
12701270

1271-
The recommanded storage configuration for minio like below:
1271+
The recommended storage configuration for minio like below:
12721272

12731273
```ini
12741274
[storage]

docs/content/administration/config-cheat-sheet.zh-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ Attachments, lfs, avatars, repo-avatars, repo-archive, packages, actions_log, ac
423423
- `MINIO_LOCATION`: **us-east-1**: Minio location to create bucket,仅当 `STORAGE_TYPE``minio` 时有效。
424424
- `MINIO_USE_SSL`: **false**: Minio enabled ssl,仅当 `STORAGE_TYPE``minio` 时有效。
425425

426-
以下为推荐的 recommanded storage configuration for minio like below:
426+
以下为推荐的 recommended storage configuration for minio like below:
427427

428428
```ini
429429
[storage]

docs/content/usage/packages/storage.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This document describes the storage of the package registry and how it can be ma
1919

2020
## Deduplication
2121

22-
The package registry has a build-in deduplication of uploaded blobs.
22+
The package registry has a built-in deduplication of uploaded blobs.
2323
If two identical files are uploaded only one blob is saved on the filesystem.
2424
This ensures no space is wasted for duplicated files.
2525

models/actions/tasks_version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
// ActionTasksVersion
1515
// If both ownerID and repoID is zero, its scope is global.
16-
// If ownerID is not zero and repoID is zero, its scope is org (there is no user-level runner currrently).
16+
// If ownerID is not zero and repoID is zero, its scope is org (there is no user-level runner currently).
1717
// If ownerID is zero and repoID is not zero, its scope is repo.
1818
type ActionTasksVersion struct {
1919
ID int64 `xorm:"pk autoincr"`

models/auth/oauth2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ func (err ErrOAuthApplicationNotFound) Unwrap() error {
526526
return util.ErrNotExist
527527
}
528528

529-
// GetActiveOAuth2ProviderSources returns all actived LoginOAuth2 sources
529+
// GetActiveOAuth2ProviderSources returns all activated LoginOAuth2 sources
530530
func GetActiveOAuth2ProviderSources() ([]*Source, error) {
531531
sources := make([]*Source, 0, 1)
532532
if err := db.GetEngine(db.DefaultContext).Where("is_active = ? and type = ?", true, OAuth2).Find(&sources); err != nil {

models/auth/oauth2_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func TestOAuth2Application_ContainsRedirectURI_WithPort(t *testing.T) {
5959
// not loopback
6060
assert.False(t, app.ContainsRedirectURI("http://192.168.0.1:9954/"))
6161
assert.False(t, app.ContainsRedirectURI("http://intranet:3456/"))
62-
// unparseable
62+
// unparsable
6363
assert.False(t, app.ContainsRedirectURI(":"))
6464
}
6565

models/fixtures/pull_request.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-
22
id: 1
33
type: 0 # gitea pull request
4-
status: 2 # mergable
4+
status: 2 # mergeable
55
issue_id: 2
66
index: 2
77
head_repo_id: 1
@@ -15,7 +15,7 @@
1515
-
1616
id: 2
1717
type: 0 # gitea pull request
18-
status: 2 # mergable
18+
status: 2 # mergeable
1919
issue_id: 3
2020
index: 3
2121
head_repo_id: 1
@@ -28,7 +28,7 @@
2828
-
2929
id: 3
3030
type: 0 # gitea pull request
31-
status: 2 # mergable
31+
status: 2 # mergeable
3232
issue_id: 8
3333
index: 1
3434
head_repo_id: 11
@@ -41,7 +41,7 @@
4141
-
4242
id: 4
4343
type: 0 # gitea pull request
44-
status: 2 # mergable
44+
status: 2 # mergeable
4545
issue_id: 9
4646
index: 1
4747
head_repo_id: 48
@@ -54,7 +54,7 @@
5454
-
5555
id: 5 # this PR is outdated (one commit behind branch1 )
5656
type: 0 # gitea pull request
57-
status: 2 # mergable
57+
status: 2 # mergeable
5858
issue_id: 11
5959
index: 5
6060
head_repo_id: 1
@@ -67,7 +67,7 @@
6767
-
6868
id: 6
6969
type: 0 # gitea pull request
70-
status: 2 # mergable
70+
status: 2 # mergeable
7171
issue_id: 12
7272
index: 2
7373
head_repo_id: 3

models/git/branch_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func TestFindRenamedBranch(t *testing.T) {
114114
assert.True(t, exist)
115115
assert.Equal(t, "master", branch.To)
116116

117-
_, exist, err = git_model.FindRenamedBranch(db.DefaultContext, 1, "unknow")
117+
_, exist, err = git_model.FindRenamedBranch(db.DefaultContext, 1, "unknown")
118118
assert.NoError(t, err)
119119
assert.False(t, exist)
120120
}

0 commit comments

Comments
 (0)