Add detection of CODEOWNERS
paths that are missing suffix slash; add support for diffing to CODEOWNERS
version with some paths removed; add tools for analyzing azure-sdk-for-python CODEOWNERS
.
#5245
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR context
This PR is done in preparation to enable the new regex-based wildcard-supporting
CODEOWNERS
matcher forazure-sdk-for-python
language repository.It is a continuation of work done by this PR:
This PR provides information required to make a PR analogous to this one, but for
azure-sdk-for-python
repo:This PR is a prerequisite to enabling the new matcher on
azure-sdk-for-python
, in similar way as this PR does:azure-sdk-for-net
repo #5241Thus, overall, this PR contributes to:
Changes made
CODEOWNERS
paths that are missing suffix slash, i.e. paths that would match a directory in the repository if they would have the suffix/
. Because they don't, and the directory exists, such paths currently won't ever match anything.CODEOWNERS
owners to its equivalent with some paths removed. This is used to determine how build failure notification recipients will change when/**/ci.yml
and/**/tests.yml
paths are removed, similarly as it was done here:/**/ci.yml
and/**/tests.yml
azure-sdk-for-net#33595CODEOWNERS
information forazure-sdk-for-python
: both paths that are missing suffix slashes, as well as expected changes to build failure notification recipients when/**/ci.yml
and/**/tests.yml
paths are removed.