You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "jbonofre (via GitHub)" <gi...@apache.org> on 2026/01/05 20:16:29 UTC

[PR] Quick guide for Polaris Tool manual release [polaris]

jbonofre opened a new pull request, #3359:
URL: https://github.com/apache/polaris/pull/3359

   This is a "temporary guide" (for manual process), waiting the automatic release for Polaris Tool.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "snazy (via GitHub)" <gi...@apache.org>.
snazy commented on PR #3359:
URL: https://github.com/apache/polaris/pull/3359#issuecomment-3755078255

   @ajantha-bhat raised a good question whether the source tarball should include the whole repo or just the tool. IMO it should be the whole repo to include everything, especially workflows, asf.yaml, "top level" LICENSE/NOTICE/DISCLAIMER and other files. Guess that's better than accidentally forgetting something.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2694416840


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool
+shasum -c 512 polaris-tool-x.y.z.tar.gz > polaris-tool-x.y.z.tar.gz.sha512
+gpg --armor --output polaris-tool-x.y.z.tar.gz.asc --detach-sig polaris-tool-x.y.z.tar.gz
+```
+
+The Polaris Tool usually provide a command to create a binary distribution.
+
+Now, you can stage the distribution artifacts (source and binary) to dist dev repository:
+
+```
+svn checkout https://dist.apache.org/repos/dist/dev/incubator/polaris polaris-dist-dev
+cd polaris-dist-dev
+mkdir tool/x.y.z
+cp [distribution] tool/x.y.z
+svn add tool/x.y.z

Review Comment:
   Should do svn commit after this? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2690275878


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,335 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Setup
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci

Review Comment:
   +1



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2694630001


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool
+shasum -c 512 polaris-tool-x.y.z.tar.gz > polaris-tool-x.y.z.tar.gz.sha512
+gpg --armor --output polaris-tool-x.y.z.tar.gz.asc --detach-sig polaris-tool-x.y.z.tar.gz
+```
+
+The Polaris Tool usually provide a command to create a binary distribution.
+
+Now, you can stage the distribution artifacts (source and binary) to dist dev repository:
+
+```
+svn checkout https://dist.apache.org/repos/dist/dev/incubator/polaris polaris-dist-dev
+cd polaris-dist-dev
+mkdir tool/x.y.z
+cp [distribution] tool/x.y.z
+svn add tool/x.y.z
+```
+
+### Build and stage Maven artifacts

Review Comment:
   Just this? 
   
   `./gradlew publish -Dorg.gradle.project.asfNexusUsername=foo -Dorg.gradle.project.asfNexusPassword=foo -PpublishUrl=https://repository.apache.org/service/local/staging/deploy/maven2/`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "snazy (via GitHub)" <gi...@apache.org>.
snazy commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2694516941


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:

