Skip to content

Commit ef277ff

Browse files
committed
Update website for Avatica 1.19.0 release
Prepare for next development iteration, by updating version number in gradle.properties. Various minor fixes to process documented in howto.
1 parent d9f4374 commit ef277ff

File tree

4 files changed

+55
-13
lines changed

4 files changed

+55
-13
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ kotlin.parallel.tasks.in.project=true
2323
# This is version for Calcite Avatica itself
2424
# Note: it should not include "-SNAPSHOT" as it is automatically added by build.gradle.kts
2525
# Release version can be generated by using -Prelease or -Prc=<int> arguments
26-
calcite.avatica.version=1.19.0
26+
calcite.avatica.version=1.20.0
2727

2828
# The options below configures the use of local clone (e.g. testing development versions)
2929
# You can pass un-comment it, or pass option -PlocalReleasePlugins, or -PlocalReleasePlugins=<path>

site/_docs/history.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,13 @@ For a full list of releases, see
2828
Downloads are available on the
2929
[downloads page]({{ site.baseurl }}/downloads/avatica.html).
3030

31-
## <a href="https://github.com/apache/calcite-avatica/releases/tag/rel/avatica-1.19.0">1.19.0</a> / 2021-10-07
31+
## <a href="https://github.com/apache/calcite-avatica/releases/tag/rel/avatica-1.19.0">1.19.0</a> / 2021-10-11
3232
{: #v1-19-0}
3333

34+
Apache Calcite Avatica 1.19.0 adds support for `BIT` and `NULL` data
35+
types, fixes issues with values of type `ARRAY`, and includes a few
36+
dependency updates.
37+
3438
Compatibility: This release is tested
3539
on Linux, macOS, Microsoft Windows;
3640
using Oracle JDK 8, 9, 10, 11, 12, 13, 14, 15;
@@ -45,7 +49,7 @@ chenyuzhi459,
4549
Francis Chuang,
4650
Istvan Toth,
4751
Julian Hyde (release manager),
48-
NoboGo,
52+
NobiGo,
4953
Jack Scott,
5054
Sergey Nuyanzin,
5155
Stamatis Zampetakis,

site/_docs/howto.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -227,22 +227,23 @@ That performs the same steps, however it pushes changes to the mock Nexus, Git,
227227
If any of the steps fail, fix the problem, and
228228
start again from the top.
229229

230-
### To prepare a release candidate directly in your environment:
230+
### Prepare a release candidate directly in your environment
231231

232-
Pick a release candidate index and ensure it does not interfere with previous candidates for the version.
232+
Pick a release candidate index (starting from 0) and ensure it does
233+
not interfere with previous candidates for the version.
233234

234235
{% highlight bash %}
235236
# Make sure that there are no junk files in the sandbox
236237
git clean -xn
237238

238239
# Dry run the release candidate (push to asf-like-environment)
239-
./gradlew prepareVote -Prc=1
240+
./gradlew prepareVote -Prc=0
240241

241242
# Push release candidate to ASF servers
242-
./gradlew prepareVote -Prc=1 -Pasf
243+
./gradlew prepareVote -Prc=0 -Pasf
243244
{% endhighlight %}
244245

245-
### To prepare a release candidate in Docker:
246+
### Prepare a release candidate in Docker
246247

247248
* You will need to have [Docker](https://docs.docker.com/install/) and [Docker Compose](https://docs.docker.com/compose/install/) installed.
248249

@@ -447,14 +448,14 @@ tag triggers Docker Hub to start building the docker images immediately and the
447448
If the artifacts are not yet available, the build on Docker Hub will fail. It's best to continue with the following steps
448449
after you have confirmed that the nexus artifacts were promoted properly.
449450

450-
### Publishing directly in your environment:
451+
### Publishing directly in your environment
451452

452453
{% highlight bash %}
453454
# Dry run publishing the release (push to asf-like-environment)
454-
./gradlew publishDist -Prc=1
455+
./gradlew publishDist -Prc=0
455456

456457
# Publish the release to ASF servers
457-
./gradlew publishDist -Prc=1 -Pasf
458+
./gradlew publishDist -Prc=0 -Pasf
458459
{% endhighlight %}
459460

460461
If there are more than 2 releases in SVN (see https://dist.apache.org/repos/dist/release/calcite),
@@ -467,17 +468,20 @@ svn rm https://dist.apache.org/repos/dist/release/calcite/apache-calcite-avatica
467468
The old releases will remain available in the
468469
[release archive](http://archive.apache.org/dist/calcite/).
469470

470-
### Publishing a release using docker:
471+
### Publishing a release using docker
472+
471473
This assumes that a rc release was tagged and pushed to the git repository.
472474

473475
{% highlight bash %}
474476
docker-compose run promote-release
475477
{% endhighlight %}
476478

477479
## Add release notes and announce the release
480+
478481
Add a release note by copying
479482
[site/_posts/2016-11-01-release-1.9.0.md]({{ site.sourceRoot }}/site/_posts/2016-11-01-release-1.9.0.md),
480-
generate the javadoc and copy to `site/target/avatica/javadocAggregate`
483+
update the version number in `gradle.properties`,
484+
generate the javadoc and copy to `site/target/avatica/javadocAggregate`,
481485
[publish the site](#publish-the-web-site),
482486
and check that it appears in the contents in [news](http://localhost:4000/news/).
483487

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
layout: news_item
3+
date: "2021-10-11 08:30:00 +0000"
4+
author: jhyde
5+
version: 1.19.0
6+
categories: [release]
7+
tag: v1-19-0
8+
sha: d9f4374
9+
component: avatica
10+
---
11+
<!--
12+
{% comment %}
13+
Licensed to the Apache Software Foundation (ASF) under one or more
14+
contributor license agreements. See the NOTICE file distributed with
15+
this work for additional information regarding copyright ownership.
16+
The ASF licenses this file to you under the Apache License, Version 2.0
17+
(the "License"); you may not use this file except in compliance with
18+
the License. You may obtain a copy of the License at
19+
20+
http://www.apache.org/licenses/LICENSE-2.0
21+
22+
Unless required by applicable law or agreed to in writing, software
23+
distributed under the License is distributed on an "AS IS" BASIS,
24+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25+
See the License for the specific language governing permissions and
26+
limitations under the License.
27+
{% endcomment %}
28+
-->
29+
30+
Apache Calcite Avatica 1.19.0 adds support for `BIT` and `NULL` data
31+
types, fixes issues with values of type `ARRAY`, and includes a few
32+
dependency updates. See the list of
33+
[bug fixes and new features]({{ site.baseurl }}/docs/history.html#v1-19-0)
34+
for more information.

0 commit comments

Comments
 (0)