Publish columnar-dbc crates with crates.io trusted publishing

オープン
#560 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, rust

調査の方向性

Start by reading scripts/publish_crates.py, release.yml, and RELEASE.md, then review the trusted publishing setup for crates.io and rust-lang/crates-io-auth-action. Configure publishing for all seven named crates, switch the publishing job to short-lived tokens with id-token: write, remove and revoke the registry token, and update the release documentation.

索引モデルが issue の本文から書いたものです。

説明

Follow-up from #549 review. The release workflow publishes the columnar-dbc crates with a CARGO_REGISTRY_TOKEN secret in the production environment.

crates.io requires a crate to exist before trusted publishing can be configured, so after the first release:

  • Configure trusted publishing (GitHub Actions, columnar-tech/dbc, release.yml, environment production) for every published crate: columnar-dbc, columnar-dbc-sys, and the five columnar-dbc-sys-<platform> crates.
  • Switch scripts/publish_crates.py / release.yml to obtain a short-lived token with rust-lang/crates-io-auth-action (needs id-token: write on the publishing job).
  • Delete the CARGO_REGISTRY_TOKEN secret and revoke the token on crates.io.
  • Update RELEASE.md.
主要言語
Go
スター
154
フォーク
15
平均マージ
2日 19時間
マージ済み PR(30日)
38

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

columnar-tech/dbc のほかの issue

columnar-tech/dbc の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。