Review Comment:
   I suspect it depends on the consensus of the community.
   (Not only) as a release manager, you can propose something.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2826120942


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool
+shasum -c 512 polaris-tool-x.y.z.tar.gz > polaris-tool-x.y.z.tar.gz.sha512
+gpg --armor --output polaris-tool-x.y.z.tar.gz.asc --detach-sig polaris-tool-x.y.z.tar.gz
+```
+
+The Polaris Tool usually provide a command to create a binary distribution.
+
+Now, you can stage the distribution artifacts (source and binary) to dist dev repository:
+
+```
+svn checkout https://dist.apache.org/repos/dist/dev/incubator/polaris polaris-dist-dev
+cd polaris-dist-dev
+mkdir tool/x.y.z
+cp [distribution] tool/x.y.z
+svn add tool/x.y.z
+```
+
+### Build and stage Maven artifacts
+
+If applicable to the Polaris Tool you are releasing, you can publish the Maven artifacts on a Nexus staging repository.
+
+### Start the vote thread
+
+```
+Subject: [VOTE] Release Apache Polaris Tool x.y.z (rci)
+
+Hi everyone,
+
+I propose that we release the following RC as the official
+Apache Polaris Tool x.y.z release.
+
+* This corresponds to the tag: apache-polaris-tool-x.y.z-rci
+* https://github.com/apache/polaris-tool/commits/apache-polaris-tool-x.y.z-rci
+* https://github.com/apache/polaris-tool/tree/<SHA1>
+
+The release tarball, signature, and checksums are here:
+* https://dist.apache.org/repos/dist/dev/incubator/polaris/tool/x.y.z
+
+You can find the KEYS file here:
+* https://downloads.apache.org/incubator/polaris/KEYS
+
+Convenience binary artifacts are staged on Nexus. The Maven
+repositories URLs are:
+* https://repository.apache.org/content/repositories/orgapachepolaris-<ID>/
+
+Please download, verify, and test.
+
+Please vote in the next 72 hours.
+
+[ ] +1 Release this as Apache Polaris Tool x.y.z
+[ ] +0
+[ ] -1 Do not release this because...
+
+Only PPMC members and mentors have binding votes, but other community
+members are
+encouraged to cast non-binding votes. This vote will pass if there are
+3 binding +1 votes and more binding +1 votes than -1 votes.
+
+NB: if this vote passes, a new vote has to be started on the Incubator
+general mailing
+list.
+```
+
+When a candidate is passed or rejected, reply with the vote result:
+
+```
+[RESULT][VOTE] Release Apache Polaris Tool x.y.z (rci)
+```
+
+```
+Thanks everyone who participated in the vote for Release Apache Polaris Tool x.y.z (rci).
+
+The vote result is:
+
++1: a (binding), b (non-binding)
++0: c (binding), d (non-binding)
+-1: e (binding), f (non-binding)
+
+A new vote is starting in the Apache Incubator general mailing list.
+```
+
+### Start a new vote on the Incubator general mailing list
+
+As Polaris is an Apache Incubator project, you now have to start a new vote on the Apache Incubator general mailing list.
+
+You have to send this email to general@incubator.apache.org:
+
+```
+[VOTE] Release Apache Polaris Tool x.y.z (rci)
+```
+
+```
+Hello everyone,
+
+The Apache Polaris community has voted and approved the release of Apache Polaris Tool x.y.z (rci).
+We now kindly request the IPMC members review and vote for this release.
+
+Polaris community vote thread:
+* https://lists.apache.org/thread/<VOTE THREAD>
+
+Vote result thread:
+* https://lists.apache.org/thread/<VOTE RESULT>
+
+The release candidate:
+* https://dist.apache.org/repos/dist/dev/incubator/polaris/tool/x.y.z
+
+Git tag for the release:
+* https://github.com/apache/polaris-tool/releases/tag/apache-polaris-tool-x.y.z-rci
+
+Git commit for the release:
+* https://github.com/apache/polaris-tool/commit/<COMMIT>
+
+Maven staging repository:
+* https://repository.apache.org/content/repositories/orgapachepolaris-<ID>/
+
+Please download, verify and test.
+
+Please vote in the next 72 hours.
+
+[ ] +1 approve
+[ ] +0 no opinion
+[ ] -1 disapprove with the reason
+
+To learn more about apache Polaris, please see https://polaris.apache.org/
+
+Checklist for reference:
+
+[ ] Download links are valid.
+[ ] Checksums and signatures.
+[ ] LICENSE/NOTICE files exist
+[ ] No unexpected binary files
+[ ] All source files have ASF headers
+[ ] Can compile from source
+```
+
+Binding votes are the votes from the IPMC members. Similar to the previous vote, send the result on the Incubator general mailing list:
+
+```
+[RESULT][VOTE] Release Apache Polaris Tool x.y.z (rci)

Review Comment:
   Also mention about cancel vote and failed RC step? 
   
   [CANCEL][VOTE].



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2663823572


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,335 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Setup
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci

Review Comment:
   Yes, `tool` means the actual tool in release.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2690226059


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:

Review Comment:
   tags are created for entire repo (not for individual folder). If so, source release should include the entire tag or just the subfolder? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2691114921


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool

Review Comment:
   `mtime` didn't work on my git version. I used below command. Probably updating git version was other way.
   
   ```
   tool_base_name="apache-polaris-iceberg-catalog-migrator-1.0.0-incubating"
   
   SOURCE_DATE_EPOCH=318211200 \
   git archive \
     --prefix="${tool_base_name}/" \
     --format=tar \
     HEAD \
     iceberg-catalog-migrator \
   | gzip -6 --no-name > "${tool_base_name}.tar.gz"
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2694440549


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool
+shasum -c 512 polaris-tool-x.y.z.tar.gz > polaris-tool-x.y.z.tar.gz.sha512
+gpg --armor --output polaris-tool-x.y.z.tar.gz.asc --detach-sig polaris-tool-x.y.z.tar.gz
+```
+
+The Polaris Tool usually provide a command to create a binary distribution.
+
+Now, you can stage the distribution artifacts (source and binary) to dist dev repository:
+
+```
+svn checkout https://dist.apache.org/repos/dist/dev/incubator/polaris polaris-dist-dev
+cd polaris-dist-dev
+mkdir tool/x.y.z
+cp [distribution] tool/x.y.z
+svn add tool/x.y.z
+```
+
+### Build and stage Maven artifacts

