Skip to content

Commit c316ea9

Browse files
authored
Merge pull request #1567 from aptly-dev/fix/doc-typos
docs: fix typos
2 parents d027a25 + c723fea commit c316ea9

9 files changed

Lines changed: 10 additions & 10 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Please report unacceptable behavior on [https://github.com/aptly-dev/aptly/discu
1616
### List of Repositories
1717

1818
* [aptly-dev/aptly](https://github.com/aptly-dev/aptly) - aptly source code, functional tests, man page
19-
* [apty-dev/aptly-dev.github.io](https://github.com/aptly-dev/aptly-dev.github.io) - aptly website (https://www.aptly.info/)
19+
* [aptly-dev/aptly-dev.github.io](https://github.com/aptly-dev/aptly-dev.github.io) - aptly website (https://www.aptly.info/)
2020
* [aptly-dev/aptly-fixture-db](https://github.com/aptly-dev/aptly-fixture-db) & [aptly-dev/aptly-fixture-pool](https://github.com/aptly-dev/aptly-fixture-pool) provide
2121
fixtures for aptly functional tests
2222

api/gpg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ type gpgDeleteKeyParams struct {
5454
// @Summary Add GPG Keys
5555
// @Description **Adds GPG keys to aptly keyring**
5656
// @Description
57-
// @Description Add GPG public keys for veryfing remote repositories for mirroring.
57+
// @Description Add GPG public keys for verifying remote repositories for mirroring.
5858
// @Description
5959
// @Description Keys can be added in two ways:
6060
// @Description * By providing the ASCII armord key in `GpgKeyArmor` (leave Keyserver and GpgKeyID empty)

api/mirror.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ func apiMirrorsEdit(c *gin.Context) {
497497
type mirrorUpdateParams struct {
498498
// Change mirror name to `Name`
499499
Name string ` json:"Name" example:"mirror1"`
500-
// Gpg keyring(s) for verifing Release file
500+
// Gpg keyring(s) for verifying Release file
501501
Keyrings []string ` json:"Keyrings" example:"trustedkeys.gpg"`
502502
// Set "true" to ignore checksum errors
503503
IgnoreChecksums bool ` json:"IgnoreChecksums"`

api/publish.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func apiPublishList(c *gin.Context) {
124124
// @Description See also: `aptly publish show`
125125
// @Tags Publish
126126
// @Produce json
127-
// @Param prefix path string true "publishing prefix, use `:.` instead of `.` because it is ambigious in URLs"
127+
// @Param prefix path string true "publishing prefix, use `:.` instead of `.` because it is ambiguous in URLs"
128128
// @Param distribution path string true "distribution name"
129129
// @Success 200 {object} deb.PublishedRepo
130130
// @Failure 404 {object} Error "Published repository not found"

api/repos.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ type repoCreateParams struct {
102102
DefaultDistribution string ` json:"DefaultDistribution" example:"stable"`
103103
// Default component when publishing from this local repo
104104
DefaultComponent string ` json:"DefaultComponent" example:"main"`
105-
// Snapshot name to create repoitory from (optional)
105+
// Snapshot name to create repository from (optional)
106106
FromSnapshot string ` json:"FromSnapshot" example:""`
107107
}
108108

@@ -180,7 +180,7 @@ type reposEditParams struct {
180180
Comment *string ` json:"Comment" example:"example repo"`
181181
// Change Default Distribution for publishing
182182
DefaultDistribution *string ` json:"DefaultDistribution" example:""`
183-
// Change Devault Component for publishing
183+
// Change Default Component for publishing
184184
DefaultComponent *string ` json:"DefaultComponent" example:""`
185185
}
186186

docs/Files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div>
33

44
In order to add debian package files to a local repository, files are first uploaded to a temporary directory.
5-
Then the directory (or a specific file within) is added to a repository. After adding to a repositorty, the directory resp. files are removed bt default.
5+
Then the directory (or a specific file within) is added to a repository. After adding to a repository, the directory resp. files are removed bt default.
66

77
All uploaded files are stored under `<rootDir>/upload/<tempdir>` directory.
88

docs/Packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Search Package Collection
22
<div>
3-
Perform operations on the whole collection of packages in apty database.
3+
Perform operations on the whole collection of packages in aptly database.
44
</div>
55

docs/Publish.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ aptly publish repo my-repo --gpg-key=KEY_ID_a --gpg-key=KEY_ID_b
3535
#### Parameters
3636

3737
Publish APIs use following convention to identify published repositories: `/api/publish/:prefix/:distribution`. `:distribution` is distribution name, while `:prefix` is `[<storage>:]<prefix>` (storage is optional, it defaults to empty string), if publishing prefix contains slashes `/`, they should be replaced with underscores (`_`) and underscores
38-
should be replaced with double underscore (`__`). To specify root `:prefix`, use `:.`, as `.` is ambigious in URLs.
38+
should be replaced with double underscore (`__`). To specify root `:prefix`, use `:.`, as `.` is ambiguous in URLs.
3939

4040
</div>

docs/Repos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Manage Local Repositories
22
<div>
3-
A local repository is a collection of versionned packages (usually custom packages created internally).
3+
A local repository is a collection of versioned packages (usually custom packages created internally).
44

55
Packages can be added, removed, moved or copied between repos.
66

0 commit comments

Comments
 (0)