| 1 |
<?xml version="1.0"?> |
| 2 |
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
| 3 |
|
| 4 |
<xsl:template match="//packages"> |
| 5 |
<html> |
| 6 |
<head> |
| 7 |
<title>gRPC Packages</title> |
| 8 |
<link rel="stylesheet" type="text/css" href="/web-assets/style.css" /> |
| 9 |
<link rel="apple-touch-icon" href="/web-assets/favicons/apple-touch-icon.png" sizes="180x180" /> |
| 10 |
<link rel="icon" type="image/png" href="/web-assets/favicons/android-chrome-192x192.png" sizes="192x192" /> |
| 11 |
<link rel="icon" type="image/png" href="/web-assets/favicons/favicon-32x32.png" sizes="32x32" /> |
| 12 |
<link rel="icon" type="image/png" href="/web-assets/favicons/favicon-16x16.png" sizes="16x16" /> |
| 13 |
<link rel="manifest" href="/web-assets/favicons/manifest.json" /> |
| 14 |
<link rel="mask-icon" href="/web-assets/favicons/safari-pinned-tab.svg" color="#2DA6B0" /> |
| 15 |
<meta name="msapplication-TileColor" content="#ffffff" /> |
| 16 |
<meta name="msapplication-TileImage" content="/web-assets/favicons/mstile-150x150.png" /> |
| 17 |
<meta name="og:title" content="gRPC Packages"/> |
| 18 |
<meta name="og:image" content="https://grpc.io/img/grpc_square_reverse_4x.png"/> |
| 19 |
<meta name="og:description" content="gRPC Packages"/> |
| 20 |
</head> |
| 21 |
<body bgcolor="#ffffff"> |
| 22 |
<div id="topbar"> |
| 23 |
<span class="title">gRPC Packages</span> |
| 24 |
</div> |
| 25 |
<div id="main"> |
| 26 |
<xsl:apply-templates select="releases" /> |
| 27 |
<xsl:apply-templates select="builds" /> |
| 28 |
<br /> |
| 29 |
<br /> |
| 30 |
<p class="description"><a href="https://grpc.io">gRPC</a> is a <a href="https://www.cncf.io" class="external">Cloud Native Computing Foundation</a> project. <a href="https://policies.google.com/privacy" class="external">Privacy Policy</a>.</p> |
| 31 |
<p class="description">Copyright © 2018 <a href="https://github.com/grpc/grpc/blob/master/AUTHORS">The gRPC Authors</a></p> |
| 32 |
</div> |
| 33 |
</body> |
| 34 |
</html> |
| 35 |
</xsl:template> |
| 36 |
|
| 37 |
<xsl:template match="releases"> |
| 38 |
<h2>Official gRPC Releases</h2> |
| 39 |
<p>Commits corresponding to <a href="https://github.com/grpc/grpc/releases">official gRPC release points and release candidates</a> are tagged on GitHub.</p> |
| 40 |
<p>To maximize usability, gRPC supports the standard way of adding dependencies in your language of choice (if there is one). |
| 41 |
In most languages, the gRPC runtime comes in form of a package available in your language's package manager.</p> |
| 42 |
<p>For instructions on how to use the language-specific gRPC runtime in your project, please refer to the following:</p> |
| 43 |
<ul> |
| 44 |
<li><a href="https://github.com/grpc/grpc/blob/master/src/cpp">C++</a>: follow the instructions under the <a href="https://github.com/grpc/grpc/tree/master/src/cpp"><code>src/cpp</code> directory</a></li> |
| 45 |
<li><a href="https://github.com/grpc/grpc/blob/master/src/csharp">C#</a>: NuGet package <code>Grpc</code></li> |
| 46 |
<li><a href="https://github.com/grpc/grpc-dart">Dart</a>: pub package <code>grpc</code></li> |
| 47 |
<li><a href="https://github.com/grpc/grpc-go">Go</a>: <code>go get google.golang.org/grpc</code></li> |
| 48 |
<li><a href="https://github.com/grpc/grpc-java">Java</a>: Use JARs from <a href="https://search.maven.org/search?q=g:io.grpc">gRPC Maven Central Repository</a></li> |
| 49 |
<li><a href="https://github.com/grpc/grpc-kotlin">Kotlin</a>: Use JARs from <a href="https://mvnrepository.com/artifact/io.grpc">gRPC Maven Central Repository</a></li> |
| 50 |
<li><a href="https://github.com/grpc/grpc-node">Node</a>: <code>npm install grpc</code></li> |
| 51 |
<li><a href="https://github.com/grpc/grpc/blob/master/src/objective-c">Objective-C</a>: Add <code>gRPC-ProtoRPC</code> dependency to podspec</li> |
| 52 |
<li><a href="https://github.com/grpc/grpc/blob/master/src/php">PHP</a>: <code>pecl install grpc</code></li> |
| 53 |
<li><a href="https://github.com/grpc/grpc/blob/master/src/python/grpcio">Python</a>: <code>pip install grpcio</code></li> |
| 54 |
<li><a href="https://github.com/grpc/grpc/blob/master/src/ruby">Ruby</a>: <code>gem install grpc</code></li> |
| 55 |
<li><a href="https://github.com/grpc/grpc-web">WebJS</a>: follow the <a href="https://github.com/grpc/grpc-web">instructions in <code>grpc-web</code> repository</a></li> |
| 56 |
</ul> |
| 57 |
</xsl:template> |
| 58 |
|
| 59 |
<xsl:template match="builds"> |
| 60 |
<h2> Daily Builds of <a href="https://github.com/grpc/grpc/tree/master"><code>master</code></a> Branch</h2> |
| 61 |
<p>gRPC packages are built on a daily basis at the <code>HEAD</code> of <a href="https://github.com/grpc/grpc/tree/master">the <code>master</code> branch</a> and are archived here.</p> |
| 62 |
<p> |
| 63 |
<a href="#">The current document</a> (view source) is an XML feed pointing to the packages as they get built and uploaded. |
| 64 |
You can subscribe to this feed and fetch, deploy, and test the precompiled packages with your continuous integration infrastructure. |
| 65 |
</p> |
| 66 |
<p>For stable release packages, please consult the above section and the common package manager for your language.</p> |
| 67 |
<table style="border:solid black 1px"> |
| 68 |
<tr style="background-color:lightgray"> |
| 69 |
<td>Timestamp</td> |
| 70 |
<td>Commit</td> |
| 71 |
<td>Build ID</td> |
| 72 |
</tr> |
| 73 |
<xsl:apply-templates select="build[@branch='master']"> |
| 74 |
<xsl:sort select="@timestamp" data-type="text" order="descending" /> |
| 75 |
</xsl:apply-templates> |
| 76 |
</table> |
| 77 |
</xsl:template> |
| 78 |
|
| 79 |
<xsl:template match="build"> |
| 80 |
<tr> |
| 81 |
<td class="name"><xsl:value-of select="@timestamp" /></td> |
| 82 |
<td class="name"> <a href="https://github.com/grpc/grpc/tree/{@commit}"><xsl:value-of select="@commit" /></a></td> |
| 83 |
<td class="name"> <a href="{@path}"><xsl:value-of select="@id" /></a></td> |
| 84 |
</tr> |
| 85 |
</xsl:template> |
| 86 |
|
| 87 |
</xsl:stylesheet> |