Review Comment:
   Do we need to maven publish RC artifacts too? or only the final release? 
   
   And what exact commands need to be used for this?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2979207877


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool
+shasum -c 512 polaris-tool-x.y.z.tar.gz > polaris-tool-x.y.z.tar.gz.sha512
+gpg --armor --output polaris-tool-x.y.z.tar.gz.asc --detach-sig polaris-tool-x.y.z.tar.gz
+```
+
+The Polaris Tool usually provide a command to create a binary distribution.
+
+Now, you can stage the distribution artifacts (source and binary) to dist dev repository:
+
+```
+svn checkout https://dist.apache.org/repos/dist/dev/incubator/polaris polaris-dist-dev
+cd polaris-dist-dev
+mkdir tool/x.y.z
+cp [distribution] tool/x.y.z
+svn add tool/x.y.z
+```
+
+### Build and stage Maven artifacts
+
+If applicable to the Polaris Tool you are releasing, you can publish the Maven artifacts on a Nexus staging repository.
+
+### Start the vote thread
+
+```
+Subject: [VOTE] Release Apache Polaris Tool x.y.z (rci)
+
+Hi everyone,
+
+I propose that we release the following RC as the official
+Apache Polaris Tool x.y.z release.
+
+* This corresponds to the tag: apache-polaris-tool-x.y.z-rci
+* https://github.com/apache/polaris-tool/commits/apache-polaris-tool-x.y.z-rci
+* https://github.com/apache/polaris-tool/tree/<SHA1>
+
+The release tarball, signature, and checksums are here:
+* https://dist.apache.org/repos/dist/dev/incubator/polaris/tool/x.y.z
+
+You can find the KEYS file here:
+* https://downloads.apache.org/incubator/polaris/KEYS
+
+Convenience binary artifacts are staged on Nexus. The Maven
+repositories URLs are:
+* https://repository.apache.org/content/repositories/orgapachepolaris-<ID>/
+
+Please download, verify, and test.
+
+Please vote in the next 72 hours.
+
+[ ] +1 Release this as Apache Polaris Tool x.y.z
+[ ] +0
+[ ] -1 Do not release this because...
+
+Only PPMC members and mentors have binding votes, but other community
+members are
+encouraged to cast non-binding votes. This vote will pass if there are
+3 binding +1 votes and more binding +1 votes than -1 votes.
+
+NB: if this vote passes, a new vote has to be started on the Incubator
+general mailing
+list.
+```
+
+When a candidate is passed or rejected, reply with the vote result:
+
+```
+[RESULT][VOTE] Release Apache Polaris Tool x.y.z (rci)
+```
+
+```
+Thanks everyone who participated in the vote for Release Apache Polaris Tool x.y.z (rci).
+
+The vote result is:
+
++1: a (binding), b (non-binding)
++0: c (binding), d (non-binding)
+-1: e (binding), f (non-binding)
+
+A new vote is starting in the Apache Incubator general mailing list.
+```
+
+### Start a new vote on the Incubator general mailing list
+
+As Polaris is an Apache Incubator project, you now have to start a new vote on the Apache Incubator general mailing list.
+
+You have to send this email to general@incubator.apache.org:
+
+```
+[VOTE] Release Apache Polaris Tool x.y.z (rci)
+```
+
+```
+Hello everyone,
+
+The Apache Polaris community has voted and approved the release of Apache Polaris Tool x.y.z (rci).
+We now kindly request the IPMC members review and vote for this release.
+
+Polaris community vote thread:
+* https://lists.apache.org/thread/<VOTE THREAD>
+
+Vote result thread:
+* https://lists.apache.org/thread/<VOTE RESULT>
+
+The release candidate:
+* https://dist.apache.org/repos/dist/dev/incubator/polaris/tool/x.y.z
+
+Git tag for the release:
+* https://github.com/apache/polaris-tool/releases/tag/apache-polaris-tool-x.y.z-rci
+
+Git commit for the release:
+* https://github.com/apache/polaris-tool/commit/<COMMIT>
+
+Maven staging repository:
+* https://repository.apache.org/content/repositories/orgapachepolaris-<ID>/
+
+Please download, verify and test.
+
+Please vote in the next 72 hours.
+
+[ ] +1 approve
+[ ] +0 no opinion
+[ ] -1 disapprove with the reason
+
+To learn more about apache Polaris, please see https://polaris.apache.org/
+
+Checklist for reference:
+
+[ ] Download links are valid.
+[ ] Checksums and signatures.
+[ ] LICENSE/NOTICE files exist
+[ ] No unexpected binary files
+[ ] All source files have ASF headers
+[ ] Can compile from source
+```
+
+Binding votes are the votes from the IPMC members. Similar to the previous vote, send the result on the Incubator general mailing list:
+
+```
+[RESULT][VOTE] Release Apache Polaris Tool x.y.z (rci)
+```
+
+```
+Hi everyone,
+
+This vote passed with the following result:
+
+
+```
+
+## Finishing the release

Review Comment:
   what about [ANNOUNCE] email? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2664619731


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,335 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Setup
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool
+shasum -c 512 polaris-tool-x.y.z.tar.gz > polaris-tool-x.y.z.tar.gz.sha512
+gpg --armor --output polaris-tool-x.y.z.tar.gz.asc --detach-sig polaris-tool-x.y.z.tar.gz
+```
+
+The Polaris Tool usually provide a command to create a binary distribution.
+
+Now, you can stage the distribution artifacts (source and binary) to dist dev repository:
+
+```
+svn checkout https://dist.apache.org/repos/dist/dev/incubator/polaris polaris-dist-dev
+cd polaris-dist-dev
+mkdir tool/x.y.z
+cp [distribution] tool/x.y.z
+svn add tool/x.y.z
+```
+
+### Build and stage Maven artifacts
+
+If applicable to the Polaris Tool you are releasing, you can publish the Maven artifacts on a Nexus staging repository.
+
+### Start the vote thread
+
+```
+Subject: [VOTE] Release Apache Polaris Tool x.y.z (rci)
+
+Hi everyone,
+
+I propose that we release the following RC as the official
+Apache Polaris Tool x.y.z release.
+
+* This corresponds to the tag: apache-polaris-tool-x.y.z-rci
+* https://github.com/apache/polaris-tool/commits/apache-polaris-tool-x.y.z-rci
+* https://github.com/apache/polaris-tool/tree/<SHA1>
+
+The release tarball, signature, and checksums are here:
+* https://dist.apache.org/repos/dist/dev/incubator/polaris/tool/x.y.z
+
+You can find the KEYS file here:
+* https://downloads.apache.org/incubator/polaris/KEYS
+
+Convenience binary artifacts are staged on Nexus. The Maven
+repositories URLs are:
+* https://repository.apache.org/content/repositories/orgapachepolaris-<ID>/
+
+Please download, verify, and test.
+
+Please vote in the next 72 hours.
+
+[ ] +1 Release this as Apache Polaris Tool x.y.z
+[ ] +0
+[ ] -1 Do not release this because...
+
+Only PPMC members and mentors have binding votes, but other community
+members are
+encouraged to cast non-binding votes. This vote will pass if there are
+3 binding +1 votes and more binding +1 votes than -1 votes.
+
+NB: if this vote passes, a new vote has to be started on the Incubator
+general mailing
+list.
+```
+
+When a candidate is passed or rejected, reply with the vote result:
+
+```
+[RESULT][VOTE] Release Apache Polaris Tool x.y.z (rci)
+```
+
+```
+Thanks everyone who participated in the vote for Release Apache Polaris Tool x.y.z (rci).
+
+The vote result is:
+
++1: a (binding), b (non-binding)
++0: c (binding), d (non-binding)
+-1: e (binding), f (non-binding)
+
+A new vote is starting in the Apache Incubator general mailing list.
+```
+
+### Start a new vote on the Incubator general mailing list
+
+As Polaris is an Apache Incubator project, you now have to start a new vote on the Apache Incubator general mailing list.
+
+You have to send this email to general@incubator.apache.org:
+
+```
+[VOTE] Release Apache Polaris Tool x.y.z (rci)
+```
+
+```
+Hello everyone,
+
+The Apache Polaris community has voted and approved the release of Apache Polaris Tool x.y.z (rci).
+We now kindly request the IPMC members review and vote for this release.
+
+Polaris community vote thread:
+* https://lists.apache.org/thread/<VOTE THREAD>
+
+Vote result thread:
+* https://lists.apache.org/thread/<VOTE RESULT>
+
+The release candidate:
+* https://dist.apache.org/repos/dist/dev/incubator/polaris/tool/x.y.z
+
+Git tag for the release:
+* https://github.com/apache/polaris-tool/releases/tag/apache-polaris-tool-x.y.z-rci
+
+Git commit for the release:
+* https://github.com/apache/polaris-tool/commit/<COMMIT>
+
+Maven staging repository:
+* https://repository.apache.org/content/repositories/orgapachepolaris-<ID>/
+
+Please download, verify and test.

Review Comment:
   Good point. Let me add it. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "snazy (via GitHub)" <gi...@apache.org>.
snazy commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2664644469


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool

Review Comment:
   Note the proposal to use `apach-polaris-tool-` as the tarball name prefix.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2665099931


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,335 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Setup
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci

Review Comment:
   Could you emphasize it somehow? Maybe `apache-polaris-<TOOL>-x.y.z-rci`? I imagine with the lower case "tool" readers might treat it as a literal example :thinking: 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "snazy (via GitHub)" <gi...@apache.org>.
snazy commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2664608320


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,335 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Setup

Review Comment:
   ```suggestion
   ## Prerequisites
   ```



##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,335 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Setup
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+

Review Comment:
   ```suggestion
   
   ## Identify the tool
   
   The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
   Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
   
   ```



##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,335 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Setup
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool
+shasum -c 512 polaris-tool-x.y.z.tar.gz > polaris-tool-x.y.z.tar.gz.sha512
+gpg --armor --output polaris-tool-x.y.z.tar.gz.asc --detach-sig polaris-tool-x.y.z.tar.gz
+```
+
+The Polaris Tool usually provide a command to create a binary distribution.
+
+Now, you can stage the distribution artifacts (source and binary) to dist dev repository:
+
+```
+svn checkout https://dist.apache.org/repos/dist/dev/incubator/polaris polaris-dist-dev
+cd polaris-dist-dev
+mkdir tool/x.y.z
+cp [distribution] tool/x.y.z
+svn add tool/x.y.z
+```
+
+### Build and stage Maven artifacts
+
+If applicable to the Polaris Tool you are releasing, you can publish the Maven artifacts on a Nexus staging repository.
+
+### Start the vote thread
+
+```
+Subject: [VOTE] Release Apache Polaris Tool x.y.z (rci)
+
+Hi everyone,
+
+I propose that we release the following RC as the official
+Apache Polaris Tool x.y.z release.
+
+* This corresponds to the tag: apache-polaris-tool-x.y.z-rci
+* https://github.com/apache/polaris-tool/commits/apache-polaris-tool-x.y.z-rci
+* https://github.com/apache/polaris-tool/tree/<SHA1>
+
+The release tarball, signature, and checksums are here:
+* https://dist.apache.org/repos/dist/dev/incubator/polaris/tool/x.y.z
+
+You can find the KEYS file here:
+* https://downloads.apache.org/incubator/polaris/KEYS
+
+Convenience binary artifacts are staged on Nexus. The Maven
+repositories URLs are:
+* https://repository.apache.org/content/repositories/orgapachepolaris-<ID>/
+
+Please download, verify, and test.
+
+Please vote in the next 72 hours.
+
+[ ] +1 Release this as Apache Polaris Tool x.y.z
+[ ] +0
+[ ] -1 Do not release this because...
+
+Only PPMC members and mentors have binding votes, but other community
+members are
+encouraged to cast non-binding votes. This vote will pass if there are
+3 binding +1 votes and more binding +1 votes than -1 votes.
+
+NB: if this vote passes, a new vote has to be started on the Incubator
+general mailing
+list.
+```
+
+When a candidate is passed or rejected, reply with the vote result:
+
+```
+[RESULT][VOTE] Release Apache Polaris Tool x.y.z (rci)
+```
+
+```
+Thanks everyone who participated in the vote for Release Apache Polaris Tool x.y.z (rci).
+
+The vote result is:
+
++1: a (binding), b (non-binding)
++0: c (binding), d (non-binding)
+-1: e (binding), f (non-binding)
+
+A new vote is starting in the Apache Incubator general mailing list.
+```
+
+### Start a new vote on the Incubator general mailing list
+
+As Polaris is an Apache Incubator project, you now have to start a new vote on the Apache Incubator general mailing list.
+
+You have to send this email to general@incubator.apache.org:
+
+```
+[VOTE] Release Apache Polaris Tool x.y.z (rci)
+```
+
+```
+Hello everyone,
+
+The Apache Polaris community has voted and approved the release of Apache Polaris Tool x.y.z (rci).
+We now kindly request the IPMC members review and vote for this release.
+
+Polaris community vote thread:
+* https://lists.apache.org/thread/<VOTE THREAD>
+
+Vote result thread:
+* https://lists.apache.org/thread/<VOTE RESULT>
+
+The release candidate:
+* https://dist.apache.org/repos/dist/dev/incubator/polaris/tool/x.y.z
+
+Git tag for the release:
+* https://github.com/apache/polaris-tool/releases/tag/apache-polaris-tool-x.y.z-rci
+
+Git commit for the release:
+* https://github.com/apache/polaris-tool/commit/<COMMIT>
+
+Maven staging repository:
+* https://repository.apache.org/content/repositories/orgapachepolaris-<ID>/
+
+Please download, verify and test.

Review Comment:
   Need a page on the web site on how to _validate_ a tool release candidate.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2690330220


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.

Review Comment:
   Please add incubating in each step or syntax. I just followed the steps and totally forgot incubating. Now, I need to recreate the tag or redo whole process :face



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2690226059


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:

Review Comment:
   tags are created for entire repo (not for individual folder). If so, source release should include the entire tag or just the subfolder? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2694775026


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool

Review Comment:
   linking the Robert's thought for this. 
   
   https://github.com/apache/polaris/pull/3359/#issuecomment-3755078255



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2979405902


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool
+shasum -c 512 polaris-tool-x.y.z.tar.gz > polaris-tool-x.y.z.tar.gz.sha512
+gpg --armor --output polaris-tool-x.y.z.tar.gz.asc --detach-sig polaris-tool-x.y.z.tar.gz
+```
+
+The Polaris Tool usually provide a command to create a binary distribution.
+
+Now, you can stage the distribution artifacts (source and binary) to dist dev repository:
+
+```
+svn checkout https://dist.apache.org/repos/dist/dev/incubator/polaris polaris-dist-dev
+cd polaris-dist-dev
+mkdir tool/x.y.z
+cp [distribution] tool/x.y.z
+svn add tool/x.y.z
+```
+
+### Build and stage Maven artifacts
+
+If applicable to the Polaris Tool you are releasing, you can publish the Maven artifacts on a Nexus staging repository.
+
+### Start the vote thread
+
+```
+Subject: [VOTE] Release Apache Polaris Tool x.y.z (rci)
+
+Hi everyone,
+
+I propose that we release the following RC as the official
+Apache Polaris Tool x.y.z release.
+
+* This corresponds to the tag: apache-polaris-tool-x.y.z-rci
+* https://github.com/apache/polaris-tool/commits/apache-polaris-tool-x.y.z-rci
+* https://github.com/apache/polaris-tool/tree/<SHA1>
+
+The release tarball, signature, and checksums are here:
+* https://dist.apache.org/repos/dist/dev/incubator/polaris/tool/x.y.z
+
+You can find the KEYS file here:
+* https://downloads.apache.org/incubator/polaris/KEYS
+
+Convenience binary artifacts are staged on Nexus. The Maven
+repositories URLs are:
+* https://repository.apache.org/content/repositories/orgapachepolaris-<ID>/
+
+Please download, verify, and test.
+
+Please vote in the next 72 hours.
+
+[ ] +1 Release this as Apache Polaris Tool x.y.z
+[ ] +0
+[ ] -1 Do not release this because...
+
+Only PPMC members and mentors have binding votes, but other community
+members are
+encouraged to cast non-binding votes. This vote will pass if there are
+3 binding +1 votes and more binding +1 votes than -1 votes.
+
+NB: if this vote passes, a new vote has to be started on the Incubator
+general mailing
+list.
+```
+
+When a candidate is passed or rejected, reply with the vote result:
+
+```
+[RESULT][VOTE] Release Apache Polaris Tool x.y.z (rci)
+```
+
+```
+Thanks everyone who participated in the vote for Release Apache Polaris Tool x.y.z (rci).
+
+The vote result is:
+
++1: a (binding), b (non-binding)
++0: c (binding), d (non-binding)
+-1: e (binding), f (non-binding)
+
+A new vote is starting in the Apache Incubator general mailing list.
+```
+
+### Start a new vote on the Incubator general mailing list
+
+As Polaris is an Apache Incubator project, you now have to start a new vote on the Apache Incubator general mailing list.
+
+You have to send this email to general@incubator.apache.org:
+
+```
+[VOTE] Release Apache Polaris Tool x.y.z (rci)
+```
+
+```
+Hello everyone,
+
+The Apache Polaris community has voted and approved the release of Apache Polaris Tool x.y.z (rci).
+We now kindly request the IPMC members review and vote for this release.
+
+Polaris community vote thread:
+* https://lists.apache.org/thread/<VOTE THREAD>
+
+Vote result thread:
+* https://lists.apache.org/thread/<VOTE RESULT>
+
+The release candidate:
+* https://dist.apache.org/repos/dist/dev/incubator/polaris/tool/x.y.z
+
+Git tag for the release:
+* https://github.com/apache/polaris-tool/releases/tag/apache-polaris-tool-x.y.z-rci
+
+Git commit for the release:
+* https://github.com/apache/polaris-tool/commit/<COMMIT>
+
+Maven staging repository:
+* https://repository.apache.org/content/repositories/orgapachepolaris-<ID>/
+
+Please download, verify and test.
+
+Please vote in the next 72 hours.
+
+[ ] +1 approve
+[ ] +0 no opinion
+[ ] -1 disapprove with the reason
+
+To learn more about apache Polaris, please see https://polaris.apache.org/
+
+Checklist for reference:
+
+[ ] Download links are valid.
+[ ] Checksums and signatures.
+[ ] LICENSE/NOTICE files exist
+[ ] No unexpected binary files
+[ ] All source files have ASF headers
+[ ] Can compile from source
+```
+
+Binding votes are the votes from the IPMC members. Similar to the previous vote, send the result on the Incubator general mailing list:
+
+```
+[RESULT][VOTE] Release Apache Polaris Tool x.y.z (rci)
+```
+
+```
+Hi everyone,
+
+This vote passed with the following result:
+
+
+```
+
+## Finishing the release

