From 1b4f7e4f55c56f8faac04db22ca0651696bace91 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 6 Nov 2022 13:35:07 -0500 Subject: [PATCH 1/7] spelling: ciphertext Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- plugin/internal/aesgcm/aesgcm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/internal/aesgcm/aesgcm.go b/plugin/internal/aesgcm/aesgcm.go index 94defa1..9a08b9f 100644 --- a/plugin/internal/aesgcm/aesgcm.go +++ b/plugin/internal/aesgcm/aesgcm.go @@ -48,7 +48,7 @@ func Encrypt(plaintext []byte, key *[32]byte) (ciphertext []byte, err error) { return gcm.Seal(nonce, nonce, plaintext, nil), nil } -// Decrypt decrypts the raw, unencoded cihpertext with the provided key. +// Decrypt decrypts the raw, unencoded ciphertext with the provided key. func Decrypt(ciphertext []byte, key *[32]byte) (plaintext []byte, err error) { block, err := aes.NewCipher(key[:]) if err != nil { From d63742a1b5b5cbdb29bfed423ff3ca892f7e416f Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 6 Nov 2022 13:35:08 -0500 Subject: [PATCH 2/7] spelling: fulfil Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3ce5aa8..f3e0160 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator You can generate a token by logging into your GitHub account and going to Settings -> Personal access tokens. -Next we tag the PR's with the fixes or enhancements labels. If the PR does not fufil the requirements, do not add a label. +Next we tag the PR's with the fixes or enhancements labels. If the PR does not fulfil the requirements, do not add a label. Run the changelog generator again with the future version according to semver. From 3a7c1a3f70ce958340bd1b35202edce3a89e58fd Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 6 Nov 2022 13:35:08 -0500 Subject: [PATCH 3/7] spelling: permanently Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- drone/interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drone/interface.go b/drone/interface.go index d84ae6f..93747d7 100644 --- a/drone/interface.go +++ b/drone/interface.go @@ -85,7 +85,7 @@ type Client interface { // RepoDisable disables a repository. RepoDisable(namespace, name string) error - // RepoDelete permanetnly deletes a repository. + // RepoDelete permanently deletes a repository. RepoDelete(namespace, name string) error // Build returns a repository build by number. From f3fdac5d837ea7a16bf93e2e97dc9d763273b6d1 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 6 Nov 2022 13:35:09 -0500 Subject: [PATCH 4/7] spelling: pipeline Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- plugin/config/handler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/config/handler_test.go b/plugin/config/handler_test.go index 0badbc0..53ef903 100644 --- a/plugin/config/handler_test.go +++ b/plugin/config/handler_test.go @@ -46,7 +46,7 @@ func TestHandler(t *testing.T) { want := &drone.Config{ Kind: "drone.v1.yaml", - Data: "pipeilne: []", + Data: "pipeline: []", } plugin := &mockPlugin{ res: want, From abd71ec59e0d4294f56247ee3985bcf7b28294c0 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 6 Nov 2022 13:35:09 -0500 Subject: [PATCH 5/7] spelling: rollback Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- drone/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drone/client.go b/drone/client.go index c9657fe..189b385 100644 --- a/drone/client.go +++ b/drone/client.go @@ -334,7 +334,7 @@ func (c *client) Promote(namespace, name string, build int, target string, param return out, err } -// Roolback reverts the target environment to an previous build. +// Rollback reverts the target environment to an previous build. func (c *client) Rollback(namespace, name string, build int, target string, params map[string]string) (*Build, error) { out := new(Build) val := mapValues(params) From effc998abccfec23f23a37b86887b088c72165ac Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 6 Nov 2022 13:35:19 -0500 Subject: [PATCH 6/7] spelling: todo Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- drone/interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drone/interface.go b/drone/interface.go index 93747d7..f6d039a 100644 --- a/drone/interface.go +++ b/drone/interface.go @@ -20,7 +20,7 @@ import ( // TODO(bradrydzewski) add repo + latest build endpoint // TODO(bradrydzewski) add queue endpoint -// TDOO(bradrydzewski) add stats endpoint +// TODO(bradrydzewski) add stats endpoint // TODO(bradrydzewski) add version endpoint // Client is used to communicate with a Drone server. From 93a8966f05d07012d192dac999e71fd23d210ef4 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 6 Nov 2022 13:13:00 -0500 Subject: [PATCH 7/7] spelling: validator Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- plugin/validator/{validater.go => validator.go} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename plugin/validator/{validater.go => validator.go} (100%) diff --git a/plugin/validator/validater.go b/plugin/validator/validator.go similarity index 100% rename from plugin/validator/validater.go rename to plugin/validator/validator.go