-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix grammar, spelling, word casing, whitespace #9132
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
base: main
Are you sure you want to change the base?
Fix grammar, spelling, word casing, whitespace #9132
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9132 +/- ##
============================================
- Coverage 16.06% 16.06% -0.01%
+ Complexity 12872 12871 -1
============================================
Files 5642 5642
Lines 493953 493953
Branches 59889 59889
============================================
- Hits 79351 79350 -1
- Misses 405817 405818 +1
Partials 8785 8785
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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 immagine I missed a few, and in dutch (intended mistake) these would be considered shouting, but for consistency some sugestions...
api/src/main/java/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
Outdated
Show resolved
Hide resolved
api/src/main/java/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
Outdated
Show resolved
Hide resolved
...rail/src/main/java/org/apache/cloudstack/network/contrail/management/ServiceManagerImpl.java
Outdated
Show resolved
Hide resolved
plugins/network-elements/netscaler/src/main/java/com/cloud/api/commands/StopNetScalerVMCmd.java
Outdated
Show resolved
Hide resolved
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
…ployVMCmd.java Co-authored-by: dahn <daan.hoogland@gmail.com>
…ployVMCmd.java Co-authored-by: dahn <daan.hoogland@gmail.com>
Co-authored-by: dahn <daan.hoogland@gmail.com>
Co-authored-by: dahn <daan.hoogland@gmail.com>
…ache/cloudstack/network/contrail/management/ServiceManagerImpl.java Co-authored-by: dahn <daan.hoogland@gmail.com>
…/commands/StopNetScalerVMCmd.java Co-authored-by: dahn <daan.hoogland@gmail.com>
Co-authored-by: dahn <daan.hoogland@gmail.com>
@@ -134,7 +134,7 @@ private ServiceVirtualMachine createServiceVM(DataCenter zone, Account owner, Vi | |||
} catch (InsufficientCapacityException ex) { | |||
throw new CloudRuntimeException("Insufficient capacity", ex); | |||
} | |||
CallContext.current().setEventDetails("Vm Id: " + svm.getId()); | |||
CallContext.current().setEventDetails("VM ID: " + svm.getId()); |
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.
CallContext.current().setEventDetails("VM ID: " + svm.getId()); | |
CallContext.current().setEventDetails("VM Id: " + svm.getId()); |
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.
@FelipeM525 , 'ID' is an acronym for 'identification' according to english rules it should be capatalised. Am I correct @jbampton ?
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 agree with capitalizing both letters, but, regardless of what convention we use (both capitalized or not), there should be a convention. Currently, this PR, that has a focus on fixing word casing inconsistencies, is doing the opposite, by changing some instances of Id
to ID
and leaving others as they are. Either all instances of the word in this PR should be ID
or all should be Id
.
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.
well, agree to disagree. I am happy to conform to conventions, but these are completely unnecessary and gratuit. I am leaving this with the embedded English speaker(s) ;)
plugins/network-elements/netscaler/src/main/java/com/cloud/api/commands/StopNetScalerVMCmd.java
Show resolved
Hide resolved
@blueorangutan package |
@jbampton a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 11340 |
@blueorangutan package |
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 11418 |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
@blueorangutan package |
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
@GaOrtiga @FelipeM525 @JoaoJandre , @jbampton is the only native english speaker active on this ticket. As contributor we have are specialities and as coders we get to decide on coding stardards, but not on English language standards, so I suggest we go with @jbampton 's suggestions where it come to log messages. What do you guys think? |
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 11864 |
@DaanHoogland, what @FelipeM525 and @GaOrtiga were pointing out in this comment #9132 (comment), is that, in some changed lines, the abbreviation (it is not an acronym) ID is left as I agree that the correct abbreviation is ID, and not Id, and thus, my suggestion is to change all occurrences of Id to ID (at least in the lines that this PR is touching). In any case, I would refrain from going for "argumentum ad verecundiam", as this is not a healthy way of solving conflicts in a community. @jbampton may be a native speaker, but he is not perfect, and non-native speakers may catch errors in his English nonetheless. |
@jbampton (cc @JoaoJandre ) is there anything to discuss on this or a guideline to codify somewhere, still? Is it maybe possible to split this PR into smaller chunks so we can merge the parts where no discussion is being held about? |
@DaanHoogland I think we all agree that the abbreviation for |
If nothing is blocking this PR anymore, no (cc @FelipeM525 ) |
@DaanHoogland , in my last message I pointed out that there are parts of the PR where ID is written as "ID", and some other parts where it is written as "Id". I mean, that is what we all (me, @FelipeM525 and @GaOrtiga) have been pointing out so far. We are trying to say that the author should fix it. |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
Description
This PR cleans up the code base and standardizes some terms for casing.
Fixes in exception messages, log messages, code comments and more.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?