Review Comment:
   Yes, good point. Post release items (announce emails, website update, ...) should be mentioned here. I will.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #3359:
URL: https://github.com/apache/polaris/pull/3359#issuecomment-4107554914

   This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2691244762


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci

Review Comment:
   I am assuming RC starts from 0. If not maybe better mention the version guidelines. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #3359:
URL: https://github.com/apache/polaris/pull/3359#issuecomment-3906100190

   This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2694763513


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool

Review Comment:
   > Since we are creating the tag at `polaris-tool` directory level, not at individual tool level. We should be be delivering source code of other tools also in this zip?That doesn't sound right. we need to rethink on this?
   
   I only used subdirectory. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2694440549


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool
+shasum -c 512 polaris-tool-x.y.z.tar.gz > polaris-tool-x.y.z.tar.gz.sha512
+gpg --armor --output polaris-tool-x.y.z.tar.gz.asc --detach-sig polaris-tool-x.y.z.tar.gz
+```
+
+The Polaris Tool usually provide a command to create a binary distribution.
+
+Now, you can stage the distribution artifacts (source and binary) to dist dev repository:
+
+```
+svn checkout https://dist.apache.org/repos/dist/dev/incubator/polaris polaris-dist-dev
+cd polaris-dist-dev
+mkdir tool/x.y.z
+cp [distribution] tool/x.y.z
+svn add tool/x.y.z
+```
+
+### Build and stage Maven artifacts

Review Comment:
   Do we need to maven publish RC artifacts too? or only the final release? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2694440549


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool
+shasum -c 512 polaris-tool-x.y.z.tar.gz > polaris-tool-x.y.z.tar.gz.sha512
+gpg --armor --output polaris-tool-x.y.z.tar.gz.asc --detach-sig polaris-tool-x.y.z.tar.gz
+```
+
+The Polaris Tool usually provide a command to create a binary distribution.
+
+Now, you can stage the distribution artifacts (source and binary) to dist dev repository:
+
+```
+svn checkout https://dist.apache.org/repos/dist/dev/incubator/polaris polaris-dist-dev
+cd polaris-dist-dev
+mkdir tool/x.y.z
+cp [distribution] tool/x.y.z
+svn add tool/x.y.z
+```
+
+### Build and stage Maven artifacts

