You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2022/10/09 23:43:16 UTC

[calcite-avatica-go] branch main updated (fc9cf4e -> 77cd741)

This is an automated email from the ASF dual-hosted git repository.

francischuang pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git


 discard fc9cf4e  [CALCITE-5313] Prepare for 5.2.0 release
     new 54cd84f  [CALCITE-5325] Display errors when failing release guidelines check using docker release script
     new 116fa82  Add missing license headers to files
     new 77cd741  [CALCITE-5313] Prepare for 5.2.0 release

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (fc9cf4e)
            \
             N -- N -- N   refs/heads/main (77cd741)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/tests.yaml | 16 ++++++++++++++++
 docker.sh                    |  9 ++++++++-
 message/helper.go            | 17 +++++++++++++++++
 site/_docs/go_history.md     |  3 +++
 4 files changed, 44 insertions(+), 1 deletion(-)


[calcite-avatica-go] 01/03: [CALCITE-5325] Display errors when failing release guidelines check using docker release script

Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

francischuang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git

commit 54cd84fe4a7d488b45e5a8765251685538b1da8b
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Mon Oct 10 10:38:07 2022 +1100

    [CALCITE-5325] Display errors when failing release guidelines check using docker release script
---
 docker.sh | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/docker.sh b/docker.sh
index 3539080..ff781a7 100755
--- a/docker.sh
+++ b/docker.sh
@@ -163,6 +163,8 @@ select_gpg_key(){
 check_release_guidelines(){
 
     # Exclude files without the Apache license header
+    missingHeaders=0
+
     for i in $(git ls-files); do
        case "$i" in
        # The following are excluded from the license header check
@@ -176,7 +178,7 @@ check_release_guidelines(){
        # Binaries
        (test-fixtures/calcite.png);;
 
-       (*) grep -q "Licensed to the Apache Software Foundation" $i || echo "$i has no header";;
+       (*) grep -q "Licensed to the Apache Software Foundation" $i || echo "$i has no header" && ((missingHeaders=missingHeaders+1));;
        esac
     done
 
@@ -185,6 +187,11 @@ check_release_guidelines(){
         echo "Ending copyright year in NOTICE is not $(date +%Y)"
         exit 1
     fi
+
+    if [[ $missingHeaders -gt 0 ]]; then
+        echo "Some files are missing the Apache license header"
+        exit 1
+    fi
 }
 
 check_if_tag_exists(){


[calcite-avatica-go] 03/03: [CALCITE-5313] Prepare for 5.2.0 release

Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

francischuang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git

commit 77cd741eae3ec578e2af46ecb7a7c52cb3f62bdb
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Mon Oct 10 09:54:29 2022 +1100

    [CALCITE-5313] Prepare for 5.2.0 release
---
 site/_docs/go_history.md | 64 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/site/_docs/go_history.md b/site/_docs/go_history.md
index a2264c9..f069e41 100644
--- a/site/_docs/go_history.md
+++ b/site/_docs/go_history.md
@@ -28,6 +28,70 @@ For a full list of releases, see
 Downloads are available on the
 [downloads page]({{ site.baseurl }}/downloads/avatica-go.html).
 
+## <a href="https://github.com/apache/calcite-avatica-go/releases/tag/v5.2.0">5.2.0</a> / 2022-10-XX
+{: #v5-2-0}
+
+Apache Calcite Avatica Go 5.2.0 is a maintenance release of Avatica Go with some dependency updates, bug fixes and a new
+minor feature. This release supports Go 1.18 and 1.19, which are currently the versions supported and maintained by the
+Go team.
+
+The `xinsnake/go-http-digest-auth-client` digest authentication client has been replaced with `icholy/digest` as the
+former has been deprecated and is no longer maintained.
+
+The `driver.SessionResetter` has also been implemented, allowing stale connections to the server to be purged and reset.
+
+Contributors to this release:
+Francis Chuang, Guozhong Li
+
+Features and bug fixes
+
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5072">CALCITE-5072</a>]
+  Index out of range when calling rows.Next()
+* Add Apache license header to website publication Github workflows
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5077">CALCITE-5077</a>]
+  ResetSession implements driver.SessionResetter
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4147">CALCITE-4147</a>]
+  Rename "master" branch to "main"
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5234">CALCITE-5234</a>]
+  Remove witch / live-reload support for development
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5237">CALCITE-5237</a>]
+  Upgrade dependencies and regenerate protobufs
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5312">CALCITE-5312</a>]
+  Replace http digest auth library with github.com/icholy/digest
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5317">CALCITE-5317</a>]
+  Remove redundant type declarations
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5318">CALCITE-5318</a>]
+  Replace deprecated ioutil methods with io and os equivalents
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5319">CALCITE-5319</a>]
+  Remove DualStack dial option in HTTP client as it is deprecated and enabled by default
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5320">CALCITE-5320</a>]
+  Switch from deprecated_first_frame_max_size to first_frame_max_size protobuf member for setting the first frame max size
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5322">CALCITE-5322</a>]
+  Remove deprecated build tags
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5323">CALCITE-5323</a>]
+  Do not copy lock handle in statement
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5324">CALCITE-5324</a>]
+  Cancel context in tests
+* Make directory safe for git in docker release script
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5325">CALCITE-5325</a>]
+  Display errors when failing release guidelines check using docker release script
+* Add missing license headers to files
+
+Tests
+
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5235">CALCITE-5235</a>]
+  Run Github Actions tests using docker and upgrade Go
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-5236">CALCITE-5236</a>]
+  Test against Avatica 1.22 by default in docker-compose.yml
+
+Web site and documentation:
+
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-3129">CALCITE-3129</a>]
+  Automate website builds
+* Push website only if there are changes
+* Link Go reference to the latest version of the documentation
+* Fix formatting in documentation
+
 ## <a href="https://github.com/apache/calcite-avatica-go/releases/tag/v5.1.0">5.1.0</a> / 2022-03-27
 {: #v5-1-0}
 


[calcite-avatica-go] 02/03: Add missing license headers to files

Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

francischuang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git

commit 116fa829166879b7df685e12000a4cda9addc903
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Mon Oct 10 10:39:00 2022 +1100

    Add missing license headers to files
---
 .github/workflows/tests.yaml | 16 ++++++++++++++++
 message/helper.go            | 17 +++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index d899404..1310f92 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -1,3 +1,19 @@
+#
+# 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 regarding copyright ownership.
+# The ASF licenses this file to you under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 on:
   push:
     branches:
diff --git a/message/helper.go b/message/helper.go
index a17ab53..ad7e47c 100644
--- a/message/helper.go
+++ b/message/helper.go
@@ -1,3 +1,20 @@
+/*
+ * 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 regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package message
 
 type MetadataProvider interface {