You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bb...@apache.org on 2018/07/24 12:50:20 UTC

[1/5] mesos git commit: Mentioned linters `mesos-style.py` and `mesos-tidy.sh` in style guide.

Repository: mesos
Updated Branches:
  refs/heads/master 404500308 -> 0519403ec


Mentioned linters `mesos-style.py` and `mesos-tidy.sh` in style guide.

Review: https://reviews.apache.org/r/67924/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/395d5414
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/395d5414
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/395d5414

Branch: refs/heads/master
Commit: 395d5414e84a6a17738d43e3aaf19b0fd857d3b3
Parents: 4045003
Author: Benjamin Bannier <be...@mesosphere.io>
Authored: Tue Jul 24 11:49:19 2018 +0200
Committer: Benjamin Bannier <bb...@apache.org>
Committed: Tue Jul 24 11:49:19 2018 +0200

----------------------------------------------------------------------
 docs/c++-style-guide.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/395d5414/docs/c++-style-guide.md
----------------------------------------------------------------------
diff --git a/docs/c++-style-guide.md b/docs/c++-style-guide.md
index 0b1fdf2..8a48afe 100644
--- a/docs/c++-style-guide.md
+++ b/docs/c++-style-guide.md
@@ -5,7 +5,9 @@ layout: documentation
 
 # Mesos C++ Style Guide
 
-The Mesos codebase follows the [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html) with some notable differences, as described below. Note that the [clang-format](clang-format.md) tool can be helpful to ensure that some of the mechanical style rules are obeyed.
+The Mesos codebase follows the [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html) with some notable differences, as described below.
+
+Note that the [clang-format](clang-format.md) tool can be helpful to ensure that some of the mechanical style rules are obeyed. Commits should be checked with the script `support/mesos-style.py` for high-level conformance, or with `support/mesos-tidy.sh` for conformance to low-level expectations.
 
 ## Scoping
 


[5/5] mesos git commit: Fixed image link in docker volume isolator docs.

Posted by bb...@apache.org.
Fixed image link in docker volume isolator docs.

Review: https://reviews.apache.org/r/67925/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0519403e
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0519403e
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/0519403e

Branch: refs/heads/master
Commit: 0519403ecb22382b8ade0f776a2aa1851d16fd6b
Parents: 36265a6
Author: Benjamin Bannier <be...@mesosphere.io>
Authored: Tue Jul 24 12:36:00 2018 +0200
Committer: Benjamin Bannier <bb...@apache.org>
Committed: Tue Jul 24 12:36:00 2018 +0200

----------------------------------------------------------------------
 docs/isolators/docker-volume.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/0519403e/docs/isolators/docker-volume.md
----------------------------------------------------------------------
diff --git a/docs/isolators/docker-volume.md b/docs/isolators/docker-volume.md
index f34b8fa..58db84a 100644
--- a/docs/isolators/docker-volume.md
+++ b/docs/isolators/docker-volume.md
@@ -51,7 +51,7 @@ orchestrate containers on a wide variety of external storage technologies.
 
 ## <a name="how-does-it-work"></a>How does it work?
 
