[Bug] `sign` breaks on multi-team accounts
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 50/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Rust
- Star
- 3.4k
- Fork
- 224
- Merge trung bình
- 34 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của claration/impactor
-
Extensions inside an embedded watch app are not renamed or signed (AppexBundleIDNotPrefixed)Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 72/100
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 50/100
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
-
[Bug] Unable to openĐang mởbug
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 35/100
-
[Feature] Add local AnisetteĐang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Tất cả issue của claration/impactor
Issue tương tự
-
claim
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Nixitov/Riptide-Native#946 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: ai-assistants documentation help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
BetaBots-LLC/latticegate#17 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 94/100
storytold/craft-libs#5594 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
听歌识曲历史跳转后对应音源界面无法返回Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
LingyunStudio/RustMusic#16 ·