-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #9132 +/- ##
=========================================
Coverage 17.46% 17.46%
Complexity 15516 15516
=========================================
Files 5913 5913
Lines 529385 529385
Branches 64679 64679
=========================================
+ Hits 92448 92450 +2
+ Misses 426518 426517 -1
+ Partials 10419 10418 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
DaanHoogland
left a comment
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>
| 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. |
|
[SF] Trillian test result (tid-14376)
|
|
@daviftorres , you are right, but I think we should merge and create new PRs for any remaining issues. This has been suffering scope creep a lot so far and isn’t functionally crippled. |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
@FelipeM525 @JoaoJandre please have another look |
Co-authored-by: Davi Torres <90287660+daviftorres@users.noreply.github.com>
|
I think we can go through with this now, further improvements can be done in separate PRs |
| @Override | ||
| public void execute() throws ConcurrentOperationException, ResourceUnavailableException { | ||
| CallContext.current().setEventDetails("Internal lb vm Id: " + getId()); | ||
| CallContext.current().setEventDetails("Internal lb VM Id: " + 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("Internal lb VM Id: " + getId()); | |
| CallContext.current().setEventDetails("Internal lb VM ID: " + getId()); |
| @Override | ||
| public void execute() { | ||
| CallContext.current().setEventDetails("Vm Id: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); | ||
| CallContext.current().setEventDetails("VM Id: " + this._uuidMgr.getUuid(VirtualMachine.class, 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: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); | |
| CallContext.current().setEventDetails("VM ID: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); |
| @Override | ||
| public void execute() { | ||
| CallContext.current().setEventDetails("Vm Id: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); | ||
| CallContext.current().setEventDetails("VM Id: " + this._uuidMgr.getUuid(VirtualMachine.class, 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: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); | |
| CallContext.current().setEventDetails("VM ID: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); |
| @Override | ||
| public void execute() { | ||
| CallContext.current().setEventDetails("SystemVm Id: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); | ||
| CallContext.current().setEventDetails("SystemVM Id: " + this._uuidMgr.getUuid(VirtualMachine.class, 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("SystemVM Id: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); | |
| CallContext.current().setEventDetails("SystemVM ID: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); |
| @Override | ||
| public void execute() { | ||
| CallContext.current().setEventDetails("Vm Id: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); | ||
| CallContext.current().setEventDetails("VM Id: " + this._uuidMgr.getUuid(VirtualMachine.class, 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: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); | |
| CallContext.current().setEventDetails("VM ID: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); |
| UserVm result; | ||
|
|
||
| CallContext.current().setEventDetails("Vm Id: " + getEntityUuid()); | ||
| CallContext.current().setEventDetails("VM Id: " + getEntityUuid()); |
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: " + getEntityUuid()); | |
| CallContext.current().setEventDetails("VM ID: " + getEntityUuid()); |
| @Override | ||
| public void execute() { | ||
| CallContext.current().setEventDetails("Vm Id: " + this._uuidMgr.getUuid(VirtualMachine.class, getVmId()) + " Network Id: " + this._uuidMgr.getUuid(Network.class, getNetworkId())); | ||
| CallContext.current().setEventDetails("VM Id: " + this._uuidMgr.getUuid(VirtualMachine.class, getVmId()) + " Network Id: " + this._uuidMgr.getUuid(Network.class, getNetworkId())); |
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: " + this._uuidMgr.getUuid(VirtualMachine.class, getVmId()) + " Network Id: " + this._uuidMgr.getUuid(Network.class, getNetworkId())); | |
| CallContext.current().setEventDetails("VM ID: " + this._uuidMgr.getUuid(VirtualMachine.class, getVmId()) + " Network Id: " + this._uuidMgr.getUuid(Network.class, getNetworkId())); |
| @Override | ||
| public void execute() { | ||
| CallContext.current().setEventDetails("Vm Id: " + getVirtualMachineId() + " ISO ID: " + getId()); | ||
| CallContext.current().setEventDetails("VM Id: " + getVirtualMachineId() + " ISO ID: " + 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: " + getVirtualMachineId() + " ISO ID: " + getId()); | |
| CallContext.current().setEventDetails("VM ID: " + getVirtualMachineId() + " ISO ID: " + getId()); |
| @Override | ||
| public void execute() throws ResourceUnavailableException, ConcurrentOperationException { | ||
| CallContext.current().setEventDetails("Vm Id: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); | ||
| CallContext.current().setEventDetails("VM Id: " + this._uuidMgr.getUuid(VirtualMachine.class, 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: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); | |
| CallContext.current().setEventDetails("VM ID: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); |
| @Override | ||
| public void execute() { | ||
| CallContext.current().setEventDetails("Vm Id: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); | ||
| CallContext.current().setEventDetails("VM Id: " + this._uuidMgr.getUuid(VirtualMachine.class, 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: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); | |
| CallContext.current().setEventDetails("VM ID: " + this._uuidMgr.getUuid(VirtualMachine.class, getId())); |
|
@JoaoJandre shall we keep building for another 1.5 years and keep fixing conflicts and adding more commits and doing more reviews with further nits ? We already have 500 open issues and 200 open PRs that are not merged. Constantly adding more is scope creep. Big PRs are harder to review and test. |
|
@jbampton, the PR description states that: "This PR cleans up the code base and standardizes some terms for casing." On line 106 of api/src/main/java/org/apache/cloudstack/api/command/admin/internallb/StartInternalLBVMCmd.java, you changed "Vm Id" to "VM ID". However, on the rest of the changes, you changed "Vm Id" to "VM Id". This inconsistency was brough up over a year ago and still was not changed. I am not scope creeping the PR, I have only asked for a single change, one that keeps the PR consistent. Furthermore, this PR could have been merged over a year ago, but you waited more than year to comment. The change I am asking is simple, and has been the same from the very start. You have no right to complain about the delay on the PR. |
|
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?