microsoft / microsoft/azure-devops-python-api
Renaming and disabling a git repository results on a Bad Request Error
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 684
- Forks
- 218
- Avg merge
- 8d 10h
- Merged PRs (30d)
- 1
Description
This is not an issue with the python sdk for azure devops but for the REST api itself: when using the calls described in https://learn.microsoft.com/en-us/rest/api/azure/devops/git/repositories/update?view=azure-devops-rest-7.1&tabs=HTTP
to rename and disable a repository, I am getting with the api sdk an exception, and with regular requests calls a Bad Request http status code.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Azure DevOps REST API repositories/update documentation linked in the report, then compare the Python SDK request with an equivalent regular HTTP request. Reproduce the Bad Request response for renaming and disabling together; done means identifying a reproducible cause or documenting the required request details and API limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, git, python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100