Provide a CLI command for updating an app after a grid migration
まだ誰も着手していません。
評価
調査の方向性
既存のエントリポイント slack login と slack deploy から始め、~/.slack/credentials.json と .slack/apps.json がどのように読み取られ、更新されるかを追跡します。app ID と enterprise ID を中心に移行コマンドを定義し、それが enterprise token を選択し、ローカルの app マッピングを更新し、その後の deploy を可能にすることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Description
Coded workflow (Deno) apps installed to a standalone workspace that later gets migrated to an enterprise grid currently need manual intervention to continue working with the CLI. Maybe we want to add a new command like slack app migrate --app=A1234 --enterprise-id=E12345 that would search their .credentials file for an auth token for that enterprise ID, update their local apps.json and reinstall at the org level
Currently, the manual intervention required is to slack login to the new enterprise team which will save the new auth in your ~/.slack/credentials.json file, then update the local .slack/apps.json file in the project to reflect the new enterprise team ID (app ID remains the same as before the migration). Sample below:
{
"apps": {
"E12345678": {
"app_id": "A12345678",
"enterprise_id": "E12345678",
"team_domain": "my-domain",
"team_id": "T98765432"
}
},
"default": "my-domain"
}
🤞 Run slack deploy and if the contents of .slack/apps.json are valid, you should be able to select the app and re-deploy
Requirements
- I've read and understood the Contributing guidelines and have done my best effort to follow them.
- I've read and agree to the Code of Conduct.
- I've searched for any related issues and avoided creating a duplicate issue.
- 主要言語
- Go
- スター
- 305
- フォーク
- 46
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 23
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
slackapi/slack-cli のほかの issue
-
Installer aborts on an existing same-named `slack` binary; prefer install + warning over hard abort オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
bug build release
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
area:bolt-python bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
build code health
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
enhancement semver:minor
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
slackapi/slack-cli の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
-
enhancement needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
kind/cleanup
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
kubernetes-sigs/kueue#15947 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sympozium-ai/sympozium#627 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100