Skip to content
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

Correct spelling errors in the docs #256

Closed
wants to merge 4 commits into from

Conversation

pleia2
Copy link

@pleia2 pleia2 commented Jan 12, 2018

No description provided.

The Beijing, Sevilla, Albany and Austin MUGs no longer exist on
Meetup, removing.
Copy link
Contributor

@bmahler bmahler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just a couple of suggestions for "iff" and "acknowledgements".

@@ -20,7 +20,7 @@ Query parameters:


### AUTHENTICATION ###
This endpoint requires authentication iff HTTP authentication is
This endpoint requires authentication if HTTP authentication is
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should leave as 'iff' since this is a short form of "if and only if". Ditto on the other cases.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it is documentation, would it be better not to use acronym ? So that translation of the documentation maybe access by machine or the reader easier.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, however this file is actually generated from source, so the change would need to be made there:
https://github.com/apache/mesos/blob/1.4.0/src/files/files.cpp#L352-L371
https://github.com/apache/mesos/blob/1.4.0/3rdparty/libprocess/include/process/help.hpp#L82-L90

I think @bbannier was looking into whether we could remove generated markdown since they're no longer needed. We now generate them at the time of publishing the website.

Copy link
Contributor

@bbannier bbannier Jan 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created https://issues.apache.org/jira/browse/MESOS-8442 to track removal of these files; the fix is in principle trivial, we just need to make sure to not break existing tooling.

Regarding this change, I was educated by a native speaker that the spelling here is actually valid and intended when I tried to perform a similar change, https://reviews.apache.org/r/46934/.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted, I wasn't familiar with this short form. I'll remove these edits.

@@ -91,13 +91,13 @@ virtual void offerRescinded(SchedulerDriver* driver, const OfferID& offerId);
* Invoked when the status of a task has changed (e.g., a slave is
* lost and so the task is lost, a task finishes and an executor
* sends a status update saying so, etc). If implicit
* acknowledgements are being used, then returning from this
* acknowledgments are being used, then returning from this
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm inclined to leave in the extra "e" since I believe both spellings are acceptable FWICT and we have more with the extra "e":

➜ mesos git:(master) ✗ grep -Ri acknowledgements src | wc -l
149
➜ mesos git:(master) ✗ grep -Ri acknowledgments src | wc -l
6

Ditto for the other cases.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I'll back out these adjustments.

@pleia2
Copy link
Author

pleia2 commented Jan 17, 2018

Being more familiar with Gerrit than GitHub with forks, I may have made a bit of a mess here, LMK if you want me to untangle this further or create a new PR, but I think it's generally where we need to be.

@bmahler
Copy link
Contributor

bmahler commented Jan 30, 2018

Hm.. I don't know if I'm looking at this right, but when I click 'Files Changed' I still see the "iff" and "acknowledgements" adjustments, so I wonder if your update took effect or if I'm not looking at the diff correctly?

@pleia2
Copy link
Author

pleia2 commented Jan 30, 2018

It seems the diff is unhelpfully showing the difference between the two commits, rather than from the source. Pulling it down to do a local squash and diff should show things properly.

@bmahler
Copy link
Contributor

bmahler commented Jan 30, 2018

Hm.. I'm unable to pull the patch down:

