Expose `GitRepository` attribute `is_disabled` to be able to disable the repo with the SDK and the Azure CLI
還沒有人認領這個 Issue。
評估
研究方向
先找出 Python API 中的 GitRepository 模型和 repository 更新操作,然後將它們公開的欄位與 issue 中連結的 Azure DevOps REST API 文件進行比較。確認 is_disabled 的表示方式,以及更新要求的建構方式。當 SDK 能在更新 repository 時設定這個屬性,從而啟用所述的 Azure CLI 驗證流程時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
Currently this property is just carried along from the corresponding Repository property of the REST API (see e.g. https://learn.microsoft.com/en-us/rest/api/azure/devops/git/repositories/update?view=azure-devops-rest-7.2&tabs=HTTP#request-body)
This makes it impossible to leverage the Azure CLIs authentication flows to execute this operation. This feature would enable a number of downstream consumers, e.g. the Azure DevOps Terraform Provider: https://github.com/microsoft/terraform-provider-azuredevops/issues/1138
- 主要語言
- Python
- 星號
- 684
- 分支
- 218
- 平均合併
- 8 天 10 小時
- 30 天內合併 PR
- 1
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/azure-devops-python-api 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 55/100
-
難度 5/5 一週以上 新手友好度 25/100
-
難度 1/5 1 小時以內 新手友好度 55/100
-
難度 4/5 3-5 天 新手友好度 35/100
-
難度 3/5 1-2 天 新手友好度 45/100
查看 microsoft/azure-devops-python-api 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 90/100
-
bug
難度 2/5 1-3 小時 新手友好度 86/100
zostera/django-bootstrap4#894 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
use-agent-os/agent-os#3276 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
難度 2/5 1-3 小時 新手友好度 88/100
NousResearch/hermes-agent#117848 ·