crew: one-click GitHub App setup (manifest flow, prefilled), pick which orgs/repos it can access
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github, rust
- Lĩnh vực
- authentication, backend-api-design
Hướng nghiên cứu
Start by reading the GitHub integration under Atlas Crew → Settings → GitHub and trace how the current gh login credentials are stored and used. Then map the manifest conversion, webhook setup, installation token, and app installation flows described in the issue to the relevant entry points. Done means users can create and install a scoped GitHub App from Atlas while the existing login remains available.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Today a crew server reaches GitHub through gh signed in as the crew user (device-code login in Atlas Crew → Settings → GitHub). That is a personal login: the crewmates act as that user, with that user's reach, and choosing which organizations and repos the crew may touch means setting things up by hand on GitHub. Creating a GitHub App by hand for the crew (name, permissions, events, webhook URL, keys) is long and easy to get wrong.
Suggestion: one-click GitHub App, created from Atlas
Use GitHub's App manifest flow so the app is created with everything already filled in:
- In Atlas Crew → Settings → GitHub, a Create GitHub App button, with a choice of owner: my account or one of my organizations.
- Atlas opens GitHub's "create app" page with a manifest that already has the name (e.g.
atlas-crew-<server>), the permissions the crew features need (contents, pull requests, issues, checks/actions read, metadata), the events the GitHub automations use (issue comments, issues, pull requests, PR review comments, check runs/workflow runs, releases) and the webhook URL of the crew server's hook server when it is reachable. The user only confirms on GitHub. - GitHub sends back the code; Atlas converts it (
POST /app-manifests/{code}/conversions) and stores the app id, private key and webhook secret on the crew server, as secrets of the crew (never in a repo, never sent to CodeAtlas). - Atlas then opens the app's Install page, where the user picks which organizations and which repos the app gets access to. Changing that later is one link from Atlas Settings.
- Crewmates use short-lived installation tokens from the app for git and the GitHub API, instead of a personal
ghlogin.
Why
- One click instead of a manual app setup.
- Access is scoped by GitHub itself: the owner picks orgs and repos, and can revoke the app at any time.
- Commits, comments and PRs come from a bot identity (
atlas-crew-<server>[bot]), not from the owner's personal account. - With the webhook set, GitHub automations can fire on events instead of polling every 2 minutes.
The current gh login can stay as the simple option.
- Ngôn ngữ chính
- Rust
- Star
- 3
- Fork
- 1
- Merge trung bình
- 9 giờ 51 phút
- Pull request đã merge (30 ngày)
- 310
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 codeatlasdev/atlas
-
type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
codeatlasdev/atlas#597 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: ci os: linux type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
codeatlasdev/atlas#496 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: ci type: bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
codeatlasdev/atlas#596 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
os: linux type: bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
codeatlasdev/atlas#591 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
flaky: Windows scripts job hits test timeouts (check-dco, i18n runner/translate, check-changed)Đang mởarea: ci os: windows type: bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 56/100
codeatlasdev/atlas#550 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của codeatlasdev/atlas
Issue tương tự
-
marketing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
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 74/100
kinqsradio/orbyn-engineering#729 ·
-
Plans page scenario races Shift+Tab against the plan list being drawn again in Firefox and WebKitĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
nledford/Ladderback#1091 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug fix packaging ui user-sprint
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Vondor/KassenSturz#1197 ·
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 82/100
Maintainer thường phản hồi trong vòng 1 ngày