Author: buildbot
Date: Wed Jan 4 16:04:05 2017
New Revision: 1004133
Log:
Staging update by buildbot for thrift
Modified:
websites/staging/thrift/trunk/content/ (props changed)
websites/staging/thrift/trunk/content/docs/committers/HowToThriftWebsite.html
websites/staging/thrift/trunk/content/docs/committers/HowToVersion.html
websites/staging/thrift/trunk/content/download.html
websites/staging/thrift/trunk/content/index.html
websites/staging/thrift/trunk/content/lib/go.html
websites/staging/thrift/trunk/content/lib/nodejs.html
websites/staging/thrift/trunk/content/test/ThriftTest.html
Propchange: websites/staging/thrift/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jan 4 16:04:05 2017
@@ -1 +1 @@
-1769527
+1777331
Modified:
websites/staging/thrift/trunk/content/docs/committers/HowToThriftWebsite.html
==============================================================================
---
websites/staging/thrift/trunk/content/docs/committers/HowToThriftWebsite.html
(original)
+++
websites/staging/thrift/trunk/content/docs/committers/HowToThriftWebsite.html
Wed Jan 4 16:04:05 2017
@@ -126,8 +126,8 @@ consistent experience with the various m
<p>The current release versioning is kept in the YAML <strong>DATA</strong>
section of the global "configuration
file" <a
href="https://svn.apache.org/repos/asf/thrift/cms-site/trunk/lib/path.pm">lib/path.pm</a>.
Update
the following values and then following <b>Updating the Website</b> section
below </p>
-<div class="codehilite"><pre><span class="n">current_release</span><span
class="p">:</span> "0<span class="p">.</span>9<span
class="p">.</span>3"
-<span class="n">current_release_date</span><span class="p">:</span>
"2015<span class="o">-</span>10<span class="o">-</span>06"
+<div class="codehilite"><pre><span class="n">current_release</span><span
class="p">:</span> "0<span class="p">.</span>10<span
class="p">.</span>0"
+<span class="n">current_release_date</span><span class="p">:</span>
"2017<span class="o">-</span>1<span class="o">-</span>03"
</pre></div>
Modified:
websites/staging/thrift/trunk/content/docs/committers/HowToVersion.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/committers/HowToVersion.html
(original)
+++ websites/staging/thrift/trunk/content/docs/committers/HowToVersion.html Wed
Jan 4 16:04:05 2017
@@ -282,7 +282,7 @@ h2:hover > .headerlink, h3:hover > .head
<p>These values should be used for all new client libraries and are the same
values across all libraries:</p>
<ul>
<li>Name: libthrift</li>
-<li>Version: 0.9.3-[dev|snapshot]</li>
+<li>Version: 0.10.0-[dev|snapshot]</li>
<li>License: Apache License 2.0</li>
<li>License URL: http://www.apache.org/licenses/LICENSE-2.0</li>
<li>Homepage: http://thrift.apache.org</li>
Modified: websites/staging/thrift/trunk/content/download.html
==============================================================================
--- websites/staging/thrift/trunk/content/download.html (original)
+++ websites/staging/thrift/trunk/content/download.html Wed Jan 4 16:04:05 2017
@@ -85,17 +85,17 @@
}
h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink,
h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink,
dt:hover > .elementid-permalink { visibility: visible }</style>
<h2 id="release">Release<a class="headerlink" href="#release" title="Permanent
link">¶</a></h2>
-<p>The latest stable release of Thrift is 0.9.3 (released on 2015-10-06).</p>
+<p>The latest stable release of Thrift is 0.10.0 (released on 2017-1-03).</p>
<ul>
-<li><a
href="http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.3/thrift-0.9.3.tar.gz">thrift-0.9.3.tar.gz</a>
[<a
href="https://www.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz.asc">PGP</a>]
-[<a
href="https://www.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz.md5">MD5</a>]</li>
-<li><a
href="http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.3/thrift-0.9.3.exe">Thrift
compiler for Windows (thrift-0.9.3.exe)</a> [<a
href="https://www.apache.org/dist/thrift/0.9.3/thrift-0.9.3.exe.asc">PGP</a>]
[<a
href="https://www.apache.org/dist/thrift/0.9.3/thrift-0.9.3.exe.md5">MD5</a>]</li>
+<li><a
href="http://www.apache.org/dyn/closer.cgi?path=/thrift/0.10.0/thrift-0.10.0.tar.gz">thrift-0.10.0.tar.gz</a>
[<a
href="https://www.apache.org/dist/thrift/0.10.0/thrift-0.10.0.tar.gz.asc">PGP</a>]
+[<a
href="https://www.apache.org/dist/thrift/0.10.0/thrift-0.10.0.tar.gz.md5">MD5</a>]</li>
+<li><a
href="http://www.apache.org/dyn/closer.cgi?path=/thrift/0.10.0/thrift-0.10.0.exe">Thrift
compiler for Windows (thrift-0.10.0.exe)</a> [<a
href="https://www.apache.org/dist/thrift/0.10.0/thrift-0.10.0.exe.asc">PGP</a>]
[<a
href="https://www.apache.org/dist/thrift/0.10.0/thrift-0.10.0.exe.md5">MD5</a>]</li>
</ul>
<h2 id="maven-artifact">Maven artifact<a class="headerlink"
href="#maven-artifact" title="Permanent link">¶</a></h2>
<p><pre><code><dependency>
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
- <version>0.9.3</version>
+ <version>0.10.0</version>
</dependency>
</code></pre></p>
<p>When downloading from a mirror, please be sure to <a
href="http://www.apache.org/info/verification.html">verify</a> the checksums
and signature (see the MD5 and PGP links above). The <a
href="https://www.apache.org/dist/thrift/KEYS">KEYS</a> file contains the
public key(s) used for signing releases.</p>
Modified: websites/staging/thrift/trunk/content/index.html
==============================================================================
--- websites/staging/thrift/trunk/content/index.html (original)
+++ websites/staging/thrift/trunk/content/index.html Wed Jan 4 16:04:05 2017
@@ -105,19 +105,19 @@
</div>
<div class="span3 well center pull-right">
<h2>Download</h2>
- <p>Apache Thrift v0.9.3</p>
+ <p>Apache Thrift v0.10.0</p>
<p>
- <a class="btn btn-large"
href="http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.3/thrift-0.9.3.tar.gz">
- Download <small>v0.9.3</small>
+ <a class="btn btn-large"
href="http://www.apache.org/dyn/closer.cgi?path=/thrift/0.10.0/thrift-0.10.0.tar.gz">
+ Download <small>v0.10.0</small>
</a>
</p>
<p>
<small>
- <a
href="https://www.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz.md5">MD5</a>
+ <a
href="https://www.apache.org/dist/thrift/0.10.0/thrift-0.10.0.tar.gz.md5">MD5</a>
</small>
|
<small>
- <a
href="https://www.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz.asc">PGP</a>
+ <a
href="https://www.apache.org/dist/thrift/0.10.0/thrift-0.10.0.tar.gz.asc">PGP</a>
</small>
</p>
<p>
Modified: websites/staging/thrift/trunk/content/lib/go.html
==============================================================================
--- websites/staging/thrift/trunk/content/lib/go.html (original)
+++ websites/staging/thrift/trunk/content/lib/go.html Wed Jan 4 16:04:05 2017
@@ -122,8 +122,23 @@ is, given a struct like</p>
<p>And so on. The code generator also creates analogous helpers for
user-defined
-typedefs and enums.
-<p class='snippet_footer'>
+typedefs and enums.</p>
+<h1 id="adding-custom-tags-to-generated-thrift-structs">Adding custom tags to
generated Thrift structs<a class="headerlink"
href="#adding-custom-tags-to-generated-thrift-structs" title="Permanent
link">¶</a></h1>
+<p>You can add tags to the auto-generated thrift structs using the following
format:</p>
+<div class="codehilite"><pre><span class="n">struct</span> <span
class="n">foo</span> <span class="p">{</span>
+ 1<span class="p">:</span> <span class="n">required</span> <span
class="n">string</span> <span class="n">Bar</span> <span
class="p">(</span><span class="n">go</span><span class="p">.</span><span
class="n">tag</span> <span class="p">=</span> "<span
class="n">some_tag</span><span class="p">:</span><span
class="o">\</span>"<span class="n">some_tag_value</span><span
class="o">\</span>""<span class="p">)</span>
+<span class="p">}</span>
+</pre></div>
+
+
+<p>which will generate:</p>
+<div class="codehilite"><pre><span class="n">type</span> <span
class="n">Foo</span> <span class="n">struct</span> <span class="p">{</span>
+ <span class="n">Bar</span> <span class="n">string</span> `<span
class="n">thrift</span><span class="p">:</span>"<span
class="n">bar</span><span class="p">,</span>1<span class="p">,</span><span
class="n">required</span>" <span class="n">some_tag</span><span
class="p">:</span>"<span class="n">some_tag_value</span>"`
+<span class="p">}</span>
+</pre></div>
+
+
+<p><p class='snippet_footer'>
This page was generated by Apache Thrift's <strong>source tree docs</strong>:
<a
href="http://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob;f=lib/go/README.md;hb=HEAD"</a>lib/go/README.md</a>
</p></p>
Modified: websites/staging/thrift/trunk/content/lib/nodejs.html
==============================================================================
--- websites/staging/thrift/trunk/content/lib/nodejs.html (original)
+++ websites/staging/thrift/trunk/content/lib/nodejs.html Wed Jan 4 16:04:05
2017
@@ -121,7 +121,7 @@ h2:hover > .headerlink, h3:hover > .head
<p><a name="int64"></a></p>
<h2 id="int64">Int64<a class="headerlink" href="#int64" title="Permanent
link">¶</a></h2>
-<p>Since JavaScript represents all numbers as doubles, int64 values cannot be
accurately represented naturally. To solve this, int64 values in responses will
be wrapped with Thirft.Int64 objects. The Int64 implementation used is <a
href="https://github.com/broofa/node-int64">broofa/node-int64</a>.</p>
+<p>Since JavaScript represents all numbers as doubles, int64 values cannot be
accurately represented naturally. To solve this, int64 values in responses will
be wrapped with Thrift.Int64 objects. The Int64 implementation used is <a
href="https://github.com/broofa/node-int64">broofa/node-int64</a>.</p>
<h2 id="client-and-server-examples">Client and server examples<a
class="headerlink" href="#client-and-server-examples" title="Permanent
link">¶</a></h2>
<p>Several example clients and servers are included in the
thrift/lib/nodejs/examples folder and the cross language tutorial
thrift/tutorial/nodejs folder.
<p class='snippet_footer'>
Modified: websites/staging/thrift/trunk/content/test/ThriftTest.html
==============================================================================
--- websites/staging/thrift/trunk/content/test/ThriftTest.html (original)
+++ websites/staging/thrift/trunk/content/test/ThriftTest.html Wed Jan 4
16:04:05 2017
@@ -498,7 +498,15 @@ h2:hover > .headerlink, h3:hover > .head
400
401
402
-403</pre></div></td><td class="code"><div class="codehilite"><pre>/*
+403
+404
+405
+406
+407
+408
+409
+410
+411</pre></div></td><td class="code"><div class="codehilite"><pre>/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -615,6 +623,14 @@ struct CrazyNesting {
4: binary binary_field
}
+union SomeUnion {
+ 1: map<Numberz, UserId> map_thing,
+ 2: string string_thing,
+ 3: i32 i32_thing,
+ 4: Xtruct3 xtruct_thing,
+ 5: Insanity insanity_thing
+}
+
exception Xception {
1: i32 errorCode,
2: string message