[Bug] `sign` breaks on multi-team accounts
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 50/100
Piste de recherche
Start in the sign command's code path where teams() is called unconditionally, then check the team-ID matching it feeds. The GUI side is store.rs around line 166 and gsa_account.rs around line 62, where teams_response.teams[0] is picked by default. Done means a non-TTY sign on a multi-team account no longer prompts, a --team option is accepted, and the GUI default is either explicit or surfaced to the user; the GUI behaviour needs a maintainer decision first.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Report
I'm assuming given the intended use case this isn't common, but I have multiple teams on one account.
sign calls teams() unconditionally which triggers an interaction on a multi-team account and dies in a non-TTY context.
Adding a --team option to sign to pass a team ID (then using it via match where team_id is set right now) fixes non-TTY use.
On the GUI side (store.rs:166/gsa_account.rs:62):
teams_response.teams[0].team_id.clone()
That makes the GUI default to whatever happens to be first, which in my case also would not be great, it'd pick a professional team for signing. I saw you can set/change the team in settings but there's nothing that tells you it made a default decision and you might want/need to check the setting.
Contributor Checks
- I am willing to attempt to make a pull request to fix this bug
Additional Information
- Developer mode enabled
- Using paid developer account
- I will send an ipa of the app I'm having trouble installing if any
- I'm willing to provide crash logs or debugging information if needed
- Langage dominant
- Rust
- Étoiles
- 3.4k
- Forks
- 224
- Merge moyen
- 34 min
- PR mergées (30 j)
- 2
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de claration/impactor
-
Extensions inside an embedded watch app are not renamed or signed (AppexBundleIDNotPrefixed)Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 72/100
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 50/100
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 42/100
-
[Bug] Unable to openOuvertebug
Difficulté 3/5 Une demi-journée Accessibilité débutants 35/100
-
[Feature] Add local AnisetteOuverteenhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
Toutes les issues de claration/impactor
Issues similaires
-
claim
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Nixitov/Riptide-Native#946 ·
Les mainteneurs répondent en général sous 1 jour
-
area: ai-assistants documentation help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
BetaBots-LLC/latticegate#17 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 94/100
storytold/craft-libs#5594 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
听歌识曲历史跳转后对应音源界面无法返回Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
LingyunStudio/RustMusic#16 ·