Enterprise Teams support
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 72/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 冷清
- 技術堆疊
- github, python
研究方向
從 auth.py 中的 _get_installation_id 開始,traceback 顯示安裝帳戶是透過 login 配對的。比較 issue 中描述的 enterprise 帳戶欄位,並驗證 enterprise installation 的安裝權杖產生;當查找不再引發 KeyError 且選取預期的 installation 時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
If using an app which has been installed at an enterprise level, there is a failure is auth.py looking for the account login.
File "/home/shtrom/work/reviewer-selector/src/reviewer_selector/github.py", line 54, in async_generate_github_token
token = await inst_auth.get_token()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/shtrom/work/reviewer-selector/.venv/lib/python3.12/site-packages/simple_github/auth.py", line 200, in get_token
return await anext(self._generator)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/shtrom/work/reviewer-selector/.venv/lib/python3.12/site-packages/simple_github/auth.py", line 13, in anext
return await ait.__anext__()
^^^^^^^^^^^^^^^^^^^^^
File "/home/shtrom/work/reviewer-selector/.venv/lib/python3.12/site-packages/simple_github/auth.py", line 169, in _gen_installation_token
installation_id = await self._get_installation_id()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/shtrom/work/reviewer-selector/.venv/lib/python3.12/site-packages/simple_github/auth.py", line 146, in _get_installation_id
if installation["account"]["login"] == self.owner:
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
KeyError: 'login'
This is because enterprises have an account.slug rather than an account.owner.
- 主要語言
- Python
- 星號
- 3
- 分支
- 8
- 平均合併
- 1 天 3 小時
- 30 天內合併 PR
- 8
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
mozilla-releng/simple-github 的其他 Issue
-
難度 5/5 一週以上 新手友好度 20/100
-
難度 4/5 3-5 天 新手友好度 35/100
-
Handle exceeding Github rate limits可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 5/5 一週以上 新手友好度 35/100
查看 mozilla-releng/simple-github 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 88/100
btclib-org/btclib-node#2198 ·
維護者通常 1 天內回覆
-
Remove the em dashes from the skill smart-account reference可能已有人在做 @Vamsi-2581 今天認領。 未關閉agent-ready area: docs documentation good first issue
難度 2/5 1-3 小時 新手友好度 74/100
Soneso/stellar-agent-wallet#541 · 2 則留言 ·
維護者通常 1 天內回覆
-
good first issue
難度 2/5 1-3 小時 新手友好度 75/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100
sususweet/midea_auto_cloud#285 ·
維護者通常 1 天內回覆
-
2026-11 documentation good first issue gsoc-2027 project: gsoc
難度 2/5 1-3 小時 新手友好度 75/100
alphaonelabs/website#1154 · 1 則留言 ·
維護者通常 1 天內回覆