Review Comment:
   Do we need to stage RC artifacts too? or only the final release? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2691128579


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool
+shasum -c 512 polaris-tool-x.y.z.tar.gz > polaris-tool-x.y.z.tar.gz.sha512

Review Comment:
   -a instead of -c? 
   
   I got empty file for using -c



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2663052940


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,335 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Setup
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci

Review Comment:
   I guess, we're going to release each tool (sub-module) individually, right? Does "tool" in the tag/branch names stand for the actual tool name (e.g. `catalog-migrator`)? 



##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,335 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide

Review Comment:
   Are these aliases correct? Copy-paste mistake perhaps? 🤔 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2665013086


##########
site/content/community/release-guides/_index.md:
##########
@@ -43,3 +43,6 @@ The [manual release guide](manual-release-guide/) walks through each step of cre
 
 ### Release Verification Guide
 The [release verification guide](release-verification-guide/) provides instructions for verifying an Apache Polaris release, like verifying checksums and signatures, ensuring release artifacts integrity, ...
+
+### Polaris Tools Releqse Guide

Review Comment:
   ```suggestion
   ### Polaris Tools Release Guide
   ```



##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:

Review Comment:
   Is there a guidelines for the release version. 
   
   What should be the first release version of catalog migrator? 0.0.1? 



