| 1 |
<?xml version="1.0"?> |
| 2 |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
| 3 |
|
| 4 |
<xsl:template match="//build"> |
| 5 |
<html> |
| 6 |
<head> |
| 7 |
<title>Artifacts for gRPC Build <xsl:value-of select="@id"/></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 Package Build"/> |
| 18 |
<meta name="og:image" content="https://grpc.io/img/grpc_square_reverse_4x.png"/> |
| 19 |
<meta name="og:description" content="gRPC Package Build"/> |
| 20 |
</head> |
| 21 |
<body bgcolor="#ffffff"> |
| 22 |
<div id="topbar"> |
| 23 |
<span class="title">Artifacts for gRPC Build <xsl:value-of select="@id"/></span> |
| 24 |
</div> |
| 25 |
<div id="main"> |
| 26 |
<div id="metadata"> |
| 27 |
<span class="fieldname">Build: </span> <a href='#'><xsl:value-of select="@id"/></a> |
| 28 |
[<a href="https://source.cloud.google.com/results/invocations/{@id}">invocation</a>]<br /> |
| 29 |
<span class="fieldname">Timestamp: </span> |
| 30 |
<xsl:value-of select="@timestamp"/> <br /> |
| 31 |
<span class="fieldname">Branch: </span> |
| 32 |
<a href="https://github.com/grpc/grpc/tree/{./metadata/branch[text()]}"> |
| 33 |
<xsl:value-of select="./metadata/branch[text()]" /> |
| 34 |
</a><br /> |
| 35 |
<span class="fieldname">Commit: </span> |
| 36 |
<a href="https://github.com/grpc/grpc/tree/{./metadata/commit[text()]}"> |
| 37 |
<xsl:value-of select="./metadata/commit[text()]" /><br /></a> |
| 38 |
</div> |
| 39 |
<xsl:apply-templates select="artifacts" /> |
| 40 |
<br /> |
| 41 |
<br /> |
| 42 |
|
| 43 |
<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> |
| 44 |
<p class="description"> |
| 45 |
Copyright © <xsl:value-of select="substring(@timestamp, 1, 4)" /> <a href="https://github.com/grpc/grpc/blob/{./metadata/commit[text()]}/AUTHORS">The gRPC Authors</a></p> |
| 46 |
<br /> |
| 47 |
<br /> |
| 48 |
</div> |
| 49 |
</body> |
| 50 |
</html> |
| 51 |
</xsl:template> |
| 52 |
|
| 53 |
<xsl:template match="artifacts"> |
| 54 |
<h2> gRPC <code>protoc</code> Plugins </h2> |
| 55 |
<table> |
| 56 |
<xsl:apply-templates select="artifact[@type='protoc']"> |
| 57 |
<xsl:sort select="@name" /> |
| 58 |
</xsl:apply-templates> |
| 59 |
</table> |
| 60 |
|
| 61 |
<h2> C# </h2> |
| 62 |
<table> |
| 63 |
<xsl:apply-templates select="artifact[@type='csharp']"> |
| 64 |
<xsl:sort select="@name" /> |
| 65 |
</xsl:apply-templates> |
| 66 |
</table> |
| 67 |
|
| 68 |
<h2> PHP </h2> |
| 69 |
<table> |
| 70 |
<xsl:apply-templates select="artifact[@type='php']"> |
| 71 |
<xsl:sort select="@name" /> |
| 72 |
</xsl:apply-templates> |
| 73 |
</table> |
| 74 |
|
| 75 |
<h2> Python </h2> |
| 76 |
<script type="text/javascript"> |
| 77 |
// <![CDATA[ |
| 78 |
var pythonRepoLink = document.createElement("a"); |
| 79 |
pythonRepoLink.href = './python'; |
| 80 |
var pythonRepo = pythonRepoLink.href; |
| 81 |
document.write("<p><code>" + |
| 82 |
"$ pip install --pre --upgrade --force-reinstall --extra-index-url \\<br />" + |
| 83 |
" <a href='" + pythonRepo + "'>" + pythonRepo + "</a> \\<br />" + |
| 84 |
" grpcio grpcio-{tools,health-checking,reflection,testing}</code></p>"); |
| 85 |
// ]]> |
| 86 |
</script> |
| 87 |
<table> |
| 88 |
<xsl:apply-templates select="artifact[@type='python']"> |
| 89 |
<xsl:sort select="@name" /> |
| 90 |
</xsl:apply-templates> |
| 91 |
</table> |
| 92 |
|
| 93 |
<h2> Ruby </h2> |
| 94 |
<table> |
| 95 |
<xsl:apply-templates select="artifact[@type='ruby']"> |
| 96 |
<xsl:sort select="@name" /> |
| 97 |
</xsl:apply-templates> |
| 98 |
</table> |
| 99 |
</xsl:template> |
| 100 |
|
| 101 |
|
| 102 |
<xsl:template match="artifact"> |
| 103 |
<tr> |
| 104 |
<td class="name"><a href="{@path}"><xsl:value-of select="@name" /></a></td> |
| 105 |
<td class="hash"><xsl:value-of select="@sha256"/></td> |
| 106 |
</tr> |
| 107 |
</xsl:template> |
| 108 |
|
| 109 |
<xsl:template match="metadata"> |
| 110 |
</xsl:template> |
| 111 |
|
| 112 |
</xsl:stylesheet> |