microsoft / microsoft/azure-devops-python-api
Expose `GitRepository` attribute `is_disabled` to be able to disable the repo with the SDK and the Azure CLI
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 684
- 分支
- 218
- 平均合併
- 8 天 10 小時
- 30 天內合併 PR
- 1
描述
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
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先找出 Python API 中的 GitRepository 模型和 repository 更新操作,然後將它們公開的欄位與 issue 中連結的 Azure DevOps REST API 文件進行比較。確認 is_disabled 的表示方式,以及更新要求的建構方式。當 SDK 能在更新 repository 時設定這個屬性,從而啟用所述的 Azure CLI 驗證流程時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- azure, python
- 領域
- api
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100