##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community

Review Comment:
   insert new line before



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2663822462


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,335 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide

Review Comment:
   Yes, good catch. Let me fix that.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "snazy (via GitHub)" <gi...@apache.org>.
snazy commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2664640473


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool

Review Comment:
   Should add `--mtime="1980-02-01 00:00:00"` to the tar and delegate compression to a separate `gzip` invocation using `gzip -6 --no-name` for somewhat better reproducibility.
   A much better way that also eliminates the use of `git clean` is:
   ```
   git archive \
     --prefix="${tool_base_name}/" \
     --format=tar \
     --mtime="1980-02-01 00:00:00" \
     HEAD \
     tool| gzip -6 --no-name > "apache-polaris-tool-x.y.z.tar.gz"
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2694416840


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool
+shasum -c 512 polaris-tool-x.y.z.tar.gz > polaris-tool-x.y.z.tar.gz.sha512
+gpg --armor --output polaris-tool-x.y.z.tar.gz.asc --detach-sig polaris-tool-x.y.z.tar.gz
+```
+
+The Polaris Tool usually provide a command to create a binary distribution.
+
+Now, you can stage the distribution artifacts (source and binary) to dist dev repository:
+
+```
+svn checkout https://dist.apache.org/repos/dist/dev/incubator/polaris polaris-dist-dev
+cd polaris-dist-dev
+mkdir tool/x.y.z
+cp [distribution] tool/x.y.z
+svn add tool/x.y.z

Review Comment:
   Should do svn commit after this?  with commit message like 
   
   "Stage Apache Polaris iceberg-catalog-migrator-1.0.0-incubating release"



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2694440549


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool
+shasum -c 512 polaris-tool-x.y.z.tar.gz > polaris-tool-x.y.z.tar.gz.sha512
+gpg --armor --output polaris-tool-x.y.z.tar.gz.asc --detach-sig polaris-tool-x.y.z.tar.gz
+```
+
+The Polaris Tool usually provide a command to create a binary distribution.
+
+Now, you can stage the distribution artifacts (source and binary) to dist dev repository:
+
+```
+svn checkout https://dist.apache.org/repos/dist/dev/incubator/polaris polaris-dist-dev
+cd polaris-dist-dev
+mkdir tool/x.y.z
+cp [distribution] tool/x.y.z
+svn add tool/x.y.z
+```
+
+### Build and stage Maven artifacts

