-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spelling #1375
base: main
Are you sure you want to change the base?
Spelling #1375
Conversation
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Can one of the admins verify this patch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most corrections were selected automatically using Google Sheets, with two exceptions that I can recall
@@ -647,7 +647,7 @@ | |||
- [162e8cd](https://github.com/quay/clair/commit/162e8cdafc66be28b021f83da736a2b612ddda99): enable suse updater | |||
- [0609ed9](https://github.com/quay/clair/commit/0609ed964b0673806462a24147e6028da85d8a38): removed worker config | |||
- [af2c688](https://github.com/quay/clair/commit/af2c68863482ae9f93a2db1533be260468a6ea2d): not properly loaded error ([#140](https://github.com/quay/clair/issues/140)) | |||
- [#140](https://github.com/quay/clair/issues/140) - fixes [#134](https://github.com/quay/clair/issues/134)- [30055af](https://github.com/quay/clair/commit/30055af03e357b44cfbacb3088eab337a94e51e8): fallover correctly to default config | |||
- [#140](https://github.com/quay/clair/issues/140) - fixes [#134](https://github.com/quay/clair/issues/134)- [30055af](https://github.com/quay/clair/commit/30055af03e357b44cfbacb3088eab337a94e51e8): failover correctly to default config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not entirely certain
@@ -58,7 +58,7 @@ When you configure notifier for webhook delivery you provide the service with th | |||
When the notifier has determined an updated security database has changed the affected status of an indexed manifest, it will deliver the following JSON body to the configured target: | |||
```json | |||
{ | |||
"notifiction_id": {uuid_string}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
@@ -1,4 +1,4 @@ | |||
# Contribuion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change will break external deep links to this anchor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's fine, they'll end up dumped in the same spot.
@@ -3,7 +3,7 @@ title: ClairV4 v0.1 | |||
language_tabs: | |||
- python: Python | |||
- go: Golang | |||
- javascript: Javascript | |||
- javascript: JavaScript |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
appears harmless
@@ -564,7 +564,7 @@ An address in `<host>:<post>` syntax where traces can be submitted. | |||
#### `$.trace.jaeger.collector.username` | |||
a string value | |||
|
|||
#### `$.trace.jaeger.collector.passwordd` | |||
#### `$.trace.jaeger.collector.password` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a noteworthy bug fix
Notifications_ func(ctx context.Context, id uuid.UUID, page *Page) ([]Notification, Page, error) | ||
PutNotifications_ func(ctx context.Context, opts PutOpts) error | ||
PutReceipt_ func(ctx context.Context, updater string, r Receipt) error | ||
DeleteNotifications_ func(ctx context.Context, id uuid.UUID) error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go tends to insist on this sort of alignment change
} | ||
if !cmp.Equal(receipt.Status, notifier.Created) { | ||
t.Fatal(cmp.Diff(receipt.Status, notifier.Delivered)) | ||
} | ||
|
||
receipt, err = e.store.ReceiptByUOID(e.ctx, e.updateID) | ||
if err != nil { | ||
t.Fatalf("failed to retrieve receipt by OUID") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my and Louis' defense, it's extremely easy to both typo and mentally transpose "uo".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, typos happen, that's why I work on a spell checker that helps catch things like this.
Fwiw, overall, this project's typo count is pretty low.
@@ -49,10 +49,10 @@ func indexerForTestMode(mock *indexer.Mock) { | |||
// MatcherForTestMode configures a mock Matcher service for notifier test mode. | |||
// | |||
// in notifier test mode a notifier.Poller will request "matcher.LatestUpdateOperations" at which point | |||
// a new UO pair will be smithed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious about this word choice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
me too
// Notificationer implements persistence methods for Notification models | ||
type Notificationer interface { | ||
// Notifier implements persistence methods for Notification models | ||
type Notifier interface { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noteworthy
@@ -466,7 +466,7 @@ components: | |||
example: |- | |||
sha256:35c102085707f703de2d9eaad8752d6fe1b8f02b5d2149f1d8357c9cc7fb7d0a | |||
reason: | |||
description: "the reason for the notifcation, [added | removed]" | |||
description: "the reason for the notification, [added | removed]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Developer facing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, needs the generate script run to rebuild the served schema.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙏🙏🙏
This is very cool.
The changes to CHANGELOG.md are a nonstarter, as it's autogenerated. Those typos are actually in the git commit messages. Beyond that, this all looks about right.
Would you mind me taking this and combining commits, making some needed code changes, etc. over the next week or so?
@@ -1,4 +1,4 @@ | |||
# Contribuion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's fine, they'll end up dumped in the same spot.
@@ -1,4 +1,4 @@ | |||
package instrospection | |||
package introspection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a sign nothing is actually using anything defined in this file. That's alarming.
} | ||
if !cmp.Equal(receipt.Status, notifier.Created) { | ||
t.Fatal(cmp.Diff(receipt.Status, notifier.Delivered)) | ||
} | ||
|
||
receipt, err = e.store.ReceiptByUOID(e.ctx, e.updateID) | ||
if err != nil { | ||
t.Fatalf("failed to retrieve receipt by OUID") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my and Louis' defense, it's extremely easy to both typo and mentally transpose "uo".
@@ -49,10 +49,10 @@ func indexerForTestMode(mock *indexer.Mock) { | |||
// MatcherForTestMode configures a mock Matcher service for notifier test mode. | |||
// | |||
// in notifier test mode a notifier.Poller will request "matcher.LatestUpdateOperations" at which point | |||
// a new UO pair will be smithed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
me too
@@ -466,7 +466,7 @@ components: | |||
example: |- | |||
sha256:35c102085707f703de2d9eaad8752d6fe1b8f02b5d2149f1d8357c9cc7fb7d0a | |||
reason: | |||
description: "the reason for the notifcation, [added | removed]" | |||
description: "the reason for the notification, [added | removed]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, needs the generate script run to rebuild the served schema.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please be my guest. And thanks.
@@ -1,4 +1,4 @@ | |||
package instrospection | |||
package introspection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤷♀️
I'll leave that concern to you folks
} | ||
if !cmp.Equal(receipt.Status, notifier.Created) { | ||
t.Fatal(cmp.Diff(receipt.Status, notifier.Delivered)) | ||
} | ||
|
||
receipt, err = e.store.ReceiptByUOID(e.ctx, e.updateID) | ||
if err != nil { | ||
t.Fatalf("failed to retrieve receipt by OUID") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, typos happen, that's why I work on a spell checker that helps catch things like this.
Fwiw, overall, this project's typo count is pretty low.
This PR corrects misspellings identified by the check-spelling action.
The misspellings have been reported at jsoref@25c4e10#commitcomment-56931936
The action reports that the changes in this PR would make it happy: jsoref@0882626
Note: this PR does not include the action. If you're interested in running a spell check on every PR and push, that can be offered separately.