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

オープン
#505 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
684
フォーク
218
平均マージ
8日 10時間
マージ済み PR(30日)
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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、Python API にある GitRepository モデルとリポジトリの更新操作を探し、issue にリンクされている Azure DevOps REST API のドキュメントと、それらで公開されているフィールドを比較します。is_disabled がどのように表現されているか、また更新リクエストがどのように構築されるかを確認します。SDK がリポジトリの更新時にこのプロパティを設定でき、指定された Azure CLI 認証フローを有効にできれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, python
領域
api
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。