Repository navigation
feat(helm): Correct capitalization and punctuation for all user facing text - #2601
Conversation
|
Reviewed 1 of 1 files at r1, 1 of 1 files at r2. cmd/helm/init.go, line 152 at r2 (raw file):
cmd/helm/init.go, line 258 at r2 (raw file):
Let's capitalize this one too. docs/helm/helm_init.md, line 9 at r2 (raw file):
docs/helm/helm_init.md, line 15 at r2 (raw file):
docs/helm/helm_init.md, line 16 at r2 (raw file):
docs/helm/helm_init.md, line 58 at r2 (raw file):
docs/helm/helm_init.md, line 60 at r2 (raw file):
Comments from Reviewable |
|
@seh I updated the scope to 'capitalize and punctuate all the things' since I think the overall goal is proper grammar and consistency. I noticed "most" of the other commands' usage strings are in need of treatment as well. |
|
Will there be another commit coming, then? I went to review the changes, but it looks my comments still apply to the latest commit included here. |
|
@seh Yes I can tackle it. Was waiting to see if someone came in ranting about why all the things didn't need to be changed :) |
|
Review status: 0 of 55 files reviewed at latest revision, 7 unresolved discussions. cmd/helm/init.go, line 152 at r2 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. cmd/helm/init.go, line 258 at r2 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. docs/helm/helm_init.md, line 9 at r2 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. docs/helm/helm_init.md, line 15 at r2 (raw file): Previously, seh (Steven E. Harris) wrote…
Skipped this one. docs/helm/helm_init.md, line 16 at r2 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. docs/helm/helm_init.md, line 58 at r2 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. docs/helm/helm_init.md, line 60 at r2 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. Comments from Reviewable |
|
Wow, what a tour! Reviewed 63 of 63 files at r4. cmd/helm/install.go, line 190 at r4 (raw file):
Though I have long been confused why this is so, we usually find the word "pods" written in lowercase in the Kubernetes documentation, as if pods are something so primitive that they exist before and beyond their "kind" name. cmd/helm/rollback.go, line 85 at r4 (raw file):
If we change it in one place, stay consistent. cmd/helm/upgrade.go, line 132 at r4 (raw file):
If we change it in one place, stay consistent. cmd/helm/installer/install.go, line 74 at r4 (raw file):
Consider capitalizing "Deployment" here. docs/helm/helm_init.md, line 9 at r2 (raw file): Previously, jascott1 (Justin Scott) wrote…
Did you forget to commit a change here? docs/helm/helm_init.md, line 16 at r2 (raw file): Previously, jascott1 (Justin Scott) wrote…
Was there an intended change here? docs/helm/helm_init.md, line 10 at r4 (raw file):
Punctuate this sentence. docs/helm/helm_rollback.md, line 33 at r4 (raw file):
As mentioned elsewhere. pkg/chartutil/files.go, line 97 at r4 (raw file):
Since nothing is parsing this as Markdown, quote the "data" key name in either single or double quotation marks. pkg/chartutil/files.go, line 98 at r4 (raw file):
That should be "file names." pkg/chartutil/files.go, line 125 at r4 (raw file):
Maybe "encoded in base64," or "encoded with base64," or "AsSecrets returns the base64-encoded value of a Files object suitable ..." pkg/chartutil/files.go, line 126 at r4 (raw file):
Since nothing is parsing this as Markdown, quote the "data" key name in either single or double quotation marks. pkg/chartutil/files.go, line 127 at r4 (raw file):
That should be "file names." pkg/helm/client.go, line 32 at r4 (raw file):
Should that be "Helm-Tiller?" pkg/helm/client.go, line 32 at r4 (raw file):
Punctuate this sentence. pkg/helm/client.go, line 43 at r4 (raw file):
Punctuate this sentence. pkg/helm/client.go, line 67 at r4 (raw file):
Add a comma after "it." pkg/helm/client.go, line 138 at r4 (raw file):
Punctuate this sentence. pkg/helm/client.go, line 149 at r4 (raw file):
Punctuate this sentence. pkg/helm/client.go, line 184 at r4 (raw file):
Punctuate this sentence. pkg/helm/client.go, line 200 at r4 (raw file):
Punctuate this sentence. pkg/helm/client.go, line 273 at r4 (raw file):
Punctuate this sentence. pkg/helm/client.go, line 286 at r4 (raw file):
That should be "gRPC." pkg/helm/client.go, line 286 at r4 (raw file):
Capitalize this as "Tiller." pkg/helm/helm_test.go, line 34 at r4 (raw file):
If the sentence does not start with "chartsDir," capitalize the first word. pkg/helm/helm_test.go, line 37 at r4 (raw file):
Capitalize this as "Tiller." pkg/helm/helm_test.go, line 37 at r4 (raw file):
If the sentence does not start with "errSkip," capitalize the first word. pkg/helm/helm_test.go, line 40 at r4 (raw file):
Remove greengrocer's apostrophe. pkg/helm/helm_test.go, line 95 at r4 (raw file):
Remove greengrocer's apostrophe. pkg/helm/helm_test.go, line 144 at r4 (raw file):
Remove greengrocer's apostrophe. pkg/helm/helm_test.go, line 181 at r4 (raw file):
Remove greengrocer's apostrophe. pkg/helm/helm_test.go, line 224 at r4 (raw file):
Remove greengrocer's apostrophe. pkg/helm/helm_test.go, line 264 at r4 (raw file):
Remove greengrocer's apostrophe. pkg/helm/helm_test.go, line 293 at r4 (raw file):
Remove greengrocer's apostrophe. pkg/kube/client.go, line 66 at r4 (raw file):
s/create/creates/ pkg/kube/client.go, line 150 at r4 (raw file):
Add a hyphen between "pretty" and "printed." pkg/kube/client.go, line 155 at r4 (raw file):
Punctuate this sentence. (The period after "etc" inside the parentheses doesn't count.) pkg/kube/client.go, line 155 at r4 (raw file):
Should that be "come out looking?" pkg/kube/client.go, line 184 at r4 (raw file):
Punctuate this sentence. pkg/kube/client.go, line 211 at r4 (raw file):
Remove the leading space on this and the next two lines. pkg/kube/client.go, line 580 at r4 (raw file):
Punctuate this sentence. pkg/kube/client.go, line 594 at r4 (raw file):
Punctuate this sentence. pkg/storage/driver/driver.go, line 72 at r4 (raw file):
Add the word "and" before "Queryor." pkg/tiller/environment/environment.go, line 136 at r4 (raw file):
Punctuate this sentence. pkg/tiller/environment/environment.go, line 138 at r4 (raw file):
Punctuate this sentence. pkg/tiller/environment/environment.go, line 148 at r4 (raw file):
Punctuate this sentence. pkg/tiller/environment/environment.go, line 200 at r4 (raw file):
Punctuate this sentence. Comments from Reviewable |
|
Thanks for the thorough review! Current round is complete. Review status: 55 of 63 files reviewed at latest revision, 48 unresolved discussions. cmd/helm/install.go, line 190 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Keeping Pods. cmd/helm/rollback.go, line 85 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Keeping Pods. cmd/helm/upgrade.go, line 132 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Keeping Pods. cmd/helm/installer/install.go, line 74 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. docs/helm/helm_init.md, line 9 at r2 (raw file): Previously, seh (Steven E. Harris) wrote…
Mistake. Fixed now. docs/helm/helm_init.md, line 16 at r2 (raw file): Previously, seh (Steven E. Harris) wrote…
Not sure what happened as I changed this one in src (md files are generated). I will check on next doc re-gen. docs/helm/helm_init.md, line 10 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. docs/helm/helm_rollback.md, line 33 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Keeping Pods. pkg/chartutil/files.go, line 97 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Went with single quotes. Changed one on 106 as well. pkg/chartutil/files.go, line 98 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Ah. Done. pkg/chartutil/files.go, line 125 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/chartutil/files.go, line 126 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/chartutil/files.go, line 127 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/helm/client.go, line 32 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
It is now :) pkg/helm/client.go, line 32 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/helm/client.go, line 43 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/helm/client.go, line 67 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
That may be optional grammatically speaking? I added the comma though. pkg/helm/client.go, line 138 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/helm/client.go, line 149 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/helm/client.go, line 184 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/helm/client.go, line 200 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/helm/client.go, line 273 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/helm/client.go, line 286 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/helm/client.go, line 286 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. Not sure how I missed this one. pkg/helm/helm_test.go, line 34 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/helm/helm_test.go, line 37 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/helm/helm_test.go, line 37 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/helm/helm_test.go, line 40 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
went with "Verify each ReleaseListOption is applied to a ListReleasesRequest correctly." pkg/helm/helm_test.go, line 95 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Re-worded like last one. pkg/helm/helm_test.go, line 144 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
same re-word pkg/helm/helm_test.go, line 181 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
same re-word. pkg/helm/helm_test.go, line 224 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
same re-word pkg/helm/helm_test.go, line 264 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
same re-word pkg/helm/helm_test.go, line 293 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
same re-word pkg/kube/client.go, line 66 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/kube/client.go, line 150 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/kube/client.go, line 155 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/kube/client.go, line 155 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/kube/client.go, line 184 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/kube/client.go, line 211 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/kube/client.go, line 580 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/kube/client.go, line 594 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/storage/driver/driver.go, line 72 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/tiller/environment/environment.go, line 136 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/tiller/environment/environment.go, line 138 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/tiller/environment/environment.go, line 148 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. pkg/tiller/environment/environment.go, line 200 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. Comments from Reviewable |
|
The only two remaining nits I saw are:
These are small enough to proceed with merging this series—which I recommend squashing first. Reviewed 9 of 9 files at r5. cmd/helm/install.go, line 190 at r4 (raw file): Previously, jascott1 (Justin Scott) wrote…
We discussed this in the "helm-dev" Slack channel and agreed to leave the use of "Pods" as is until we hear definitive advice to write "pods" instead. docs/helm/helm_init.md, line 16 at r2 (raw file): Previously, jascott1 (Justin Scott) wrote…
I was thinking about the "remote cluster" complaint, but it's not worth holding up this patch series. docs/helm/helm_init.md, line 9 at r5 (raw file):
I don't think it's worth another commit, but that should be "server-side." pkg/helm/client.go, line 67 at r4 (raw file): Previously, jascott1 (Justin Scott) wrote…
Yes, it depends on whether or not you prefer the "Oxford (or serial) comma." Comments from Reviewable |
|
Review status: 61 of 64 files reviewed at latest revision, 2 unresolved discussions. docs/helm/helm_init.md, line 16 at r2 (raw file): Previously, seh (Steven E. Harris) wrote…
I think the confusion is from this being changed in the other PR but I changed it here too. docs/helm/helm_init.md, line 9 at r5 (raw file): Previously, seh (Steven E. Harris) wrote…
Fixed. pkg/helm/client.go, line 67 at r4 (raw file): Previously, seh (Steven E. Harris) wrote…
Ok. Comments from Reviewable |
|
Reviewed 2 of 2 files at r6. Comments from Reviewable |
seh
left a comment
There was a problem hiding this comment.
It looks like we missed another set of lowercase "helm" references in the error messages.
| t.Errorf("unexpected action: %v, expected create service", actions[1]) | ||
| } | ||
| expected := "Tiller (the helm server side component) has been installed into your Kubernetes Cluster." | ||
| expected := "Tiller (the helm server-side component) has been installed into your Kubernetes Cluster." |
There was a problem hiding this comment.
- While we're still pursuing these corrections, why is "helm" written in lowercase here?
Did we miss that in the init.go file?
|
|
||
| const resetDesc = ` | ||
| This command uninstalls Tiller (the helm server side component) from your | ||
| This command uninstalls Tiller (the helm server-side component) from your |
There was a problem hiding this comment.
- While we're still pursuing these corrections, why is "helm" written in lowercase here?
| } | ||
|
|
||
| fmt.Fprintln(d.out, "Tiller (the helm server side component) has been uninstalled from your Kubernetes Cluster.") | ||
| fmt.Fprintln(d.out, "Tiller (the helm server-side component) has been uninstalled from your Kubernetes Cluster.") |
There was a problem hiding this comment.
- While we're still pursuing these corrections, why is "helm" written in lowercase here?
| t.Errorf("Expected 2 actions, got %d", len(actions)) | ||
| } | ||
| expected := "Tiller (the helm server side component) has been uninstalled from your Kubernetes Cluster." | ||
| expected := "Tiller (the helm server-side component) has been uninstalled from your Kubernetes Cluster." |
There was a problem hiding this comment.
- While we're still pursuing these corrections, why is "helm" written in lowercase here?
Did we miss that in the reset.go file?
| t.Errorf("Expected 2 actions, got %d", len(actions)) | ||
| } | ||
| expected := "Tiller (the helm server side component) has been uninstalled from your Kubernetes Cluster." | ||
| expected := "Tiller (the helm server-side component) has been uninstalled from your Kubernetes Cluster." |
| t.Errorf("Expected 2 actions, got %d", len(actions)) | ||
| } | ||
| expected := "Tiller (the helm server side component) has been uninstalled from your Kubernetes Cluster." | ||
| expected := "Tiller (the helm server-side component) has been uninstalled from your Kubernetes Cluster." |
|
|
||
|
|
||
| This command uninstalls Tiller (the helm server side component) from your | ||
| This command uninstalls Tiller (the helm server-side component) from your |
There was a problem hiding this comment.
- While we're still pursuing these corrections, why is "helm" written in lowercase here?
Did we miss that in the reset.go file?
There was a problem hiding this comment.
I walked right past it and didn't see it! hashtag never-ending.
|
Review status: 60 of 64 files reviewed at latest revision, 7 unresolved discussions. cmd/helm/init_test.go, line 70 at r7 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. cmd/helm/reset.go, line 35 at r7 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. cmd/helm/reset.go, line 117 at r7 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. cmd/helm/reset_test.go, line 58 at r7 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. cmd/helm/reset_test.go, line 92 at r7 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. cmd/helm/reset_test.go, line 163 at r7 (raw file): Previously, seh (Steven E. Harris) wrote…
Done. docs/helm/helm_reset.md, line 9 at r7 (raw file): Previously, jascott1 (Justin Scott) wrote…
Done. Comments from Reviewable |
|
Reviewed 4 of 4 files at r8. Comments from Reviewable |
|
@seh feel free to merge when ready. Your perms should be fixed. |
The goal is to consistently apply correct capitalization and punctuation to all strings the user sees (mostly command usage strings) so that words such as Tiller, Helm etc are properly cased and sentences are punctuated appropriately.