Review Comment:
   
   What exact commands need to be used for this?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2694763513


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.
+
+## Prerequisites
+
+To create a release candidate, you will need:
+
+* your Apache credentials (for repository.apache.org and dist.apache.org repositories)
+* a [GPG key](https://www.apache.org/dev/release-signing#generate) for signing artifacts, published in [KEYS](https://downloads.apache.org/incubator/polaris/KEYS) file
+
+### Publish your GPG key
+
+If you haven't published your GPG key yet, you must publish it before starting the release process:
+
+```
+svn checkout https://dist.apache.org/repos/dist/release/incubator/polaris polaris-dist-release
+cd polaris-dist-release
+echo "" >> KEYS # append a new line
+gpg --list-sigs <YOUR KEY ID HERE> >> KEYS # append signatures
+gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
+svn commit -m "add key for <YOUR NAME HERE>"
+```
+
+To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
+```
+gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
+```
+
+### Dist repository
+
+The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
+
+* `dev` is where you stage the source distribution and other user convenient artifacts (distributions, helm charts, ...)
+* `release` is where the artifacts will be copied when the release vote passed
+
+Apache dist is a svn repository, you need your Apache credentials to commit there.
+
+### Maven repository
+
+Apache uses Nexus as Maven repository (repository.apache.org) where releases are staged (during vote) and copied to Maven Central when the release vote passed.
+
+You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
+
+```
+apacheUsername=yourApacheId
+apachePassword=yourPassword
+```
+
+Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
+
+```
+export ORG_GRADLE_PROJECT_apacheUsername=yourApacheId
+export ORG_GRADLE_PROJECT_apachePassword=bar
+```
+
+### PGP signing
+
+During release process, the artifacts will be signed with your key, using `gpg-agent`.
+
+To configure gradle to sign the artifacts, you can add the following settings in your `~/.gradle/gradle.properties` file:
+
+```
+signing.gnupg.keyName=Your Key Name
+``` 
+
+To use `gpg` instead of `gpg2`, also set `signing.gnupg.executable=gpg`.
+
+For more information, see the Gradle [signing documentation](https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials).
+
+### GitHub Repository
+
+The release should be executed against https://github.com/apache/polaris-tools.git repository (not a fork).
+Set it as remote with name `apache` for release if it's not already set up.
+
+## Creating a release candidate
+
+## Identify the tool
+
+The name of the tool used in Git branches and tags is equal to the name of the directory of the tool in the Git source tree. For example, a release of the Polaris Console (web UI) uses `console` (e.g. `release/console/1.2.3`, and the Iceberg Catalog Migrator uses `iceberg-catalog-migrator`.
+Replace every reference to `tool` in the following branch tag names with the directory of the tool in the Git source tree.
+### Initiate a discussion about the release with the community
+
+This step can be useful to gather ongoing patches that the community thinks should be in the upcoming Polaris Tool release.
+
+The communication can be started via a `[DISCUSS]` mail on the dev@polaris.apache.org mailing list and the desired tickets can be added to the github milestone of the next release, specifically on the Polaris Tool you plan to release.
+
+Note, creating a milestone in github requires a committer.
+Also note since Polaris is an incubating project, make sure what every branch / tag you are creating is suffixed with `-incubating`.
+
+### Create Polaris Tool release branch
+
+If it's the first RC for the release, you have to create a release branch:
+
+```
+git branch release/tool/x.y.z
+git push apache release/tool/x.y.z
+```
+
+Go in the branch:
+
+```
+git checkout release/tool/x.y.z
+```
+
+Do the needed modifications according to the Polaris Tool (version bump in `version.txt`, ...) and push the changes on the branch.
+
+### Create release tag
+
+On the release release branch, you create a tag for the RC:
+
+```
+git tag apache-polaris-tool-x.y.z-rci
+git push apache apache-polaris-tool-x.y.z-rci
+```
+
+Switch to the tag:
+
+```
+git checkout apache-polaris-tool-x.y.z-rci
+```
+
+### Verify the build pass
+
+This is an optional step, but good to do. It also depends of the tool (each tool might have a different build logic).
+
+### Build and stage the distributions
+
+If the Polaris Tool you are releasing contains a specific logic (gradle task, script, ...) to create the source distribution, you should use it.
+
+Else, you can create the source distribution directly on the repository.
+
+First cleanup the repository (to be sure we don't have previous build generated file):
+
+```
+git clean -fdx
+```
+
+Now, you can create the archive to the source distribution:
+
+```
+tar zcvf polaris-tool-x.y.z.tar.gz tool

Review Comment:
   Since we are creating the tag at `polaris-tool` directory level, not at individual tool level. We should be be delivering source code of other tools also in this zip?That doesn't sound right. we need to rethink on this?
   
   I only used subdirectory. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Quick guide for Polaris Tool manual release [polaris]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #3359:
URL: https://github.com/apache/polaris/pull/3359#discussion_r2690074411


##########
site/content/community/release-guides/tools-manual-release-guide.md:
##########
@@ -0,0 +1,339 @@
+---
+#
+# 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.
+#
+linkTitle: Polaris Tools Manual Release Guide
+title: Polaris Tools Manual Release Guide
+type: docs
+weight: 200
+aliases:
+  - /release-guide
+  - /community/release-guide
+---
+
+**Audience**: Release Managers
+
+This guide walks you through the process of **creating** a release for a Polaris Tool. The guide uses `iceberg-catalog-migrator` as an example.

Review Comment:
   I checked there is no mention of Iceberg catalog migrator in the examples or steps. 
   
   we are referring as 'tool' in generic. So, this sentance is invalid? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org