blob: 582b4959fa1f8e90330027291c612b1cebc4447c [file] [log] [blame]
<html>
<head>
<title>Gerrit Code Review - Releases</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<style>
#diffy_logo {
float: left;
width: 75px;
height: 70px;
margin-right: 20px;
}
#download_container table {
border-spacing: 0;
}
#download_container td {
padding-right: 5px;
}
.latest-release {
background-color: lightgreen;
}
.rc {
padding-left: 1em;
font-style: italic;
}
.size {
text-align: right;
}
</style>
</head>
<body>
<h1>Gerrit Code Review - Releases</h1>
<a href="https://www.gerritcodereview.com/">
<img id="diffy_logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAtCAYAAADoSujCAAAABGdBTUEAALGPC/xhBQAACkFpQ0NQSUNDIFByb2ZpbGUAAEgNnZZ3VFPZFofPvTe90BIiICX0GnoJINI7SBUEUYlJgFAChoQmdkQFRhQRKVZkVMABR4ciY0UUC4OCYtcJ8hBQxsFRREXl3YxrCe+tNfPemv3HWd/Z57fX2Wfvfde6AFD8ggTCdFgBgDShWBTu68FcEhPLxPcCGBABDlgBwOFmZgRH+EQC1Py9PZmZqEjGs/buLoBku9ssv1Amc9b/f5EiN0MkBgAKRdU2PH4mF+UClFOzxRky/wTK9JUpMoYxMhahCaKsIuPEr2z2p+Yru8mYlybkoRpZzhm8NJ6Mu1DemiXho4wEoVyYJeBno3wHZb1USZoA5fco09P4nEwAMBSZX8znJqFsiTJFFBnuifICAAiUxDm8cg6L+TlongB4pmfkigSJSWKmEdeYaeXoyGb68bNT+WIxK5TDTeGIeEzP9LQMjjAXgK9vlkUBJVltmWiR7a0c7e1Z1uZo+b/Z3x5+U/09yHr7VfEm7M+eQYyeWd9s7KwvvRYA9iRamx2zvpVVALRtBkDl4axP7yAA8gUAtN6c8x6GbF6SxOIMJwuL7OxscwGfay4r6Df7n4Jvyr+GOfeZy+77VjumFz+BI0kVM2VF5aanpktEzMwMDpfPZP33EP/jwDlpzcnDLJyfwBfxh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9SmoIv5ctbKc3B+pBTFP+Fp1K3JIvh4cneycnaWdndqNVxcRD89dfS7G3bpLQ1a2jmunV0KYLuxx+iu1zjwjge3fGaNkzd2qGRt7vLTZSOPXVhfDAeoTMTKL10hdIGBF7bTPF7GqWW71B33V39rgGhpzv9SfsrzxwIPOSjjyC6XRbRuriAt+/OA9gdxO3bb/VeB4+9fSkt+kYHzexYq/r9scW3OtPP3O961mhzHUrzP3CBR63L6D78e07dZUnaFP8zA7vV6blbtRd+/tdFkvbOpNSKwLnLqHikZrwwSbqw1t2nE9QevIiFb1z62YbStY9QWmfRwXPgGgEkcsVKacY4HbjHze4mD0+coC8xVzC+HieKVUUu8A5KFW4Fl/aLNrahvfEnv7Z+P+udRqAdeIigtOxom+abEbyCJLTMgxbZnKjD6RTa51A4ge+1dIk3PSi9kO0Cj9mmCrVeysFrmUeSClL4CF24u3UK8cSAP6WFmS7wqPU69PUjtZTaNe2LYnUJwF/wOwiXTqN9DkZTZDdKC75oA29rwd32MJKo09tUJPT927w3gud5l5fOIgR32uPtwHOwhzMoPZvbRqjyIKLFrxFc+FcKj9xtItr6eFQWWnFrd0lhJiGNFxkb8oTe0ORg7ORyvMdvgdx1CH+LcQv3P+2LnbvhF67d6y+7F90Ffb22QJKW/1YUG8rd2pekc+vbQLVtcq42TwC19flF79rWl6Q9f5Sk1BmSVJTmBo9HhlKA+bE6JE+m+kUR3tZilH73phs8nnswFg7N1yfQdue77e8dcXH9haI99nIdj/mPyr2y/MBKfdQWDt4TJXqbdu0sewF/69ckkNLKY5Q2ofbXP6w33dB1OgMBrty2XVUUtyVRuvN9HTy/3vSdua3rXbr7H0SXfo3+OPT1AAAAAElFTkSuQmCC" />
</a>
<div id='download_container'>
</div>
<script>
$.getJSON(
'https://www.googleapis.com/storage/v1/b/gerrit-releases/o?projection=noAcl&fields=items(name%2Csize)&callback=?',
function(data) {
var doc = document;
var frg = doc.createDocumentFragment();
var rx = /^gerrit(?:-full)?-([0-9.]+(?:-rc[0-9]+)?)[.]war/;
var dl = 'https://www.gerritcodereview.com/download/';
var docs = 'https://gerrit-documentation.storage.googleapis.com/';
var src = 'https://gerrit.googlesource.com/gerrit/+/'
var items = data.items.filter(function(i) {
return i.name.indexOf('gerrit-snapshot-') != 0;
});
items.sort(function(a,b) {
var av = rx.exec(a.name);
var bv = rx.exec(b.name);
if (!av || !bv) {
return a.name > b.name ? 1 : -1;
}
var an = av[1].replace('-rc', '.rc').split('.')
var bn = bv[1].replace('-rc', '.rc').split('.')
while (an.length < bn.length) an.push('0');
while (an.length > bn.length) bn.push('0');
for (var i = 0; i < an.length; i++) {
var ai = an[i].indexOf('rc') == 0
? parseInt(an[i].substring(2))
: 1000 + parseInt(an[i]);
var bi = bn[i].indexOf('rc') == 0
? parseInt(bn[i].substring(2))
: 1000 + parseInt(bn[i]);
if (ai != bi) {
return ai > bi ? -1 : 1;
}
}
return 0;
});
var latest = false;
for (var i = 0; i < items.length; i++) {
var f = items[i];
var v = rx.exec(f.name);
if ('index.html' == f.name) {
continue;
}
var tr = doc.createElement('tr');
var td = doc.createElement('td');
var a = doc.createElement('a');
a.href = dl + f.name;
if (v) {
a.appendChild(doc.createTextNode('Gerrit ' + v[1]));
} else {
a.appendChild(doc.createTextNode(f.name));
}
if (f.name.indexOf('-rc') > 0) {
td.className = 'rc';
} else if (!latest) {
latest = true;
tr.className='latest-release';
}
td.appendChild(a);
tr.appendChild(td);
td = doc.createElement('td');
td.className = 'size';
if (f.size/(1024*1024) < 1) {
sizeText = Math.round(f.size/1024*10)/10 + ' KiB';
} else {
sizeText = Math.round(f.size/(1024*1024)*10)/10 + ' MiB';
}
td.appendChild(doc.createTextNode(sizeText));
tr.appendChild(td);
td_rel = doc.createElement('td');
td_doc = doc.createElement('td');
if (v && f.name.indexOf('-rc') < 0) {
// Release notes link
a = doc.createElement('a');
a.href = docs + 'ReleaseNotes/ReleaseNotes-' + v[1] + '.html';
a.appendChild(doc.createTextNode('Release Notes'));
td_rel.appendChild(a);
// Documentation link
a = doc.createElement('a');
a.href = docs + 'Documentation/' + v[1] + '/index.html';
a.appendChild(doc.createTextNode('Documentation'));
td_doc.appendChild(a);
}
tr.appendChild(td_rel);
tr.appendChild(td_doc);
td = doc.createElement('td');
if (v) {
a = doc.createElement('a');
a.href = src + 'v' + v[1];
a.appendChild(doc.createTextNode('src'));
td.appendChild(a);
}
tr.appendChild(td);
frg.appendChild(tr);
}
var tr = doc.createElement('tr');
var th = doc.createElement('th');
th.appendChild(doc.createTextNode('File'));
tr.appendChild(th);
th = doc.createElement('th');
th.appendChild(doc.createTextNode('Size'));
tr.appendChild(th);
tr.appendChild(doc.createElement('th'));
tr.appendChild(doc.createElement('th'));
var table = doc.createElement('table');
table.appendChild(tr);
table.appendChild(frg);
doc.getElementById('download_container').appendChild(table);
});
</script>
</body>
</html>