fresh-borzoni commented on code in PR #282: URL: https://github.com/apache/fluss-rust/pull/282#discussion_r2779168273
########## docs/verifying-a-release-candidate.md: ########## @@ -0,0 +1,142 @@ +<!-- + 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. +--> + +# How to Verify a Release Candidate + +This document describes how to verify a release candidate (RC) of the **Fluss clients** (fluss-rust, fluss-python, fluss-cpp) from the [fluss-rust](https://github.com/apache/fluss-rust) repository. It is intended for anyone participating in the release vote (binding or non-binding) and is based on [Verifying a Fluss Release](https://fluss.apache.org/community/how-to-release/verifying-a-fluss-release/) of the Apache Fluss project, adapted for the fluss-rust source distribution and tooling (Rust, Python, C++). + +## Validating distributions + +The release vote email includes links to: + +- **Distribution archive:** source tarball (`fluss-rust-${RELEASE_VERSION}-incubating.tar.gz`) on [dist.apache.org dev](https://dist.apache.org/repos/dist/dev/incubator/fluss/) +- **Signature file:** `fluss-rust-${RELEASE_VERSION}-incubating.tar.gz.asc` +- **Checksum file:** `fluss-rust-${RELEASE_VERSION}-incubating.tar.gz.sha512` +- **KEYS file:** [https://downloads.apache.org/incubator/fluss/KEYS](https://downloads.apache.org/incubator/fluss/KEYS) + +Download the archive, `.asc`, and `.sha512` from the RC directory (e.g. `fluss-rust-0.1.0-rc1/`) and the KEYS file. Then follow the steps below to verify signatures and checksums. + +## Verifying signatures + +First, import the keys into your local keyring: + +```bash +curl https://downloads.apache.org/incubator/fluss/KEYS -o KEYS +gpg --import KEYS +``` + +Next, verify all `.asc` files: + +```bash +for i in *.tgz; do echo $i; gpg --verify $i.asc $i; done Review Comment: @luoyuxia PTAL -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
