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

Open
#505 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
684
Forks
218
Avg merge
8d 10h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the GitRepository model and the repository update operation in the Python API, then compare their exposed fields with the Azure DevOps REST API documentation linked in the issue. Verify how is_disabled is represented and how the update request is built. Done means the SDK can set this property when updating a repository, enabling the stated Azure CLI authentication flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.