Azure / Azure/azure-devops-cli-extension

parentRepository is always incorrectly returned as 'null'

Open
#1,317 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
682
Forks
278
Avg merge
3d 23h
Merged PRs (30d)
3

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug
In using the CLI to determine which of our repos are forked from a template, the azure cli incorrectly returns null as parentRepository for every repo in our org/project.

**Command Name**
`az repos list
Extension Name: azure-devops. Version: 0.25.0.`

**Errors:**
```

```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- _Put any pre-requisite steps here..._
- `az repos list --organization {} --project {} --query {}`

## Expected Behavior

I would expect parentRepository to be populated with information for repos we know are forks and we know are children of a parent.

## Environment Summary
```
Windows-10-10.0.19044-SP0
Python 3.10.5
Installer: MSI

azure-cli 2.41.0 *

Extensions:
azure-devops 0.25.0
datafactory 0.6.0

Dependencies:
msal 1.20.0b1
azure-mgmt-resource 21.1.0b1
```
## Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.