Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Provide a CLI command for updating an app after a grid migration

Aperta
#173 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go
Ambito
cli

Direzione di ricerca

Inizia dagli entry point esistenti slack login e slack deploy, quindi traccia il modo in cui ~/.slack/credentials.json e .slack/apps.json vengono letti e aggiornati. Definisci il comando di migrazione usando un ID app e un ID enterprise, quindi verifica che selezioni il token enterprise, aggiorni la mappatura locale dell'app e abiliti un deploy successivo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
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.
Lingua principale
Go
Stelle
309
Fork
47
Merge medio
13h 46m
PR unite (30g)
14

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di slackapi/slack-cli

Tutte le issue di slackapi/slack-cli

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.