You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by me...@apache.org on 2018/03/22 16:13:11 UTC

[beam-site] branch asf-site updated (2fee375 -> b9082bf)

This is an automated email from the ASF dual-hosted git repository.

mergebot-role pushed a change to branch asf-site
in repository https://gitbox.apache.org/repos/asf/beam-site.git.


    from 2fee375  Prepare repository for deployment.
     add e462052  Add instructions on how to build and use the Python tarball.
     add c0ffea9  This closes #404
     new b9082bf  Prepare repository for deployment.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 content/contribute/contribution-guide/index.html | 23 ++++++++++++++++++++++-
 src/contribute/contribution-guide.md             | 20 ++++++++++++++++++++
 2 files changed, 42 insertions(+), 1 deletion(-)

-- 
To stop receiving notification emails like this one, please contact
mergebot-role@apache.org.

[beam-site] 01/01: Prepare repository for deployment.

Posted by me...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mergebot-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/beam-site.git

commit b9082bfdf71bc59bb40cb04fefcbc1f174b0b2a5
Author: Mergebot <me...@apache.org>
AuthorDate: Thu Mar 22 09:13:09 2018 -0700

    Prepare repository for deployment.
---
 content/contribute/contribution-guide/index.html | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/content/contribute/contribution-guide/index.html b/content/contribute/contribution-guide/index.html
index fa8ebe8..96e09a4 100644
--- a/content/contribute/contribution-guide/index.html
+++ b/content/contribute/contribution-guide/index.html
@@ -158,6 +158,7 @@
       <li><a href="#one-time-setup">One-time Setup</a></li>
       <li><a href="#create-a-branch-in-your-fork">Create a branch in your fork</a></li>
       <li><a href="#syncing-and-pushing-your-branch">Syncing and pushing your branch</a></li>
+      <li><a href="#building">Building</a></li>
       <li><a href="#testing">Testing</a></li>
     </ul>
   </li>
@@ -399,6 +400,26 @@ push. You’ll run:</p>
 </code></pre>
 </div>
 
+<h3 id="building">Building</h3>
+
+<h4 id="python-sdk">Python SDK</h4>
+
+<p>Before testing SDK code changes remotely, you must build the Beam tarball. From
+the root of the git repository, run:</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>cd sdks/python/
+python setup.py sdist
+</code></pre>
+</div>
+
+<p>Pass the <code class="highlighter-rouge">--sdk_location</code> flag to use the newly built version. For example:</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>python setup.py sdist &gt; /dev/null &amp;&amp; \
+    python -m apache_beam.examples.wordcount ... \
+        --sdk_location dist/apache-beam-2.5.0.dev0.tar.gz
+</code></pre>
+</div>
+
 <h3 id="testing">Testing</h3>
 
 <p>All code should have appropriate unit testing coverage. New code should have
@@ -413,7 +434,7 @@ to prevent the issue from reoccurring.</p>
 </code></pre>
 </div>
 
-<h4 id="python-sdk">Python SDK</h4>
+<h4 id="python-sdk-1">Python SDK</h4>
 
 <p>For contributions to the Python code, you can use command given below to run
 unit tests locally. If you update any of the <a href="http://cython.org">cythonized</a>

-- 
To stop receiving notification emails like this one, please contact
mergebot-role@apache.org.