-![Docker Volume Isolator Architecture](../images/docker-volume-isolator.png)
+![Docker Volume Isolator Architecture](images/docker-volume-isolator.png)
 
 The `docker/volume` isolator interacts with Docker volume plugins using
 [dvdcli](https://github.com/emccode/dvdcli), an open-source command line tool


[2/5] mesos git commit: Fixed breadcrumb links in site templates.

Posted by bb...@apache.org.
Fixed breadcrumb links in site templates.

This patch makes sure that we do not leak newlines into breadcrumb
links created from page titles, and fixes the handling of spaces which
are represented with dashes.

Review: https://reviews.apache.org/r/67903/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/859e9079
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/859e9079
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/859e9079

Branch: refs/heads/master
Commit: 859e90795b237f36b78ecf2a660d182d2d4a2f92
Parents: 395d541
Author: Benjamin Bannier <be...@mesosphere.io>
Authored: Tue Jul 24 12:35:19 2018 +0200
Committer: Benjamin Bannier <bb...@apache.org>
Committed: Tue Jul 24 12:35:19 2018 +0200

----------------------------------------------------------------------
 site/source/layouts/basic.erb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/859e9079/site/source/layouts/basic.erb
----------------------------------------------------------------------
diff --git a/site/source/layouts/basic.erb b/site/source/layouts/basic.erb
index fc59f00..fa95fcd 100644
--- a/site/source/layouts/basic.erb
+++ b/site/source/layouts/basic.erb
@@ -70,12 +70,12 @@
 
           <li><a href="http://mesos.apache.org">Apache Mesos</a></li>
           <% if current_page.data.breadcrumb %>
-          <li><a href="/<%= current_page.data.breadcrumb.delete(' ').downcase %>/"><%= current_page.data.breadcrumb %></a></li>
+          <li><a href="/<%= current_page.data.breadcrumb.chomp.gsub(/\s+/, '-').downcase %>/"><%= current_page.data.breadcrumb %></a></li>
           <% elsif content_for?(:page_title) %>
           <% if yield_content(:page_title) == "Documentation" %>
           <li><a href="/documentation/latest/"><%= yield_content :page_title %></a></li>
           <% else %>
-          <li><a href="/<%= yield_content(:page_title).downcase %>/"><%= yield_content :page_title %></a></li>
+          <li><a href="/<%= yield_content(:page_title).downcase.chomp %>/"><%= yield_content(:page_title).chop %></a></li>
           <% end %>
           <% end %>
         </ul><!-- /.breadcrumb -->


[3/5] mesos git commit: Fixed documentation links.

Posted by bb...@apache.org.
Fixed documentation links.

Review: https://reviews.apache.org/r/67904/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/fdbe0a71
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/fdbe0a71
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/fdbe0a71

Branch: refs/heads/master
Commit: fdbe0a710248a709b91f79ae18069f38d5d3559c
Parents: 859e907
Author: Benjamin Bannier <be...@mesosphere.io>
Authored: Tue Jul 24 12:35:25 2018 +0200
Committer: Benjamin Bannier <bb...@apache.org>
Committed: Tue Jul 24 12:35:25 2018 +0200

----------------------------------------------------------------------
 docs/cni.md                                                  | 4 ++--
 docs/csi.md                                                  | 8 ++++----
 docs/home.md                                                 | 2 +-
 docs/modules.md                                              | 4 ++--
 docs/performance-profiling.md                                | 4 ++--
 .../blog/2014-05-29-mesos-0-18-1-and-0-18-2-released.md      | 2 +-
 site/source/blog/2017-03-08-mesos-1-2-0-released.md          | 2 +-
 .../blog/2017-12-12-storage-developments-in-apache-mesos.md  | 2 +-
 site/source/community.html.md                                | 2 +-
 9 files changed, 15 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/fdbe0a71/docs/cni.md
----------------------------------------------------------------------
diff --git a/docs/cni.md b/docs/cni.md
index 73b0e64..4a0e0bf 100644
--- a/docs/cni.md
+++ b/docs/cni.md
@@ -23,7 +23,7 @@ default.
   - [Adding/Deleting/Modifying CNI networks](#adding-modifying-deleting)
   - [Attaching containers to CNI networks](#attaching-containers-to-cni-networks)
   - [Accessing container network namespace](#accessing-container-network-namespace)
-  - [Passing network labels and port-mapping information to CNI plugins](#mesos-meta-data-to-cni-plugins)
+  - [Passing network labels and port-mapping information to CNI plugins](#passing-network-labels-and-port-mapping-information-to-cni-plugins)
 - [Networking Recipes](#networking-recipes)
   - [A bridge network](#a-bridge-network)
   - [A port-mapper plugin for CNI networks](#a-port-mapper-plugin)
@@ -467,7 +467,7 @@ port-mapping information itself is learned by looking at the
 `NetworkInfo` set in the `args` field of the CNI configuration passed
 by Mesos to the port-mapper plugin. Please refer to the "[Passing
 network labels and port-mapping information to CNI
-plugins](#mesos-meta-data-to-cni-plugins)" section for more details.
+plugins](#passing-network-labels-and-port-mapping-information-to-cni-plugins)" section for more details.
 
 #### <a name="a-calico-network">A Calico network</a>
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/fdbe0a71/docs/csi.md
----------------------------------------------------------------------
diff --git a/docs/csi.md b/docs/csi.md
index 7c38fc1..5f50ee9 100644
--- a/docs/csi.md
+++ b/docs/csi.md
@@ -199,8 +199,8 @@ been added to the [scheduler API](scheduler-http-api.md#accept):
 
 To learn how to use the offer operations, please refer to the
 [`ACCEPT`](scheduler-http-api.md#accept) Call in the v1 scheduler API, or
-[`acceptOffers`](app-framework-development-guide.md#scheduler-driver-api) method
-in the v0 scheduler API for more details.
+[`acceptOffers`](app-framework-development-guide.md#api) method in the v0
+scheduler API for more details.
 
 ```protobuf
 message Offer {
@@ -366,7 +366,7 @@ than low-level storage vendor specific parameters.
 ### Disk Profile Adaptor Module
 
 In order to let cluster operators customize the mapping between profiles and
-storage system-specific parameters, Mesos provides a [module](#modules.md)
+storage system-specific parameters, Mesos provides a [module](modules.md)
 interface called `DiskProfileAdaptor`.
 
 ```cpp
@@ -834,5 +834,5 @@ provided by the Mesos agent. See more details about standalone container in the
   different agent node. The external disk resources support is coming soon.
 * The CSI plugin container cannot be a Docker container yet. Storage vendors
   currently should package the CSI plugins in binary format and use the
-  [fetcher](#fetcher.md) to fetch the binary executable.
+  [fetcher](fetcher.md) to fetch the binary executable.
 * `BLOCK` type disk resources are not supported yet.

http://git-wip-us.apache.org/repos/asf/mesos/blob/fdbe0a71/docs/home.md
----------------------------------------------------------------------
diff --git a/docs/home.md b/docs/home.md
index 770217f..029b8cd 100644
--- a/docs/home.md
+++ b/docs/home.md
@@ -96,7 +96,7 @@ layout: documentation
 * [3rd Party Tools](tools.md) for developers and operators.
 * [Development Roadmap](roadmap.md)
 * [Design Docs](design-docs.md) list of design documents for various Mesos features.
-* [Working groups](working-groups.md) a listing of groups working on different components.
+* [Working groups](/community/#workinggroups) a listing of groups working on different components.
 
 ### Contributing
 * [Reporting an Issue, Improvement, or Feature](reporting-an-issue.md) for getting started with JIRA.

http://git-wip-us.apache.org/repos/asf/mesos/blob/fdbe0a71/docs/modules.md
----------------------------------------------------------------------
diff --git a/docs/modules.md b/docs/modules.md
index d3e3017..2c563ec 100644
--- a/docs/modules.md
+++ b/docs/modules.md
@@ -137,8 +137,8 @@ Here are the various module kinds currently available.
 | [`HttpAuthenticatee`](#authentication)              | Provides the client side of an HTTP authentication.                     |
 | [`HttpAuthenticator`](#authentication)              | Provides the server side of an HTTP authentication.                     |
 | [`Isolator`](#isolator)                             | Enables experimenting with specialized isolation and monitoring.        |
-| [`MasterContender`](#master_contender_and_detector) | Contender modules allow implementing custom leader election mechanisms. |
-| [`MasterDetector`](#master_contender_and_detector)  | Detector modules allow implementing custom master detection mechanisms. |
+| [`MasterContender`](#master-contender-and-detector) | Contender modules allow implementing custom leader election mechanisms. |
+| [`MasterDetector`](#master-contender-and-detector)  | Detector modules allow implementing custom master detection mechanisms. |
 | `QoSController`                                     | QoS modules allow providing task performance guarantees.                |
 | `ResourceEstimator`                                 | Estimator modules allow predicting the resources total used.            |
 | `SecretResolver`                                    | Secret resolver modules allow interfacing with secure data providers.   |

http://git-wip-us.apache.org/repos/asf/mesos/blob/fdbe0a71/docs/performance-profiling.md
----------------------------------------------------------------------
diff --git a/docs/performance-profiling.md b/docs/performance-profiling.md
index b3608a1..7d13c7e 100644
--- a/docs/performance-profiling.md
+++ b/docs/performance-profiling.md
@@ -17,6 +17,6 @@ $ sudo perf script --header | c++filt > mesos-master.stacks
 $ gzip mesos-master.stacks
 ```
 
-If you'd like to solicit help in analyzing the performance data, upload the `mesos-master.stacks.gz` to a publicly accessible location and file with `dev@mesos.apache.org` for analysis, or send the file over [slack](mesos.slack.com) to the #performance channel.
+If you'd like to solicit help in analyzing the performance data, upload the `mesos-master.stacks.gz` to a publicly accessible location and file with `dev@mesos.apache.org` for analysis, or send the file over [slack](http://mesos.slack.com) to the #performance channel.
 
-Alternatively, to do the analysis yourself, place mesos-master.stacks into the `examples` folder of a flamescope git checkout.
\ No newline at end of file
+Alternatively, to do the analysis yourself, place mesos-master.stacks into the `examples` folder of a flamescope git checkout.

http://git-wip-us.apache.org/repos/asf/mesos/blob/fdbe0a71/site/source/blog/2014-05-29-mesos-0-18-1-and-0-18-2-released.md
----------------------------------------------------------------------
diff --git a/site/source/blog/2014-05-29-mesos-0-18-1-and-0-18-2-released.md b/site/source/blog/2014-05-29-mesos-0-18-1-and-0-18-2-released.md
index 4debcba..1f5ce75 100644
--- a/site/source/blog/2014-05-29-mesos-0-18-1-and-0-18-2-released.md
+++ b/site/source/blog/2014-05-29-mesos-0-18-1-and-0-18-2-released.md
@@ -27,4 +27,4 @@ If upgrading from earlier versions than 0.18.0, please refer to the [Upgrades](h
 
 ### Getting Involved
 
-We encourage you to try out this release, and let us know what you think on the [user mailing list](user@mesos.apache.org). You can also get in touch with us via [@ApacheMesos](https://twitter.com/intent/user?screen_name=ApacheMesos) or via [mailing lists and IRC](https://mesos.apache.org/community).
\ No newline at end of file
+We encourage you to try out this release, and let us know what you think on the [user mailing list](mailto:user@mesos.apache.org). You can also get in touch with us via [@ApacheMesos](https://twitter.com/intent/user?screen_name=ApacheMesos) or via [mailing lists and IRC](https://mesos.apache.org/community).

http://git-wip-us.apache.org/repos/asf/mesos/blob/fdbe0a71/site/source/blog/2017-03-08-mesos-1-2-0-released.md
----------------------------------------------------------------------
diff --git a/site/source/blog/2017-03-08-mesos-1-2-0-released.md b/site/source/blog/2017-03-08-mesos-1-2-0-released.md
index 4edb977..cf6866e 100644
--- a/site/source/blog/2017-03-08-mesos-1-2-0-released.md
+++ b/site/source/blog/2017-03-08-mesos-1-2-0-released.md
@@ -21,7 +21,7 @@ The latest Mesos release, 1.2.0, is now available for [download](/downloads). Th
     The isolator adds support for setting POSIX resource limits (rlimits) for
     containers launched using the Mesos containerizer. POSIX rlimits can be used
     to control the resources a process can consume. See
-    [docs](/documentation/latest/posix_rlimits) for details.
+    [docs](/documentation/latest/isolators/posix-rlimits/) for details.
 
   * [MESOS-6419](https://issues.apache.org/jira/browse/MESOS-6419) -
     **Experimental**: Teardown unregistered frameworks. The master

http://git-wip-us.apache.org/repos/asf/mesos/blob/fdbe0a71/site/source/blog/2017-12-12-storage-developments-in-apache-mesos.md
----------------------------------------------------------------------
diff --git a/site/source/blog/2017-12-12-storage-developments-in-apache-mesos.md b/site/source/blog/2017-12-12-storage-developments-in-apache-mesos.md
index 5dfe6c2..2df6a66 100644
--- a/site/source/blog/2017-12-12-storage-developments-in-apache-mesos.md
+++ b/site/source/blog/2017-12-12-storage-developments-in-apache-mesos.md
@@ -32,7 +32,7 @@ The other thing I’m excited about is that we have a solution that allows a ven
 
 **Greg**: How can community members get involved going forward?
 <br>
-**Jie**: Well, there are multiple avenues. For storage vendors, you can write a CSI plugin and test it with Mesos. For Mesos users, please try out this feature! And if you want to contribute to the coding, you can reach out on the [mailing list](dev@apache.mesos.org). Hopefully we can organize a storage working group in the near future once the feature lands.
+**Jie**: Well, there are multiple avenues. For storage vendors, you can write a CSI plugin and test it with Mesos. For Mesos users, please try out this feature! And if you want to contribute to the coding, you can reach out on the [mailing list](mailto:dev@apache.mesos.org). Hopefully we can organize a storage working group in the near future once the feature lands.
 
 **Greg**: What’s next after Mesos 1.6?
 <br>

http://git-wip-us.apache.org/repos/asf/mesos/blob/fdbe0a71/site/source/community.html.md
----------------------------------------------------------------------
diff --git a/site/source/community.html.md b/site/source/community.html.md
index 3125565..48b41a9 100644
--- a/site/source/community.html.md
+++ b/site/source/community.html.md
@@ -143,7 +143,7 @@ layout: community_section
               Community
             </td>
             <td>
-              <a href="vinodkone@apache.org">Vinod Kone</a>
+              <a href="mailto:vinodkone@apache.org">Vinod Kone</a>
             </td>
             <td>
               #community


[4/5] mesos git commit: Added missing anchor.

Posted by bb...@apache.org.
Added missing anchor.

Review: https://reviews.apache.org/r/67905/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/36265a69
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/36265a69
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/36265a69

Branch: refs/heads/master
Commit: 36265a6912922c3a0b1a0758b38d8ea4d01b7c77
Parents: fdbe0a7
Author: Benjamin Bannier <be...@mesosphere.io>
Authored: Tue Jul 24 12:35:47 2018 +0200
Committer: Benjamin Bannier <bb...@apache.org>
Committed: Tue Jul 24 12:35:47 2018 +0200

----------------------------------------------------------------------
 docs/upgrades.md | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/36265a69/docs/upgrades.md
----------------------------------------------------------------------
diff --git a/docs/upgrades.md b/docs/upgrades.md
index 8bf2d8c..f3cf0b0 100644
--- a/docs/upgrades.md
+++ b/docs/upgrades.md
@@ -596,6 +596,7 @@ We categorize the changes as follows:
 
 * Support for deprecated ACL `shutdown_frameworks` has been removed from the local authorizer. Before upgrading the Mesos binaries, replace all instances of the ACL `shutdown_frameworks` with the newer ACL `teardown_frameworks`. After updating the ACLs, the binaries can be safely replaced.
 
+<a name="1-3-x-multi-role-support"></a>
 <a name="1-3-x-framework-info-role"></a>
 
 * Support for multi-role frameworks deprecates the `FrameworkInfo.role` field in favor of `FrameworkInfo.roles` and the `MULTI_ROLE` capability. Frameworks using the new field can continue to use a single role.