You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2015/04/26 03:19:10 UTC
[1/2] mesos git commit: Cleanups of the C++ style guide.
Repository: mesos
Updated Branches:
refs/heads/master 0f5c78fad -> 08acd8809
Cleanups of the C++ style guide.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/03549796
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/03549796
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/03549796
Branch: refs/heads/master
Commit: 0354979668e264f175fe258eebca042eba5a0e44
Parents: 0f5c78f
Author: Benjamin Hindman <be...@gmail.com>
Authored: Sat Apr 25 18:18:12 2015 -0700
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Sat Apr 25 18:18:12 2015 -0700
----------------------------------------------------------------------
docs/mesos-c++-style-guide.md | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/03549796/docs/mesos-c++-style-guide.md
----------------------------------------------------------------------
diff --git a/docs/mesos-c++-style-guide.md b/docs/mesos-c++-style-guide.md
index de1b93e..a9b56e3 100644
--- a/docs/mesos-c++-style-guide.md
+++ b/docs/mesos-c++-style-guide.md
@@ -48,7 +48,7 @@ allocator->resourcesRecovered(frameworkId, slaveId, resources, filters);
// 2: Don't use.
allocator->resourcesRecovered(frameworkId, slaveId,
- resources, filters);
+ resources, filters);
// 3: Don't use in this case due to "jaggedness".
allocator->resourcesRecovered(frameworkId,
@@ -92,8 +92,7 @@ We still support older compilers. The whitelist of supported C++11 features is:
* Static assertions.
* Multiple right angle brackets.
-* Type inference (`auto` and `decltype`). The main goal is to increase code readability. This is safely the case if the exact same type omitted on the left is already fully stated on the right.
-* Here are several examples:
+* Type inference (`auto` and `decltype`). The main goal is to increase code readability. This is safely the case if the exact same type omitted on the left is already fully stated on the right. Here are several examples:
<pre>
// 1: OK.
@@ -115,9 +114,9 @@ Try<Owned<LocalAuthorizer>> authorizer = LocalAuthorizer::create();
* Rvalue references.
* Variadic templates.
* Mutexes.
- * std::mutex.
- * std::lock_guard<std::mutex>.
- * std::unique_lock<std::mutex>.
+ * `std::mutex`
+ * `std::lock_guard<std::mutex>`
+ * `std::unique_lock<std::mutex>`
* Shared from this.
- * class T : public std::enable_shared_from_this<T>.
- * shared_from_this().
+ * `class T : public std::enable_shared_from_this<T>`
+ * `shared_from_this()`
[2/2] mesos git commit: Cleanups of the release guide documentation.
Posted by be...@apache.org.
Cleanups of the release guide documentation.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/08acd880
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/08acd880
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/08acd880
Branch: refs/heads/master
Commit: 08acd880921a107d2a83705842e5f260b89f31a3
Parents: 0354979
Author: Benjamin Hindman <be...@gmail.com>
Authored: Sat Apr 25 18:18:46 2015 -0700
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Sat Apr 25 18:18:46 2015 -0700
----------------------------------------------------------------------
docs/release-guide.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/08acd880/docs/release-guide.md
----------------------------------------------------------------------
diff --git a/docs/release-guide.md b/docs/release-guide.md
index 4db2024..781a6a4 100644
--- a/docs/release-guide.md
+++ b/docs/release-guide.md
@@ -23,7 +23,10 @@ This guide describes the process of doing an official release of Mesos.
4. Add your GPG fingerprint to your [Apache account](https://id.apache.org/).
5. Create a Maven settings file (`~/.m2/settings.xml`) for the Apache
- servers. Encrypt your Apache password using `mvn --encrypt-password`.
+ servers where you must copy your encrypted Apache password which
+ you can get from running `mvn --encrypt-password` (NOTE: you may
+ need to first generate a [master
+ password](http://maven.apache.org/guides/mini/guide-encryption.html).
```
<settings>
<servers>