You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2017/03/10 00:29:30 UTC
[1/3] beam-site git commit: Fix possible erranous naming conventions
reference
Repository: beam-site
Updated Branches:
refs/heads/asf-site 7b78cc342 -> 8b046d48a
Fix possible erranous naming conventions reference
Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/9cdf959c
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/9cdf959c
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/9cdf959c
Branch: refs/heads/asf-site
Commit: 9cdf959c9a6fa18d1401b03fdd6815986e3b6030
Parents: 7b78cc3
Author: Zur, Aviem <az...@paypal.com>
Authored: Sat Mar 4 14:01:45 2017 +0200
Committer: Davor Bonaci <da...@google.com>
Committed: Thu Mar 9 16:26:27 2017 -0800
----------------------------------------------------------------------
src/contribute/ptransform-style-guide.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam-site/blob/9cdf959c/src/contribute/ptransform-style-guide.md
----------------------------------------------------------------------
diff --git a/src/contribute/ptransform-style-guide.md b/src/contribute/ptransform-style-guide.md
index 583f264..8bcb2d9 100644
--- a/src/contribute/ptransform-style-guide.md
+++ b/src/contribute/ptransform-style-guide.md
@@ -41,7 +41,7 @@ Do not:
Do:
-* Respect language-specific naming conventions, e.g. name classes in `CamelCase` in Java and Python, functions in `snakeCase` in Java but `with_underscores` in Python, etc.
+* Respect language-specific naming conventions, e.g. name classes in `PascalCase` in Java and Python, functions in `camelCase` in Java but `snake_case` in Python, etc.
* Name factory functions so that either the function name is a verb, or referring to the transform reads like a verb: e.g. `MongoDbIO.read()`, `Flatten.iterables()`.
* In typed languages, name `PTransform` classes also like verbs (e.g.: `MongoDbIO.Read`, `Flatten.Iterables`).
* Name families of transforms for interacting with a storage system using the word "IO": `MongoDbIO`, `JdbcIO`.
[2/3] beam-site git commit: Regenerate website
Posted by da...@apache.org.
Regenerate website
Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/07748b57
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/07748b57
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/07748b57
Branch: refs/heads/asf-site
Commit: 07748b578f352ed0a84f244b8f37f7928df27d1f
Parents: 9cdf959
Author: Davor Bonaci <da...@google.com>
Authored: Thu Mar 9 16:29:14 2017 -0800
Committer: Davor Bonaci <da...@google.com>
Committed: Thu Mar 9 16:29:14 2017 -0800
----------------------------------------------------------------------
content/contribute/ptransform-style-guide/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam-site/blob/07748b57/content/contribute/ptransform-style-guide/index.html
----------------------------------------------------------------------
diff --git a/content/contribute/ptransform-style-guide/index.html b/content/contribute/ptransform-style-guide/index.html
index 3006e9e..9e61954 100644
--- a/content/contribute/ptransform-style-guide/index.html
+++ b/content/contribute/ptransform-style-guide/index.html
@@ -240,7 +240,7 @@ As a rule of thumb: expose these if you anticipate that the full packaged <code
<p>Do:</p>
<ul>
- <li>Respect language-specific naming conventions, e.g. name classes in <code class="highlighter-rouge">CamelCase</code> in Java and Python, functions in <code class="highlighter-rouge">snakeCase</code> in Java but <code class="highlighter-rouge">with_underscores</code> in Python, etc.</li>
+ <li>Respect language-specific naming conventions, e.g. name classes in <code class="highlighter-rouge">PascalCase</code> in Java and Python, functions in <code class="highlighter-rouge">camelCase</code> in Java but <code class="highlighter-rouge">snake_case</code> in Python, etc.</li>
<li>Name factory functions so that either the function name is a verb, or referring to the transform reads like a verb: e.g. <code class="highlighter-rouge">MongoDbIO.read()</code>, <code class="highlighter-rouge">Flatten.iterables()</code>.</li>
<li>In typed languages, name <code class="highlighter-rouge">PTransform</code> classes also like verbs (e.g.: <code class="highlighter-rouge">MongoDbIO.Read</code>, <code class="highlighter-rouge">Flatten.Iterables</code>).</li>
<li>Name families of transforms for interacting with a storage system using the word \u201cIO\u201d: <code class="highlighter-rouge">MongoDbIO</code>, <code class="highlighter-rouge">JdbcIO</code>.</li>
[3/3] beam-site git commit: This closes #170
Posted by da...@apache.org.
This closes #170
Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/8b046d48
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/8b046d48
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/8b046d48
Branch: refs/heads/asf-site
Commit: 8b046d48ac663abb2699b57ffe783042ab3bea2d
Parents: 7b78cc3 07748b5
Author: Davor Bonaci <da...@google.com>
Authored: Thu Mar 9 16:29:15 2017 -0800
Committer: Davor Bonaci <da...@google.com>
Committed: Thu Mar 9 16:29:15 2017 -0800
----------------------------------------------------------------------
content/contribute/ptransform-style-guide/index.html | 2 +-
src/contribute/ptransform-style-guide.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------