This is an automated email from the ASF dual-hosted git repository. jhyde pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/calcite.git
commit bf962b86d9c27ca429ae71bf75a2acdca06eee91 Author: Julian Hyde <[email protected]> AuthorDate: Mon Oct 18 21:44:00 2021 -0700 [CALCITE-4856] Gradle prepareVote fails with 'not authorized' Solve by documenting the `Pasf.git.pushRepositoryProvider=GITBOX` flag. Without the flag, the `prepareVote` task pulls from `github.com`, which no longer allows password-based authentication. Add some sample git reports reports, run using `sqlsh`. --- site/_docs/howto.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/site/_docs/howto.md b/site/_docs/howto.md index 6b86268..b21aba8 100644 --- a/site/_docs/howto.md +++ b/site/_docs/howto.md @@ -727,9 +727,15 @@ Before you start: a fix version assigned (most likely the version we are just about to release) -Generate list of contributors: +Generate a list of contributors by running the following (changing the +date literal to the date of the previous release): ``` -./sqlsh -o headers "select distinct author from git_commits where author_timestamp > DATE '2021-06-03' order by 1 " +# distinct authors +./sqlsh "select distinct author from git_commits where author_timestamp > DATE '2021-06-03' order by 1" +# most prolific authors +./sqlsh "select author, count(*) from git_commits where commit_timestamp > DATE '2021-06-03' group by author order by 2" +# number of commits, distinct authors, and JIRA cases +./sqlsh "select count(*) as c, count(distinct author) as a, count(*) filter (where message like '%CALCITE-%') as j from git_commits where commit_timestamp > DATE '2021-06-03' order by 1" ``` Smoke-test `sqlline` with Spatial and Oracle function tables: @@ -773,7 +779,7 @@ git clean -xn ./gradlew prepareVote -Prc=0 # Push release candidate to ASF servers -./gradlew prepareVote -Prc=0 -Pasf +./gradlew prepareVote -Prc=0 -Pasf -Pasf.git.pushRepositoryProvider=GITBOX {% endhighlight %} #### Troubleshooting @@ -916,7 +922,7 @@ Remember that UTC date changes at 4 pm Pacific time. ./gradlew publishDist -Prc=0 # Publish the release to ASF servers -./gradlew publishDist -Prc=0 -Pasf +./gradlew publishDist -Prc=0 -Pasf -Pasf.git.pushRepositoryProvider=GITBOX {% endhighlight %} Svnpubsub will publish to the