$ ./support/apply-reviews.py -g 256
Cookie coming from patch-diff.githubusercontent.com attempted to set domain to github.com
2018-01-30 14:41:09 URL:https://patch-diff.githubusercontent.com/raw/apache/mesos/pull/256.patch [96588] -> "256.patch" [1]
error: patch failed: site/source/community/user-groups.html.md:10
error: site/source/community/user-groups.html.md: patch does not apply
error: patch failed: docs/advanced-contribution.md:23
error: docs/advanced-contribution.md: patch does not apply
error: patch failed: docs/app-framework-development-guide.md:91
error: docs/app-framework-development-guide.md: patch does not apply
error: patch failed: docs/building.md:90
error: docs/building.md: patch does not apply
error: patch failed: docs/cmake.md:106
error: docs/cmake.md: patch does not apply
error: patch failed: docs/cni.md:202
error: docs/cni.md: patch does not apply
error: patch failed: docs/committing.md:24
error: docs/committing.md: patch does not apply
error: patch failed: docs/configuration/cmake.md:146
error: docs/configuration/cmake.md: patch does not apply
error: patch failed: docs/containerizers.md:38
error: docs/containerizers.md: patch does not apply
error: patch failed: docs/csi.md:177
error: docs/csi.md: patch does not apply
error: patch failed: docs/doxygen-style-guide.md:67
error: docs/doxygen-style-guide.md: patch does not apply
error: patch failed: docs/endpoints/files/browse.json.md:20
error: docs/endpoints/files/browse.json.md: patch does not apply
error: patch failed: docs/endpoints/files/browse.md:20
error: docs/endpoints/files/browse.md: patch does not apply
error: patch failed: docs/endpoints/files/debug.json.md:16
error: docs/endpoints/files/debug.json.md: patch does not apply
error: patch failed: docs/endpoints/files/debug.md:16
error: docs/endpoints/files/debug.md: patch does not apply
error: patch failed: docs/endpoints/files/download.json.md:20
error: docs/endpoints/files/download.json.md: patch does not apply
error: patch failed: docs/endpoints/files/download.md:20
error: docs/endpoints/files/download.md: patch does not apply
error: patch failed: docs/endpoints/files/read.json.md:21
error: docs/endpoints/files/read.json.md: patch does not apply
error: patch failed: docs/endpoints/files/read.md:21
error: docs/endpoints/files/read.md: patch does not apply
error: patch failed: docs/endpoints/master/create-volumes.md:31
error: docs/endpoints/master/create-volumes.md: patch does not apply
error: patch failed: docs/endpoints/master/destroy-volumes.md:31
error: docs/endpoints/master/destroy-volumes.md: patch does not apply
error: patch failed: docs/endpoints/master/flags.md:12
error: docs/endpoints/master/flags.md: patch does not apply
error: patch failed: docs/endpoints/master/frameworks.md:25
error: docs/endpoints/master/frameworks.md: patch does not apply
error: patch failed: docs/endpoints/master/health.md:12
error: docs/endpoints/master/health.md: patch does not apply
error: patch failed: docs/endpoints/master/quota.md:30
error: docs/endpoints/master/quota.md: patch does not apply
error: patch failed: docs/endpoints/master/reserve.md:31
error: docs/endpoints/master/reserve.md: patch does not apply
error: patch failed: docs/endpoints/master/roles.json.md:28
error: docs/endpoints/master/roles.json.md: patch does not apply
error: patch failed: docs/endpoints/master/roles.md:28
error: docs/endpoints/master/roles.md: patch does not apply
error: patch failed: docs/endpoints/master/slaves.md:29
error: docs/endpoints/master/slaves.md: patch does not apply
error: patch failed: docs/endpoints/master/state-summary.md:28
error: docs/endpoints/master/state-summary.md: patch does not apply
error: patch failed: docs/endpoints/master/state.md:97
error: docs/endpoints/master/state.md: patch does not apply
error: patch failed: docs/endpoints/master/tasks.json.md:34
error: docs/endpoints/master/tasks.json.md: patch does not apply
error: patch failed: docs/endpoints/master/tasks.md:34
error: docs/endpoints/master/tasks.md: patch does not apply
error: patch failed: docs/endpoints/master/teardown.md:25
error: docs/endpoints/master/teardown.md: patch does not apply
error: patch failed: docs/endpoints/master/unreserve.md:31
error: docs/endpoints/master/unreserve.md: patch does not apply
error: patch failed: docs/endpoints/master/weights.md:25
error: docs/endpoints/master/weights.md: patch does not apply
error: patch failed: docs/endpoints/metrics/snapshot.md:22
error: docs/endpoints/metrics/snapshot.md: patch does not apply
error: patch failed: docs/endpoints/profiler/start.md:15
error: docs/endpoints/profiler/start.md: patch does not apply
error: patch failed: docs/endpoints/profiler/stop.md:15
error: docs/endpoints/profiler/stop.md: patch does not apply
error: patch failed: docs/endpoints/registrar/registry.md:59
error: docs/endpoints/registrar/registry.md: patch does not apply
error: patch failed: docs/endpoints/slave/containers.md:49
error: docs/endpoints/slave/containers.md: patch does not apply
error: patch failed: docs/endpoints/slave/flags.md:12
error: docs/endpoints/slave/flags.md: patch does not apply
error: patch failed: docs/endpoints/slave/health.md:12
error: docs/endpoints/slave/health.md: patch does not apply
error: patch failed: docs/endpoints/slave/state.json.md:103
error: docs/endpoints/slave/state.json.md: patch does not apply
error: patch failed: docs/endpoints/slave/state.md:103
error: docs/endpoints/slave/state.md: patch does not apply
error: patch failed: docs/fetcher-cache-internals.md:65
error: docs/fetcher-cache-internals.md: patch does not apply
error: patch failed: docs/fetcher.md:18
error: docs/fetcher.md: patch does not apply
error: patch failed: docs/health-checks.md:211
error: docs/health-checks.md: patch does not apply
error: patch failed: docs/isolators/filesystem-shared.md:10
error: docs/isolators/filesystem-shared.md: patch does not apply
error: patch failed: docs/isolators/network-ports.md:49
error: docs/isolators/network-ports.md: patch does not apply
error: patch failed: docs/multiple-disk.md:22
error: docs/multiple-disk.md: patch does not apply
error: patch failed: docs/operator-http-api.md:4051
error: docs/operator-http-api.md: patch does not apply
error: patch failed: docs/reservation.md:92
error: docs/reservation.md: patch does not apply
error: patch failed: docs/upgrades.md:381
error: docs/upgrades.md: patch does not apply
error: patch failed: docs/versioning.md:52
error: docs/versioning.md: patch does not apply
error: patch failed: docs/windows.md:54
error: docs/windows.md: patch does not apply

@pleia2
Copy link
Author

pleia2 commented Jan 30, 2018

What a mess. I'll fiddle with my patch and see about submitting it over on the Review Board side.

@bmahler
Copy link
Contributor

bmahler commented Jan 30, 2018

Sorry about that, and thank you for your patience!

@pleia2 pleia2 closed this Feb 1, 2018
@pleia2 pleia2 deleted the pleia2/spellcheck branch February 1, 2018 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants